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

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Oct 4 16:07:38 CEST 2005


Nathan Dieckmann <ndieckma at uoregon.edu> writes:

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

If you think the assignment operator is "<--", then that could well be
the cause....

> edit(data.frame()).  What am I doing wrong?
> 
>    Any help would be greatly appreciated.  Thanks in advance.
> 
>              -- Nate    


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list