Mauricio Malfert wrote: > > Hi I'm simulating missing data patterns and I've started to get a lot of > functions in the same .R file is it possible to store al these functions > in > a library like one does in C++ (i.e the .h file) and read the functions > from > the main .R file > /Mauricio >
You can save your functions to a file with save(<names>,file="/path/to/func_lib.RData") and then attach("/path/to/func_lib.RData"). Or, you can create a package and load it with library() or require() -- View this message in context: http://www.nabble.com/How-to-read-stored-functions-tf4513863.html#a12874535 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.