[R] How to include files in .R?

Jonas Stein news at jonasstein.de
Fri Apr 4 09:57:40 CEST 2008


Hi,

may be its a very simple question, but i did not find any documentation
about a 'include' command or something like this.

I have to set many constants in my R-files and want to move all these to
one file, so that i can reuse it in all other R-files.

Something like 

include("~/R/myconstants.R")

kind regards,

-- 
Jonas Stein <news at jonasstein.de>



More information about the R-help mailing list