On May 3, 2010, at 6:16 PM, Carson Baughman wrote:

All-
Thank you in advance for any help you might be able to lend. Here is
my issue.  I am trying to open a fairly large .dat file.  The file
originally was downloaded as a GZ file but I unzipped it (with 7- zip) into it's current 1.86 gig .dat format. I know that the data is "just a plain ASCII file with 720 columns and 360 rows per time step (month). It should be
readable by anything!"  There are 1272 steps.

What's a step?

 Here is what happens when I
try to assign the file to an object:

clds<-read.table("C:\\CRU
Data\\TS3.0\\Cloud\\cru_ts_3_00.1901.2006.cld.dat", header = TRUE, row.names
= 1)
      Error in read.table("C:\\CRU
Data\\TS3.0\\Cloud\\cru_ts_3_00.1901.2006.cld.dat",  :
      duplicate 'row.names' are not allowed

If you want to assign rownames that are different than the default sequential integers, you need to offer a vector of unique character values. Perhaps you wanted to specify row.names=NULL ?

     In addition: There were 45 warnings (use warnings() to see them)
warnings()
1: In scan(file, what, nmax, sep, dec, quote, skip, nlines, ... :
      Reached total allocation of 1535Mb: see help(memory.size)
      X 25
26: In type.convert(data[[i]], as.is = as.is[i], dec = dec, ... :
      Reached total allocation of 1535Mb: see help(memory.size)

Sounds like you may be in trouble with memory resources. As the message says, see :

help(memory.size)



--
Carson Baughman
Cell: (406) 360-9254
University of Alaska Fairbanks
Scenarios Network for Alaska Planning

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

David Winsemius, MD
West Hartford, CT

______________________________________________
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