[R] Run an r file from the console

David Winsemius dwinsemius at comcast.net
Thu Nov 12 19:24:39 CET 2009


On Nov 12, 2009, at 12:41 PM, anna_l wrote:

>
> Hello everybody, I am writing an r file in the same R working  
> directory and I
> would like to know how can I just run the whole file by just  
> entering the
> file´s name on the console. I put the file in the working directory  
> but it
> didn´t  work saying that the "file_name" object wasn´t  found. In  
> matlab I
> could do this very simply, just write an m code and run it from the  
> console
> by  entering the file name. I´m new in R, thank you in advance :)

?source


> -- 
> View this message in context: http://old.nabble.com/Run-an-r-file-from-the-console-tp26323023p26323023.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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list