Hello, I don't want to find out how to make packages unless that becomes necessary. Also, I don't want to clog up the computer memory with functions that I'm not using. (It would be great if someone in this forum would explain how memory is used when I type library(MASS) and then use only one function from MASS. Are all the many MASS functions then residing in memory, or only the one I called?)
Is there some standard way of 1. storing the R functions that I define, each in a separate file in some standard directory, and then 2. calling one of these functions without having to include the path to the relevant directory? 3. If so, are there conventional places to keep such files, akin to /usr/local/bin in Unix? I'm thinking of a facility like Matlab's, when one has user-defined paths where Matlab will look for my Matlab functions. In my Matlab code, I don't need to hard-wire in the path of the storage directory, and I can make the function call as though my function is in the current directory. Thanks, David -- View this message in context: http://r.789695.n4.nabble.com/Storing-user-defined-R-functions-tp3402983p3402983.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.