[R] reading "surfer" files
RagingJim
nowa0021 at flinders.edu.au
Wed Feb 24 05:50:08 CET 2010
The problem is, if I use read.table I get "Error in
read.table("HeatLow_maphhs000.19940101010000") :
duplicate 'row.names' are not allowed"
if I try "table<-read.table("HeatLow_maphhs000.19940101010000",sep=" ")"
Then I get:
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 1 did not have 7 elements
Because the first 4 lines in the file will always read something like:
"DSAA
64 64
0.5000000E+04 0.6350000E+06
0.5000000E+04 0.6350000E+06
-0.2328914E+02 0.2786890E+03"
Obviously I am doing somethin incorrectly with the read.table input. But
being a very new user my R understanding is still fairly limited.
--
View this message in context: http://n4.nabble.com/reading-surfer-files-tp1566943p1566957.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list