Message-ID: <1323692613078-4185785.post@n4.nabble.com>
Date: 2011-12-12T12:23:33Z
From: threshold
Subject: not complete character in csv file
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.