You could also look at littler Then you could use, under Linux,
#!PTHTOR/r x <- read.csv(...) lm(...) . . . Rainer On Tue, Dec 2, 2008 at 4:07 PM, Blanchette, Marco <[EMAIL PROTECTED]> wrote: > Try > >> source('myFirstScript.R') > > Where myFirstScript.R as the following line > > x <- rnorm(100) > y <- rnorm(100) > plot(x,y) > > You could also use a editor like emacs with the ess-mode where one buffer can > be your script with a live R session in a second buffer. > > Good luck > > > On 12/2/08 7:21 AM, "b g" <[EMAIL PROTECTED]> wrote: > > > > Since I'm a SAS programmer, I'm used to creating command files in an editor > for submission later. Is there a way to do this in R? I'd need to retain an > ouput listing and a log to check for errors. > _________________________________________________________________ > Send e-mail faster without improving your typing skills. > > d_122008 > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > > > -- > Marco Blanchette, Ph.D. > Assistant Investigator > Stowers Institute for Medical Research > 1000 East 50th St. > > Kansas City, MO 64110 > > Tel: 816-926-4071 > Cell: 816-726-8419 > Fax: 816-926-2018 > > ______________________________________________ > 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. > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Faculty of Science Natural Sciences Building Private Bag X1 University of Stellenbosch Matieland 7602 South Africa ______________________________________________ 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.