rew C
Sent: Wednesday, August 12, 2009 9:44 AM
To: r-help@r-project.org
Subject: [R] R numeric string problem
Hi,
I have a text (.dat) file, in which each row contains several long numeric
strings. One of the strings is 38 digits long, for example:
03200801200801172008011720092904008901
When I r
Use colClasses argument in read.table to set the class of column:
For a file with two columns, where the first is string and the other is
numeric:
read.table('your_file.dat', colClasses = c('character', 'numeric'))
On Wed, Aug 12, 2009 at 1:43 PM, Andrew C wrote:
>
> Hi,
>
> I have a text (.da
Hi,
I have a text (.dat) file, in which each row contains several long numeric
strings. One of the strings is 38 digits long, for example:
03200801200801172008011720092904008901
When I read in the data file, this string shows up as 3.200801e+36. To get
rid of the scientific notation, I used "
3 matches
Mail list logo