[R] plotting big zoo object memory problem

From: stephen sefick <ssefick_at_gmail.com>
Date: Wed, 05 Mar 2008 10:00:31 -0500


the comma seperated file is 37Mb, and I get the below message: it is zoo object read in this way:

# chron
> library(chron)
> fmt.chron <- function(x) {
+ chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x)) + }
> z1 <- read.zoo("all.csv", sep = ",", header = TRUE, FUN = fmt.chron)

and then the plot is done with:

> plot(z2[, c(2, 15, 28, 41, 54, 67, 80, 93, 106)], main="SpCond 9/6/06 on", xlab="Date")

and the resulting warning message:

Warning messages:
1: In attr(x, "index") <- attr(x, "oclass") <- attr(x, "frequency") <- NULL :   Reached total allocation of 502Mb: see help(memory.size) 2: In attr(x, "index") <- attr(x, "oclass") <- attr(x, "frequency") <- NULL :   Reached total allocation of 502Mb: see help(memory.size)

it still plots the file. I am currently limited to my computer at work with only 504Mb of RAM (windows), and my computer at home with 1Gb of RAM (Macintosh). But I will probably be using my work computer for a lot of analysis on this data set (and it will become marginally larger). Will this be a problem? I am a biologist not a computer scientist.
thanks for the help

-- 
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis

______________________________________________
R-help_at_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.
Received on Wed 05 Mar 2008 - 15:04:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Mar 2008 - 16:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive