Re: [R] how to source file with arugments

2008-11-05 Thread Dieter Menne
Jiqiang Guo gmail.com> writes: > As we know when we use R to execute a r program we can add arguments like > '--args p1 p2'. But when I am sourcing another file, is there a way to set > up some arguments for the sourced program. Thanks! > In general, you can use Sys.getenv() and .setenv() to

[R] how to source file with arugments

2008-11-05 Thread Jiqiang Guo
HI, All, As we know when we use R to execute a r program we can add arguments like '--args p1 p2'. But when I am sourcing another file, is there a way to set up some arguments for the sourced program. Thanks! Regards, [[alternative HTML version deleted]] __