[R] read.table question

Dan Davison davison at stats.ox.ac.uk
Sat Aug 9 10:38:35 CEST 2008


On Fri, Aug 08, 2008 at 07:27:13PM -0700, Alessandro wrote:
> Hi All.
> 
>  
> 
> I have a file txt with 3 columns (X, Y and Z).  every rows has 4 decimal
> place (i.e. x.xxxx). I use read.table to import the data in R, but with
> summary(), I don't see the decimal place after the dot. Is there any way for
> me to preserve the information?

I hope I've answered this in the first thread on the subject.

https://stat.ethz.ch/pipermail/r-help/2008-August/170422.html

Dan

p.s. People don't like it if you submit the same question twice.


> 
>  
> 
> testground <- read.table
> (file="c:/work_LIDAR_USA/R_kriging/ground26841492694149.txt", header=T)
> 
>  
> 
> thanks
> 
>  
> 
> Ale
> 
> 
> 	[[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