Re: [R] Zoo seems to be running slow in R 2.8.0 windows

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue, 04 Nov 2008 12:09:48 -0500

See ?Rprof

On Tue, Nov 4, 2008 at 12:01 PM, stephen sefick <ssefick_at_gmail.com> wrote:
> R version 2.8.0 (2008-10-20)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] StreamMetabolism_0.01 chron_2.3-24 zoo_1.5-4
>
> loaded via a namespace (and not attached):
> [1] grid_2.8.0 lattice_0.17-15
>
>
> I have a large data set that I have been reading in the same way
> read.production() from the StreamMetabolism package and it has worked
> in the past without a hitch
>
> ##########code provided#############
> read.production <- function(data) { read.zoo(data, sep = ",", FUN =
> fmt.chron, header = TRUE)}
>
> fmt.chron <- function (x) {chron(sub(" .*", "", x), gsub(".* (.*)",
> "\\1:00", x))}
>
> this is the first time that I have used this data since the upgrade to
> 2.8 and it is taking longer to preform operations. What can I do to
> help diagnose the problem. I know this is not reproducible, but I
> don't know without sharing the entire data set how to do that.
> Thanks in advance
>
>
> --
> Stephen Sefick
> Research Scientist
> Southeastern Natural Sciences Academy
>
> 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.
>



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 Tue 04 Nov 2008 - 17:13:23 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 Tue 04 Nov 2008 - 19:30:25 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