[R] Problem reading in external data and assigning data.frames within R

Spencer Graves spencer.graves at pdf.com
Wed Oct 5 17:51:25 CEST 2005


(xnew <-- edit(data.frame()).

is equivalent to:

(xnew <-(- edit(data.frame())).

make sense?
spencer graves

Nathan Dieckmann wrote:

>   Hey there,
> 
>     I apologize if this is an irritatingly simple question ... I'm a
> new user.  I can't understand why R flips the sign of all data values
> when reading in external text files (tab delimited or csv) with the
> read.delim or read.csv functions.  The signs of data values also seem
> to be flipped after assigning a new data.frame from within R (xnew <--
> edit(data.frame()).  What am I doing wrong?
> 
>    Any help would be greatly appreciated.  Thanks in advance.
> 
>              -- Nate    
> 
> -----------------------------
> Nathan Dieckmann
> Department of Psychology
> University of Oregon
> Eugene, OR 97403
> (541) 346-4963
> ndieckma at darkwing.uoregon.edu
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves at pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915




More information about the R-help mailing list