Rather than trying to use:
R < filename.r --vanilla
You can load prewritten code with
source ('filename.R')
This can also be added to an .RProfile file if it needs to be loaded each time.
Rather than trying to use:
R < filename.r --vanilla
You can load prewritten code with
source ('filename.R')
This can also be added to an .RProfile file if it needs to be loaded each time.