Index of /examples/r/examples

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]optimization/ 2019-05-23 22:10 -  
[DIR]notebook/ 2019-06-05 20:44 -  
[DIR]call_c/ 2021-03-18 23:54 -  
[DIR]input_args/ 2021-03-19 00:07 -  
[DIR]io_append/ 2021-03-19 00:11 -  
[DIR]io_scratch/ 2021-03-19 00:16 -  
[DIR]par_domc/ 2021-03-19 00:25 -  
[DIR]par_mclapply/ 2021-03-19 00:27 -  
[DIR]par_rmpi/ 2021-03-19 00:29 -  
[DIR]par_snowfall/ 2021-03-19 00:31 -  
[DIR]parallel/ 2021-05-21 12:49 -  

RCS examples

RCS examples are provided to assist you in learning the software and the development of your applications on the SCC machines. The instructions provided along with the code assume that the underlying OS is Linux. If these examples are run on a different architecture, the user might need to make some changes to the code and/or the way the program is built and executed.

Each directory contains a sample program, makefile (if necessary), script file (if necessary), and README file that describes the files contained in the directory and commands needed to build and execute the program.

  • call_c an example of calling c function from R
  • input_args passing arguments to R script from a command line
  • io_append writing results to multiple files
  • io_scratch using scratch space for reading and writing files

  • optimization a collection of various tips and tricks to speed up R code

  • par_domc parallel execution of R code using doMC package
  • par_mclapply parallel execution of R code using parallel package
  • par_rmpi parallel execution of R code over multiple nodes using rmpi package
  • par_snowfall parallel execution of R code using snowfall package

  • Contact Information:

    Research Computing Services: help@scc.bu.edu

    Note: Research Computing Services (RCS) example programs are provided "as is" without any warranty of any kind. The user assumes the entire risk of quality, performance, and repair of any defects. You are encouraged to copy and modify any of the given examples for your own use.