R Cheat Sheet

From Simson Garfinkel
Jump to navigationJump to search

Numbers

r <- 1:10


File Management

setwd( dir ) — Set the working directory

Run an R Script

   source( fname, print.eval=TRUE) — run fname
   $ R -f filename.R

[Category:Cheat Sheets]