User Tools

Site Tools


r-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
r-software [2019/10/27 13:45] aorthr-software [2019/10/27 15:44] aorth
Line 18: Line 18:
 $ R</code> $ R</code>
  
-Here is a good resource on [[https://www.osc.edu/resources/getting_started/howto/howto_install_local_r_packages|installing R packages into user libraries]].+Use ''installed.packages()'' to check the list of packages installed in the ILRI environment by default. Here is a good resource on [[https://www.osc.edu/resources/getting_started/howto/howto_install_local_r_packages|installing R packages into user libraries]] if you need other packages.
  
 ===== Installation ====== ===== Installation ======
Line 42: Line 42:
 $ make install</code> $ make install</code>
  
-Then install some common libraries used by our users (to save spaceoverhead from tens of thousands of header and library filesand users's time):+Then install some common libraries used by our users because some of them are quite complicatedand installing them globally saves tens of thousands of header files and libraries being installed into user libraries anyways:
  
 +<code>$ export LD_LIBRARY_PATH=/export/apps/gdal/2.4.2/lib
 +> install.packages("BiocManager", repos="https://cran.r-project.org")
 +> install.packages("sf", repo="https://cloud.r-project.org", configure.args=c(sf = "--with-gdal-config=/export/apps/gdal/2.4.2/bin/gdal-config"))
 +> install.packages("poppr", repos="https://cran.r-project.org")
 +> install.packages("vcfR", repos="https://cran.r-project.org")</code>
r-software.txt · Last modified: 2023/07/12 06:39 by aorth