I have a data file with 50 columns. Among them, there are two
coordinates, X and Y

X

Y

641673.78807

3607080.78438

641436.56207

3607108.30543

641165.28042

3607136.82957

640879.58373

3607116.20568

 

When I use read.table, it rounds X and Y to the maximal 8 decimal number
as.

 

641673.8  3607081

641436.6  3607108

641165.3  3607137

640879.6  3607116

640683.5  3607105

 

My question is how to specify these two columns in read.table. Maybe
colClasses helps but I have 50 columns... 

 

Thanks

 

Weidong Gu, 

Department of Medicine
University of Alabama, Birmingham
1900 University Blvd., Birmingham, Alabama 35294
Email: [EMAIL PROTECTED]
PH: (205)-975-9053

 


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