Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
coreysparks committed Oct 17, 2023
1 parent 72394e7 commit 7d27ac6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f2f92d2d
37375412
Binary file modified ADRF-Onboarding-Handbook.epub
Binary file not shown.
Binary file modified ADRF-Onboarding-Handbook.pdf
Binary file not shown.
19 changes: 18 additions & 1 deletion packages.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,30 @@ <h1 class="title"><span class="chapter-number">10</span>&nbsp; <span class="chap
<h2 class="anchored" data-anchor-id="adding-additional-packages-in-rpython">Adding Additional Packages in R/Python</h2>
<p>The ADRF has an internal package repository, so users can install packages for R and Python themselves.</p>
<p>The repositories that are currently mirrored in the ADRF are <a href="https://cran.r-project.org/">CRAN</a> for R packages and <a href="http://pypi.org/">PyPi.org</a> for Python. There is currently no access to packages hosted on Github or other mirrors.</p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p>If you are working in a shared workspace for a project, each user in the project must install the packages, there is no shared package installation for projects.</p>
</div>
</div>
</section>
<section id="r-packages" class="level2">
<h2 class="anchored" data-anchor-id="r-packages">R packages</h2>
<p>To install R packages, simply type:</p>
<p><code>install.packages("packagename")</code></p>
<p><img src="images/rinstall.png" class="img-fluid"></p>
<p>and the package will be installed from the repository. You will not have to re-install the package again, and to use the package load it with the <code>library()</code> function. For example:</p>
<p><code>library(tidyverse</code>)</p>
<p><code>library(tidyverse)</code></p>
<p>All packages will be installed in your user folder.</p>
<p>To install a specific package version you can specify:</p>
<p><code>install.packages("remotes")</code> <code>remotes::install_version("tidyverse", "1.3.2")</code></p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
Expand Down Expand Up @@ -272,6 +287,8 @@ <h2 class="anchored" data-anchor-id="python-packages">Python packages</h2>
<p>Then you may use the package within your Jupyter notebook as usual.</p>
</div>
</div>
<p>To install a specific package version type</p>
<p><code>pip install pandas==1.2.3</code></p>


</section>
Expand Down
6 changes: 3 additions & 3 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,21 +207,21 @@
"href": "packages.html#adding-additional-packages-in-rpython",
"title": "10  Adding Additional Packages in R/Python",
"section": "Adding Additional Packages in R/Python",
"text": "Adding Additional Packages in R/Python\nThe ADRF has an internal package repository, so users can install packages for R and Python themselves.\nThe repositories that are currently mirrored in the ADRF are CRAN for R packages and PyPi.org for Python. There is currently no access to packages hosted on Github or other mirrors."
"text": "Adding Additional Packages in R/Python\nThe ADRF has an internal package repository, so users can install packages for R and Python themselves.\nThe repositories that are currently mirrored in the ADRF are CRAN for R packages and PyPi.org for Python. There is currently no access to packages hosted on Github or other mirrors.\n\n\n\n\n\n\nNote\n\n\n\nIf you are working in a shared workspace for a project, each user in the project must install the packages, there is no shared package installation for projects."
},
{
"objectID": "packages.html#r-packages",
"href": "packages.html#r-packages",
"title": "10  Adding Additional Packages in R/Python",
"section": "R packages",
"text": "R packages\nTo install R packages, simply type:\ninstall.packages(\"packagename\")\n\nand the package will be installed from the repository. You will not have to re-install the package again, and to use the package load it with the library() function. For example:\nlibrary(tidyverse)\nAll packages will be installed in your user folder.\n\n\n\n\n\n\nNote\n\n\n\nWe recommend starting R using Rstudio for best results, instead of double clicking on a R or Rmarkdown script."
"text": "R packages\nTo install R packages, simply type:\ninstall.packages(\"packagename\")\n\nand the package will be installed from the repository. You will not have to re-install the package again, and to use the package load it with the library() function. For example:\nlibrary(tidyverse)\nAll packages will be installed in your user folder.\nTo install a specific package version you can specify:\ninstall.packages(\"remotes\") remotes::install_version(\"tidyverse\", \"1.3.2\")\n\n\n\n\n\n\nNote\n\n\n\nWe recommend starting R using Rstudio for best results, instead of double clicking on a R or Rmarkdown script."
},
{
"objectID": "packages.html#python-packages",
"href": "packages.html#python-packages",
"title": "10  Adding Additional Packages in R/Python",
"section": "Python packages",
"text": "Python packages\nSimilar to R packages, Python packages may be installed using the Package Installer for Python (pip).\n\n\n\n\n\n\nNote\n\n\n\nWe recommend installing python packages from the command line. If you start Jupyter lab, and choose the Terminal tab:\n\nThen install your package using pip, for example, to install the pandas package:\n\nThen you may use the package within your Jupyter notebook as usual."
"text": "Python packages\nSimilar to R packages, Python packages may be installed using the Package Installer for Python (pip).\n\n\n\n\n\n\nNote\n\n\n\nWe recommend installing python packages from the command line. If you start Jupyter lab, and choose the Terminal tab:\n\nThen install your package using pip, for example, to install the pandas package:\n\nThen you may use the package within your Jupyter notebook as usual.\n\n\nTo install a specific package version type\npip install pandas==1.2.3"
},
{
"objectID": "support.html#technical-support",
Expand Down

0 comments on commit 7d27ac6

Please sign in to comment.