cyl123
2014-Feb-27  06:06 UTC
[R] problem of calculate mean value of large time series data
Hi, I have 20,000 time series variants whose length is about 3000 , and i need to calculate the mean value of each variant. I invoke R with a java client named RCaller, and I assigned the values of these time series variants using RCaller. The problem is : After I start running, the java program hangs. The program seems ok with small size of data. Could anyone help me with this? Thanks Hellen [[alternative HTML version deleted]]
Jeff Newmiller
2014-Feb-27  06:37 UTC
[R] problem of calculate mean value of large time series data
If all you want is the mean, why not do it in Java? That sounds like a half
gigabyte of memory in the best case, and you are trying to move it around from
process to process, making copies here and there. If you are on 32 bit OS then
that will fragment your memory pretty quick.
Anyway, you should read the Posting Guide... HTML email should be plain text, no
reproducible example, no sessionInfo... plenty of "opportunities for
excellence" here.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On February 26, 2014 10:06:18 PM PST, cyl123 <505186154 at qq.com>
wrote:>Hi,
>
>
>I have 20,000 time series variants whose length is about 3000 , and i
>need to calculate the mean value of each variant. I invoke R with a
>java client named RCaller, and I assigned the values of these time
>series variants using RCaller.
>
>
>The problem is : After I start running, the java program hangs.
>
>
>The program seems ok with small size of data.
>
>
>Could anyone help me with this?
>
>
>Thanks 
>
>
>Hellen
>	[[alternative HTML version deleted]]
>
>______________________________________________
>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.