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

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Tue Nov 9 19:47:32 CET 1999


>>>>> Thomas Lumley writes:

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

Better  chance yes, but are we sure about this?  The file says

                 Copyright (1994)
Contributed by:  Raymond W. FALK, Ph.D. (24Sep1994, 18Oct1994)

so maybe we should contact the author first?

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