Re: [R] hiding/protecting utility functions in .Rprofile

2010-02-02 Thread Chris Campbell
On Mon, Feb 1, 2010 at 13:19, Michael Friendly wrote: > [Env: WinXp, R 2.9.2] > In my .Rprofile, I define a number of utility functions I'd like to have > available in my R session, but don't want them > to be *normally* listed by ls(), or more importantly, saved if I save my > session variables/f

Re: [R] hiding/protecting utility functions in .Rprofile

2010-02-01 Thread Greg Snow
Instead of putting the functions into .Rprofile, save them as a package or use save to put them in a .Rdata file. Then in .Rprofile you can load the package or attach the .Rdata file. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@i