[R] couldn't find function "..."

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Jul 6 01:08:20 CEST 2000


Steve Arthur <sarthur at crick.protogene.com> writes:

> First I created my function named "CIfunc" and saved into the current
> directory using the "save" command.
...
> As I understand it, I saved the "CIfunc" in the directory I opened R from.
> 
> Do I need to set an environment variable to use functions in R?

No, but you need to understand that R uses a workspace based model.
Generally you just define objects in the current workspace and use
them, and you can save them on closing and restore upon restart. You
can also save objects (potentially several) to a file, but it is not
reloaded automatically, you have to use load() to get the objects
back. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list