Index of /examples/r/examples

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [DIR] par_snowfall/ 19-Sep-2016 16:44 - [DIR] par_rmpi/ 19-Sep-2016 16:44 - [DIR] par_mclapply/ 19-Sep-2016 16:43 - [DIR] par_domc/ 06-Dec-2016 23:36 - [DIR] opt/ 15-Jul-2018 01:32 - [DIR] misc_args/ 09-Apr-2014 16:44 - [DIR] io_scratch/ 04-Feb-2016 14:52 - [DIR] io_append/ 06-Feb-2015 14:46 - [DIR] ex01-helloworld/ 05-Sep-2017 20:56 - [DIR] call_c/ 19-Nov-2017 12:43 -

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.

  • ex01-helloworld "hello world" R example

  • io_append writing results to multiple files
  • io_scratch using scratch space for reading and writing files

  • misc_args passing arguments to R script from a command line
  • opt 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

  • Contact Information:

    Katia Oleinik:

    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.