Hi All,

 

I have 2 questions:

1.       Import: when I import my txt file (X,Y and Z) in R with "testground
<- read.table(file="c:/work_LIDAR_USA/R_kriging/ground26841492694149.txt",
header=T)", I lost the 4 number after the point (".").  does It possible add
in the code the possibility to read the 4 numbers after the .

 

2.       Does It possible to write a X, Y,  Z *txt file without the ID in R
and sep"," for the rows?

 

Example:

Original data:

X Y Z

26800.4700 4149983.9400 1543.3900

....... ......... ......

 

I wish to create a txt file (with "," sep):

X, Y, Z

26800.4700, 4149983.9400, 1543.3900

......., ........., ......

 

Thanks (It's Friday night, sorry I am tired)

 

Ale


        [[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.

Reply via email to