Entering edit mode
Peng Yu
▴
940
@peng-yu-3586
Last seen 10.3 years ago
Is there a cleaner way that I can supply an addition Rprofile from the
command line?
Regards,
Peng
On Tue, Aug 11, 2009 at 11:27 AM, Charlie
Sharpsteen<chuck at="" sharpsteen.net=""> wrote:
> A quick and dirty way would be to add the following line to the
beginning of
> your scripts:
>
> source( '/path/to/additional/Rprofile' )
>
> -Charlie
> On Tue, Aug 11, 2009 at 9:41 AM, Peng Yu <pengyu.ut at="" gmail.com="">
wrote:
>>
>> Hi,
>>
>> When I use Rscript, I want that it load an additional Rprofile file
>> besides the default ones. I don't find such an option. Can somebody
>> let me know if there is such an option?
>>
>> Regards,
>> Peng
>>
>> ______________________________________________
>> R-help at 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.
>
>