Hello,

I am a beginner to the R language and find it fantastic and
well-designed, quite different from other programming languages. This
is the first time I post on the r-help mailing list.

In invoking the function source(filename), it seems that the filename
has to exist in the current working directory, otherwise it has to be
specified in full path. So is there any mechanism(such as environment
variable) to specify an additional directory of .R files that source()
could search in?

Thanks in advance!

Li Sun
Department of Physics
University of California, San Diego

______________________________________________
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.

Reply via email to