Re: [R] merge in data.tables -- "non-visible"

From: Ted Rosenbaum <ted.rosenbaum_at_yale.edu>
Date: Wed, 02 Mar 2011 12:26:45 -0500

Thanks for the help -- merge.data.table was being used!

On Wed, Mar 2, 2011 at 12:25 AM, Steve Lianoglou < mailinglist.honeypot_at_gmail.com> wrote:

> Hi Ted,
>
> On Tue, Mar 1, 2011 at 9:45 PM, Ted Rosenbaum <ted.rosenbaum_at_yale.edu>
> wrote:
> > Hi,
> > I am trying to use the merge command in the data.tables package.
> > However, when I run the command I am not sure if it is running the merge
> > command from the base package or the merge command from data.tables.
> > When I run "methods(generic.function="merge")' it informs me that
> > 'merge.data.table" is "non-visible".
> > I am just trying to run the merge command on two data tables using the
> > index, is there anything else that I need to do (my googling has simply
> left
> > me uncertain about how to get this to work).
> > Thanks for your help!
>
> Assuming everything is "normal", I'm going to bet the merge.data.table
> function is the one that is being used.
>
> Assuming you are using version <= 1.5.3, though, an easy way to check
> is to see if the result of the merge ignores the `suffixes` argument.
> The behavior of merge is being changed for the next version, but this
> "feature" is an easy way for you to check which merge function is
> being used in the current version ;-)
>
> Hope that helps,
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
> | Memorial Sloan-Kettering Cancer Center
> | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
>

        [[alternative HTML version deleted]]



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. Received on Wed 02 Mar 2011 - 17:36:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Mar 2011 - 18:00:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive