In S+ do.call's first argument must be a character string that gives the name of the function, so replace do.call(rbind, ...) with do.call("rbind", ...)
Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com From: Santosh [mailto:santosh2...@gmail.com] Sent: Tuesday, September 20, 2011 2:55 AM To: William Dunlap; R help Subject: Re: [R] Strplit code Dear R- Splus experts, In R, I have frequently used do.call with strsplit. and I have a hard time with Splus.. any suggestions? for example, the R code below: do.call(rbind,strsplit(paste(letters[1:10],c(1:10))," ")) Thanks so much, Santosh On Fri, Dec 5, 2008 at 8:51 AM, William Dunlap <wdun...@tibco.com<mailto:wdun...@tibco.com>> wrote: [R] Strplit code pomchip at free.fr<http://free.fr> pomchip at free.fr<http://free.fr> Wed Dec 3 20:52:21 CET 2008 Dear R-users, The strsplit function does not exist in S-plus and I would like to use it. How could I reproduce the function in Splus or access to its source code? Thank you in advance, Sebastien strsplit() was added to S+ 8.0 (May 2007). At the same time we changed the default regular expression style from 'basic' (a.k.a. 'obsolete') to 'extended' and we added the string functions sub(), gsub(), and sprintf(). S+ 8.1 is now available (as of November 2008). Bill Dunlap TIBCO Software Inc - Spotfire Division wdunlap tibco.com<http://tibco.com> ______________________________________________ R-help@r-project.org<mailto: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. [[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.