[R] Problem with retreaving numeric data
dieter.menne at menne-biomed.de
Thu Feb 11 09:00:03 CET 2010
> I am trying to get a value from a dataset in data set its stored as 001
> but while i am trying to retreave it its giving as 1 can any one help me
> to retreave it as 001
I have to guess if you used a boomerang or a sling to retrieve your data. My
blind guess is you used read.table, or odbc.
Assuming read.table: use the parameter colClasses to force that column to be
read in as a string instead of a number. The function uses the first few
lines to guess the data type, which can be wrong.
View this message in context: http://n4.nabble.com/Problem-with-retreaving-numeric-data-tp1476934p1476943.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help