[R] thanks

Lefebure Tristan Tristan.Lefebure at univ-lyon1.fr
Tue Jan 11 16:24:11 CET 2005


see man R

example from a shell:

echo -e "pdf(file=\"test.pdf\")\nplot(1:10,11:20)\ndev.off(dev.cur())\n">cmd.R
R -s <cmd.R

(write a file of command for R, and than feed R with it)

On Tuesday 11 January 2005 15:59, Cserháti Mátyás wrote:
> Dear all,
>
> Thanks to those 3 people who sent me answers to my question. Got
> the problem solved. Great!
>
> Now, another question of mine is:
>
> I would like to run an R script from the Linux prompt. Is there any way
> possible to do this? The reason is, the calculation that I'm doing takes a
> few hours, and I would like to automatize it.
>
> Or does it mean that I have to run source within the R prompt?
>
> Or is there a way to do the automatization within the R prompt?
>
> Thanks, Matthew
>
> u.i. Köszi, Zoli!
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

-- 
------------------------------------------------------------
Tristan LEFEBURE
Laboratoire d'écologie des hydrosystèmes fluviaux (UMR 5023)
Université Lyon I - Campus de la Doua
Bat. Darwin C 69622 Villeurbanne - France

Phone: (33) (0)4 26 23 44 02
Fax: (33) (0)4 72 43 15 23




More information about the R-help mailing list