rkevinburton at charter.net
2008-Aug-07 16:48 UTC
[R] Where is the archive? Calling a function within a function.
I seem to remember this topic coming up before so I decided to look at the archive and realized that I didn't know where it was. Is there a searchable archive for this list? Thank you. My question is calling a function from within a function. I have smerge <- function(d1,d2) { temp <- merge(d1,d2,all=TRUE,by.x="DayOfYear",by.y="DayOfYear") return (xmerge(temp)) } But I get an error message indicating that xmerge could not be found when it is defined just above. Thank you. Kevin
Mark Difford
2008-Aug-07 17:05 UTC
[R] Where is the archive? Calling a function within a function.
Hi Kevin,>> Where is the archive?Start with this: ?RSiteSearch HTH, Mark. rkevinburton wrote:> > I seem to remember this topic coming up before so I decided to look at the > archive and realized that I didn't know where it was. Is there a > searchable archive for this list? Thank you. > > My question is calling a function from within a function. I have > > smerge <- function(d1,d2) { > temp <- merge(d1,d2,all=TRUE,by.x="DayOfYear",by.y="DayOfYear") > return (xmerge(temp)) > } > > But I get an error message indicating that xmerge could not be found when > it is defined just above. > > Thank you. > > Kevin > > ______________________________________________ > R-help at 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. > >-- View this message in context: http://www.nabble.com/Where-is-the-archive--Calling-a-function-within-a-function.-tp18874953p18875170.html Sent from the R help mailing list archive at Nabble.com.