Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread stephen sefick
If you get a program called smultron (or other program that can open hidden files), go to your working directory, and then "open hidden file" and find your .Rprofile file. I set mine up by searching through the archive and borrowing little bits of code for setting up a self-compiled version on os

Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread Bernardo Rangel Tura
On Tue, 2009-01-20 at 01:13 +0100, Jörg Groß wrote: > Hi, > > I am currently writing some own functions that I frequently need. > > So, it would be perfect if I could load these functions at the > beginning of each R-session with a small command. > > > I tried to generate a R-package and inst

Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread Jörg Groß
Hi, I tried to generate a .Rprofile file. But R does not load it automatically. Is there a tutorial on the web on generating such a file? (haven't found anything that helped me) And where do I have to put this .Rprofile-file? In the working directory? Does R generate a .Rprofile file when R is

Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread stephen sefick
?.Rprofile On Mon, Jan 19, 2009 at 8:03 PM, Jörg Groß wrote: > Is there a way to execute this command on every R-start? > > > I tried to add something in the Startup.h file - but that didn't work. > > (working on a mac) > > > > > Thanks! > > Am 20.01.2009 um 01:25 schrieb Duncan Murdoch: > >> On

Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread Jörg Groß
Is there a way to execute this command on every R-start? I tried to add something in the Startup.h file - but that didn't work. (working on a mac) Thanks! Am 20.01.2009 um 01:25 schrieb Duncan Murdoch: On 19/01/2009 7:13 PM, Jörg Groß wrote: Hi, I am currently writing some own functions

Re: [R] easiest way to integrate own functions on startup

2009-01-19 Thread Duncan Murdoch
On 19/01/2009 7:13 PM, Jörg Groß wrote: Hi, I am currently writing some own functions that I frequently need. So, it would be perfect if I could load these functions at the beginning of each R-session with a small command. I tried to generate a R-package and install it that way. But it se

[R] easiest way to integrate own functions on startup

2009-01-19 Thread Jörg Groß
Hi, I am currently writing some own functions that I frequently need. So, it would be perfect if I could load these functions at the beginning of each R-session with a small command. I tried to generate a R-package and install it that way. But it seems that it is not so easy to add new fun