[R] Wrong csv data?

PIKAL Petr petr.pikal at precheza.cz
Fri Jan 25 11:09:54 CET 2013


Hi

Attachment did not went through. Can you show us result of dput(head(data)) or output from str(data)?

Anyway I wonder how time can became temperature. R is smart but I do not believe that during import it somehow gets a local temperature at given time and put it in your data.

Regards
Petr


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Grigory Fateyev
> Sent: Thursday, January 24, 2013 11:58 AM
> To: r-help at r-project.org
> Subject: [R] Wrong csv data?
> 
> Hello!
> 
> I have csv file (attached) with any data, where first column is time.
> When I read into data.frame become temperature values. What it can be?
> 
> data <- read.csv("rp5_vladimir2010.csv", colClasses = "character", sep
> = ";") names(data) data$Time data[,1]
> 
> --
> Всего наилучшего!
> greg [at] dobroe [dot] ru Григорий.


More information about the R-help mailing list