Skip to content

functions

1 message · Andrew C. Ward

#
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:
I
I
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.  
-.-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.  
_._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._