Re: [R] plotting big zoo object memory problem

2008-03-05 Thread Gabor Grothendieck
You could try plotting it in pieces to use less RAM. library(zoo) library(chron) z <- zoo(1:10, chron(1:10)) # same as plot(z) plot(z[1:5], ylim = range(z), xlim = range(time(z))) lines(z[5:10]) On Wed, Mar 5, 2008 at 10:00 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > the comma seperated file

[R] plotting big zoo object memory problem

2008-03-05 Thread stephen sefick
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 t