[R] running saved scripts

Knut Krueger rh at family-krueger.com
Wed Jun 27 22:13:26 CEST 2007


Jiong Zhang, PhD schrieb:
> Hi All,
>
> I have a rather naive question.  I need to run some simple calculations
> such as read.table, resid, and quantile on a data file.  How can I save
> these commands in a text file and ask R to run this text file?  Thanks.
>
>   
There is a very comfortable editor including run functions (run all, run 
marked, run until window end and run line by line) available:
http://www.sciviews.org/Tinn-R/
And you can use the R-Editor (in the Menu: File->  new script)
There you can run the marked code or line by line with STGR R

Knut



More information about the R-help mailing list