On Mar 13, 2011, at 2:29 PM, algotr8der wrote:
Thank you all. Your solutions work. I suppose it doesnt matter
whether I use
coredata or not (at least for my current purposes). I have created a
user-defined function and have saved it in a ".R" file in my current
working
directory. But now I'm not sure how to invoke this function. R
complains
that it cannot find the function.
If I copy and paste the function code into the R console and call it
after
that everything works fine. Is there a way to bring that function into
memory by giving a path to its location?
?source
I imagine that I will have many
user-defined functions written in their own '.R' files over time.
Thank you all.
David Winsemius, MD
West Hartford, CT
______________________________________________
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.