[R] how to scientific notation numbers

From: HelponR <suncertain_at_gmail.com>
Date: Fri, 21 Mar 2008 19:53:20 -0700

Hi, Sorry I have to bother you a question.

I have a file with each line like this:

 6.5500000000000000e+004 2.8235000000000001e+000 3.2000000000000000e+001 1.1580000000000000e+003 2.4400000000000000e+002 5.9800000000000000e+002 2.2700000000000000e+002 3.9030000000000001e+001 -1.2137000000000000e+002

However, I use read.table, it cannot read it correctly. It read in 18 variables instead of 9.

I am so frustrated. I tried to search the archive. Seems nobody else has this problem.

Thank you!


        [[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. Received on Sat 22 Mar 2008 - 02:59:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 22 Mar 2008 - 08:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive