Hi
Linux SuSE 10
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 3.1
year 2006
month 06
day 01
svn rev 38247
language R
version.string Version 2.3.1 (2006-06-01)
I have two questions concerning the source("test.R") command.
1) Is there any command which I can put into the test.R script file
which aborts the execution of the script? At the moment I use
CodeToBeExecutedInScript
if (FALSE)
{
CodeNotToBeExecutedInScript
}
which is not elegant, but it works. I would prefer something like:
CodeToBeExecutedInScript
CommandToAbotrExecutionOfScriptFile
CodeNotToBeExecutedInScript
2) When I call source("test.R") and it is running for some time. Does
changing the file test.R while it is executed change the execution, i.e.
does the call of source() load the script file into memory and parses
and executes it from there or does it parse and execute the file on the
disk?
Thanks in advance,
Rainer
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)21 808 3304
Cell: +27 - (0)83 9479 042
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
______________________________________________
[email protected] 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.