Marta,
The "Writing R Extensions" manual is probably geared towards those who
write complex packages including source code and documentation. This may
seem incomprehensible overkill to those who have just a few R functions
they want available from any and all their workspaces. Further, in R 1.6.0
packages now need a "Built" tag in the DESCRIPTION file, which again may be
irrelevant to those who have a just a few R functions.
What I do is have the following line in my .Rprofile file:
> source("acw.R")
where the file "acw.R" contains R functions. This means that these
functions are accessible from within any .RData file I'm using (assuming
I've appropriately set R_USER).
E-mail me privately if you would like more details about this.
Regards,
Andrew C. Ward
CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au
On Friday, October 25, 2002 8:42 PM, Marta Rufino
[SMTP:mrufino at cmima.csic.es] wrote:
Hello, I am a newbie in R, I just did my first function, which works!!! And I would like to know, if
I
can create a directory in the library with my functions, in a way, which
I
could call that like we call the packages ? Can anyone help me? Thanks in advance Marta
<((((o>`..,,..??`..,..??`....,><((((o>`..,,..??`..,..??`....,><((((o>
`..,,..??`..,..??`....,><((((o>`..,,..??`..,..??`....,><((((o>`..,,..? Marta Rufino Centre Mediterrani d'Investigacions Marines i Ambientals (CMIMA). CSIC Passeig Maritim 37-49 08003 BARCELONA Tfno:34 93 230 95 40 Tfax:34 93 230 95 55
<((((o>`..,,..??`..,..??`....,><((((o>`..,,..??`..,..??`....,><((((o>
`..,,..??`..,..??`....,><((((o>`..,,..??`..,..??`....,><((((o>`..,,..?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.-
r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._