It occurred to me that it would be nice to be able to save a library that I have installed an loaded into my workspace for easy sharing. I suppose it might not work if someone's on a different version of R, but usually since the library is just a collection of functions, it seems plausible that you could just save the functions into your workspace.
I'm sure this question is a bit naive, but I would be happy to have references on the best place to read up on it and advice on where to focus. Couldn't you iterate over the search() environments (skipping the base packages), save the name of the environment and the functions, and then unpack them when you load the new workspace? [[alternative HTML version deleted]] ______________________________________________ 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.