[R] help in attach function

Steve Lianoglou mailinglist.honeypot at gmail.com
Wed Apr 7 22:31:53 CEST 2010


Hi,

On Wed, Apr 7, 2010 at 4:24 PM, Changbin Du <changbind at gmail.com> wrote:
> Hi, r-community,
>
> This morning, I MET the following problem several times when I try to attach
> the data set.
>
> When I closed the current console and reopen the R console, the problem
> disappear. BUt with the time passed on, the problem occurs again.
>
> Can anyone help me with this?

Yes, please read the documentation in ?attach

>> attach(total)
>
>    The following object(s) are masked from total ( position 3 ) :
>
>     acid base cell_evalue cell_hit charged freq_cell freq_hypo freq_intra
> gene_id gene_name hydrophobic hypo_evalue hypo_hit log_cell log_hypo
> log_pfam num_cell num_genes operon_id outcome pfam_align pfam_evalue
> pfam_per_id polar position target total_length

Specifically see the documentation for the `warn.conflicts` parameter.

I'm guessing you have (global) variables in your workspace that have
the same name as some of the columns in your `total` data.frame

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



More information about the R-help mailing list