[R] S-Plus function merge.data.frame() in R?

Thomas Lumley thomas at biostat.washington.edu
Tue Nov 9 19:28:29 CET 1999


On Tue, 9 Nov 1999, Potter, David M wrote:

> Hello.  I am interested in whether anyone has tried porting the
> S-Plus function merge.data.frame() to R.  I copied and sourced
> the S-Plus merge.data.frame() function definition but got the following
> error
> upon trying to merge two dataframes 
> 
> Error: invalid number of copies in "rep"

It might be easier to port the merge.data.frame function from the Statlib
S archive, which is less likely to have been optimised for S-PLUS. The
other advantage is that it would have a better chance of being legal to
distribute the resulting code.


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list