You can use source():

For example
> source("C:\temp\foo.R")

wher "foo.R" is a text fiel containing R commands.

Regards,
Heinrich.

> -----Ursprüngliche Nachricht-----
> Von: orkun [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 21. Juli 2003 08:47
> An: R-help
> Betreff: [R] R commands from a text file ?
> 
> 
> Hello
> 
> I was wondering if it was possible to enter R commands from 
> an external
> text file. If it is possible, it will be easy for repetetive tasks.
> 
> Does anyone have an idea ?
> 
> thanks in advance
> 
> 
> Ahmet Temiz
>    TURKEY
> 
> 
> ______________________________________
> 
> 
> 
> ______________________________________
> The views and opinions expressed in this e-mail message are 
> ...{{dropped}}
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to