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: > > > > DTB3<-rea

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

2008-08-01 Thread Kerpel, John
Apparently, the Fed changed the way they handled missing values in the interest rates files; now they use a period instead of #N/A like they did in my old files. When I do a global replace and replace the periods with a blank prior to importing in R, I get what I used to get: DTB3<-read.table("

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,