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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of venkata kirankumar
Sent: Thursday, February 11, 2010 2:47 AM
To: r-help@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@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.

______________________________________________
R-help@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.

Reply via email to