[R] Introduce a new function in a package?
Dimitris Rizopoulos
dimitris.rizopoulos at med.kuleuven.ac.be
Wed Apr 6 16:02:45 CEST 2005
or you could create a package containing all these functions and edit
.Rprofile to load it at start-up (see also ?.Startup).
Best,
Dimitris
----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven
Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
----- Original Message -----
From: "Luis Ridao Cruz" <Luisr at frs.fo>
To: <r-help at stat.math.ethz.ch>
Sent: Wednesday, April 06, 2005 3:47 PM
Subject: [R] Introduce a new function in a package?
> R-help,
>
> Sometimes I define functions I wish to have in any R session.
> The obvious thing to do is copy-paste the code
> The thing is that sometimes I don't know where I have the function
> code.
>
> My question is if somehow I could define a function and "introduce"
> it
> (let's say 'base' package ) so that
> could be used anytime I run a different R project.
>
> Thank you in advance
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list