Tuesday, 20 May 2014

Learning more about R

Some advice about R-studio from Stuar51XT through a Youtube video (https://www.youtube.com/watch?v=qHfSTRNg6jE)

some notes:
clear console: Contol L

clear workspace: clear all tab

To use a piece of script:
   Open script window
   Write script
   Highlight script
   Press run


To use a file
    Put script in a file with a .R suffix.
    source function will run the file - as long as it can find it....
    source("z.R")

Get working directory
    getwd()




No comments:

Post a Comment