software:r:r

Differences

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

Link to this comparison view

Next revision
Previous revision
software:r:r [2017-10-23 18:04] – created sraskarsoftware:r:r [2021-02-24 16:41] (current) – [Details by clusters] anita
Line 1: Line 1:
-===== Using R =====+====== Using R ======
  
 R is a free software environment for statistical computing and graphics.  The R is a free software environment for statistical computing and graphics.  The
Line 5: Line 5:
 R is a free implementation of the S language. R is a free implementation of the S language.
  
-For details on+==== Running R ====
  
-   * [[software:r:farber|Farber]] 
- 
-==== Learning R ==== 
- 
-Some resources to help learn R are: 
- 
-  * [[http://www.statmethods.net/interface/index.html|Quick-R]] on-line \ 
-    tutorial 
-  * [[http://www.ats.ucla.edu/stat/r/|UCLA idre]] on-line tutorial 
-  * [[http://swirlstats.com/|SWIRL]] interactive tutorial (may not be available by default) 
-  * [[http://www.manning.com/kabacoff/|R in action]] book 
-  * [[http://shop.oreilly.com/product/0636920028352.do|O'Reilly Learning R]] \ 
-    book 
-  * [[http://stackoverflow.com/questions/tagged/r|Stack Overflow]] Questions \ 
-    and Answers 
-     
-==== Transitioning to R ==== 
- 
-An excellent guide for converting SAS(r) and SPSS(r) to R is located at in the 
-[[https://science.nature.nps.gov/im/datamgmt/statistics/R/documents/R_for_SAS_SPSS_users.pdf|R for SAS and SPSS users PDF]] 
-located on the National Parks Service website. 
- 
- 
- 
- 
-==== Running R ==== 
 === Loading R === === Loading R ===
 Checking for available R installations can be done with VALET as such: Checking for available R installations can be done with VALET as such:
Line 50: Line 24:
  
 === Interactive R === === Interactive R ===
-For interactive R sessions, make sure you use ''workgroup'' and ''qlogin'' +For interactive R sessions, make sure you use ''workgroup'' and the appropriate job scheduler command such as ''qlogin'' for GridEngine or ''salloc'' for Slurm to connect to a compute node, then select the version of R you want to use
-to a compute node, then select the version of R you want to use+
  
 <code> <code>
Line 72: Line 45:
  
 === Scheduling R === === Scheduling R ===
-See the [[software:r:rscript-simple|R script in batch]] and [[software:r:rscript-sweep|R script array job in batch]] page for more+See the [[#cluster-details|cluster details]] for R script in batch and R script array job in batch examples for more
 information on running R in batch. information on running R in batch.
  
Line 80: Line 53:
 $ Rscript /path/to/script.r $ Rscript /path/to/script.r
 </code> </code>
 +
 +=====Details by cluster=====
 +  * [[software:r:caviness| Caviness]]
 +  * [[software:r:farber| Farber]]
 +
 +=====Additional Resources =====
 +
 +  * [[http://www.statmethods.net/interface/index.html|Quick-R]] on-line tutorial
 +  * [[http://www.ats.ucla.edu/stat/r/|UCLA idre]] on-line tutorial
 +  * [[http://swirlstats.com/|SWIRL]] interactive tutorial (may not be available by default)
 +  * [[http://www.manning.com/kabacoff/|R in action]] book
 +  * [[http://shop.oreilly.com/product/0636920028352.do|O'Reilly Learning R]] Book
 +  * [[http://stackoverflow.com/questions/tagged/r|Stack Overflow]] Questions and Answers
 +  * [[https://science.nature.nps.gov/im/datamgmt/statistics/R/documents/R_for_SAS_SPSS_users.pdf|R for SAS and SPSS users PDF]] An excellent guide for converting SAS(r) and SPSS(r) to R.
  • software/r/r.1508796290.txt.gz
  • Last modified: 2017-10-23 18:04
  • by sraskar