[R] Loading packages at startup

antonio rodriguez arv at ono.com
Tue Jan 20 16:49:40 CET 2004


Hi,

go to your C:/R/rw1080/etc directory and edit the Rprofile file adding
(e.g.):

library(foreign)
library(survival)

cheers,

antonio rodriguez


> -----Mensaje original-----
> De: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]En nombre de imap
> Enviado el: martes, 20 de enero de 2004 16:16
> Para: r-help at stat.math.ethz.ch
> Asunto: [R] Loading packages at startup
>
>
> Hi,
>
> I use the Windows R GUI.  I frequently use (or have my students
> use) foreign and survival packages.  I would like to make them
> part of the basic start-up package set (like base, ctest, etc.)
> using something short of recompiling a special Windows version of
> R.  Is this possible?  I examined the autoload() command but this
> seems to target a single command of package, and only apply
> during a single run of R.  Is there an initiation text file I
> could modify?  I can find no mention in the documentation of how
> this might be done.
>
> Thanks,
> Rob
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/2004
>
---




More information about the R-help mailing list