[R] How to create something between a script and a package
Sergio Correia
sergio.correia at gmail.com
Tue Oct 9 16:57:27 CEST 2007
Mark, Moshe, Vladimir, Uwe,
Thanks for the tips regarding -source- and -rprofile-.
Best,
Sergio
On 10/9/07, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
>
>
> Sergio Correia wrote:
> > (Before starting: I'm a total R noob so please bear with me in case of
> > any error or faux pas).
> >
> > Hi,
> >
> > For a small project, I'm writing a few simple R functions and calling
> > them from python (using RPy). I'm sharing the code with a couple of
> > friends, using a subversion server.
> >
> > Now, I want something like a package, to be able to share functions
> > between ourselves. Having read a few package tutorials, I feel that
> > this is not exactly what I want and I'm kinda lost regarding what
> > alternatives are available.
> >
> > What I want could be summarized as this:
> > - A plain text file (eg: myfunctions.R)
> > - Can be located in other folders besides the default (easier to
> > synchronize using subversion). Eg: myproject/rfunctions/myfunctions.R
> > - Can be accessed from the R console (without having to load a
> > specific workspace).
> >
> > Is there any solution that can provide this?
>
>
> I guess what you want is a package. Otherwise, see ?source.
>
> Uwe Ligges
>
>
> > Any suggestions would be greatly appreciated,
> >
> > Thanks,
> > Sergio
> >
>
More information about the R-help
mailing list