[R] calling files of commands in R

A.J. Rossini rossini at blindglobe.net
Fri May 23 19:54:28 CEST 2003


"Anna  H. Pryor" <anna at ptolemy.arc.nasa.gov> writes:

> Please excuse me if this is a very basic question and I am just 
> misunderstanding the basic structure of R.
>
> Right now, I am writing everything in a buffer (emacs) and then copying it 
> into R when it is correct.  Is there a way to save a file of commands and 
> then just type the file name or something in R and have the commands executed 
> within R?

source("filename")



-- 
A.J. Rossini rossini at u.washington.edu http://software.biostat.washington.edu/ 
Biostatistics, U Washington and Fred Hutchinson Cancer Research Center

FHCRC:Tu: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email 
UW  : Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX 

CONFIDENTIALITY NOTICE: This e-mail message and any attachments ... {{dropped}}




More information about the R-help mailing list