[R] R script on linux?

Thomas Levine thomas.levine at gmail.com
Tue Nov 2 19:24:30 CET 2010


Open a terminal, then run these two commands.

cd /home/the/directory/with/your/script
R

Then run this in R

source('yourscript.R')

Tom

2010/11/2 Jonathan P Daily <jdaily at usgs.gov>:
> What is the error message?
> --------------------------------------
> Jonathan P. Daily
> Technician - USGS Leetown Science Center
> 11649 Leetown Road
> Kearneysville WV, 25430
> (304) 724-4480
> "Is the room still a room when its empty? Does the room,
>  the thing itself have purpose? Or do we, what's the word... imbue it."
>     - Jubal Early, Firefly
>
>
>
> From:
> gokhanocakoglu <ocakoglu at uludag.edu.tr>
> To:
> r-help at r-project.org
> Date:
> 11/02/2010 09:11 AM
> Subject:
> Re: [R] R  script on linux?
> Sent by:
> r-help-bounces at r-project.org
>
>
>
>
> I can't run the script the program doesn't work...
> --
> View this message in context:
> http://r.789695.n4.nabble.com/R-script-on-linux-tp3023650p3023670.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list