[R] [beginner] how to run *.r script from graphic interface (R Console window) ?

2010-11-21 Thread madr

Is there a fuction like open(path/to/file), readfile or sth like that that
would run code from R file just like I was it typing myself into R Console
window ?
-- 
View this message in context: 
http://r.789695.n4.nabble.com/beginner-how-to-run-r-script-from-graphic-interface-R-Console-window-tp3052326p3052326.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] [beginner] how to run *.r script from graphic interface (R Console window) ?

2010-11-21 Thread Dimitris Rizopoulos

Have a look at function source(), i.e., type in the R console

?source


I hope it helps.

Best,
Dimitris


On 11/21/2010 1:23 PM, madr wrote:


Is there a fuction like open(path/to/file), readfile or sth like that that
would run code from R file just like I was it typing myself into R Console
window ?


--
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center

Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014
Web: http://www.erasmusmc.nl/biostatistiek/

__
R-help@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.