[R] not complete character in csv file
threshold
r.kozarski at gmail.com
Mon Dec 12 13:23:33 CET 2011
Dear R users, I got the following problem. Given that
> data[3,2]
[1] "010252"
Code:
intro <- data.frame()
intro[1,1] <- as.character(data[3,2])
write.csv(intro, file='intro.csv')
In 'intro.csv' file I am loosing the 0 in frot of 10252, which I need. Is
there a way to keep the full character saved? R 2.13.2 (64 bit).
Thanks, robert
--
View this message in context: http://r.789695.n4.nabble.com/not-complete-character-in-csv-file-tp4185785p4185785.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list