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

Potter, David M david_m_potter at groton.pfizer.com
Tue Nov 9 19:18:07 CET 1999


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"

The same function call in S-Plus does not yield this error.

(Each of the two files has about 30,000 rows.  One file
has two columns and the other, 61)

I am running R version 0.65.1 under Solaris2.6.

I plan on forging ahead to see if I can identify the cause, but
I thought I would check with this list to see if anybody else had
encountered this. .  

Thanks.

David M. Potter
Mathematical & Statistical Sciences
Pfizer Central Research


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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