[R] Writing and running a R program

Philipp Pagel p.pagel at gsf.de
Thu Oct 23 16:20:02 CEST 2003


On Thu, Oct 23, 2003 at 09:29:46AM -0400, Subramanian Karthikeyan wrote:
> Is there a way I can combine multiple lines of R commands (see below) into
> a little code snippet or a program in a text file, and run it in R to do my
> analysis?

It's quite easy: Write your R code with your favorite text editor and run
it in R using source().

cu
	Philipp

-- 
Dr. Philipp Pagel                                Tel.  +49-89-3187-3675
Institute for Bioinformatics / MIPS              Fax.  +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg, Germany




More information about the R-help mailing list