Re: [R] Reading data in R-metrics

2008-08-02 Thread milton ruser
John, I suspect that Patrick is right. send us a str(df) to we see how your data frame looks like kind regards miltinho astronaura brazil On 8/1/08, Kerpel, John [EMAIL PROTECTED] wrote: Hi Folks! I used the code below previously with no problems, but now I get:

[R] Reading data in R-metrics

2008-08-01 Thread Kerpel, John
Hi Folks! I used the code below previously with no problems, but now I get: DTB3-read.table(C:\\Program Files\\R\\R-2.7.1\\DTB3.csv,header=TRUE,sep=,) tail(DTB3) DATE VALUE 14233 2008-07-23 1.56 14234 2008-07-24 1.62 14235 2008-07-25 1.71 14236 2008-07-28 1.70 14237

Re: [R] Reading data in R-metrics

2008-08-01 Thread Patrick Burns
My suspicion is that there is some value that R does not think is numeric, so the column becomes a factor, and you are seeing the codes for the factor. Patrick Burns [EMAIL PROTECTED] +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and A Guide for the Unwilling S User) Kerpel,

Re: [R] Reading data in R-metrics: FOLLOW UP

2008-08-01 Thread Kerpel, John
2008-07-24 1.62 2008-07-25 1.71 2008-07-28 1.70 2008-07-29 1.69 2008-07-30 1.67 John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerpel, John Sent: Friday, August 01, 2008 1:13 PM To: r-help@r-project.org Subject: [R] Reading data in R-metrics Hi