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.

______________________________________________
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