[R] Rprofile.site

Spencer Graves spencer.graves at structuremonitoring.com
Mon Nov 28 04:42:35 CET 2011


or put them in an R package with some appropriate name like "YenMisc", 
then include "library(YenMisc)" in "Rprofile.site".  This has the added 
advantage that you can easily share YenMisc with others.  Spencer


On 11/27/2011 6:42 PM, Florent D. wrote:
> source("c:\path\... ")
>
> On Sun, Nov 27, 2011 at 9:28 PM, Yen, Steven T<syen at utk.edu>  wrote:
>
>> Dear All
>>
>> I inserted a frequently used function (subroutine) right into my
>> Rprofile.site which allows me to run it each time-works great. However,
>> this approach is obviously suitable for a short function or a small number
>> of functions. Instead of inserting the lines in Rprofile.site, is there a
>> way to insert one line pointing to (fetching) the function in a local
>> drive, similar to #include c:\path\... in Gauss?
>>
>> Thank you.
>>
>>
>>
>> --
>> Steven T. Yen, Professor of Agricultural Economics
>> The University of Tennessee
>> http://web.utk.edu/~syen/
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> 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.
>>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>


-- 
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567
web:  www.structuremonitoring.com



More information about the R-help mailing list