[R] Problem with retreaving numeric data

Daniel Malter daniel at umd.edu
Thu Feb 11 09:10:51 CET 2010


My guess is that you cannot keep it numeric, but that you have to convert it
to a string (the gurus may know better).

x=001
x

x="001"
x

Daniel

-------------------------
cuncta stricte discussurus
-------------------------
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of venkata kirankumar
Sent: Thursday, February 11, 2010 2:47 AM
To: r-help at r-project.org
Subject: [R] Problem with retreaving numeric data

Hi all,
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

thanks in advance
kiran

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list