[R] Problems with R memory usage on Linux

2008-10-15 Thread B. Bogart
-o size SZ 2732124 Which should give me an extra 300MB in R. I still get the same error about R being unable to allocate another 2.3MB. I deleted well over 2.3MB of objects... Any suggestions as to get around this? Is the only way to use all 4GB in R to use a 64bit kernel? Thanks all, B

[R] reducing memory usage WAS: Problems with R memory usage on Linux

2008-10-15 Thread B. Bogart
of somlist of memory? Thanks for your help, Prof Brian Ripley wrote: Or ?Memory-limits (and the posting guide of course). On Wed, 15 Oct 2008, Prof Brian Ripley wrote: See ?Memory-size On Wed, 15 Oct 2008, B. Bogart wrote: Hello all, I'm working with a large data-set, and upgraded my RAM

[R] Advice for working with Sammon's Projection on image data

2008-05-31 Thread B. Bogart
to compare it to the topology of the SOM weights trained on that data. The projections should be similar is topology is being preserved correct? Any advice appreciated. Thanks, B. Bogart __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

[R] Converting qqplot2 qplot() to grammar?

2008-05-12 Thread B. Bogart
, is there a better way? Oh, and I can't find documentation for opts() on the ggplot2 website, where is it available? Thanks all, Hadley in particular, B. Bogart __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] best practise for organizing data for ggplot faceting?

2008-02-22 Thread B. Bogart
=tile, fill=rgb) + scale_fill_identity() + opts(aspect.ratio = .75) I would like to facet so each som_image is in a 6x6 matrix (0 in the lower left, 36 in the upper right) Thanks so much for your time, B. Bogart hadley wickham wrote: Probably the easiest thing is to do: df$rgb - with(data, rgb

[R] jpeg() creating empty files with qplot() in a loop

2008-02-21 Thread B. Bogart
generates a proper jpeg file and the lattter does not? Does something more special than dev.off() need to be done with qplot output when in a loop? Thanks, B. Bogart __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] using image to show RGB image data ?

2008-02-04 Thread B. Bogart
three channels simultaneously as a proper colour image? Thanks, B. Bogart __ 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

[R] How to calculate the mean of all values in a list or dataframe

2008-01-11 Thread B. Bogart
the mean of all the values in all the runs. What is the best type for collecting a set of numeric vectors of differing lengths in a for loop for the most flexibility and ease of using functions on the whole data or parts of it? Thanks for your time, B. Bogart

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
way of dealing with it? I need to timezone or daylight saving stuff really, but seconds are imperative! (actually I've ended up with multiple events per second, which could cause future troubles, so msec may even be needed. Thanks, B. Bogart Following are all my attempts to get R to read seconds

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
of dealing with it? I need to timezone or daylight saving stuff really, but seconds are imperative! (actually I've ended up with multiple events per second, which could cause future troubles, so msec may even be needed. Thanks, B. Bogart Following are all my attempts to get R to read seconds

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
=%Y-%m-%d_%H:%M:%S) Error in if (regexpr(/, charvec[1])[[1]] 0) return(%m/%d/%Y) : missing value where TRUE/FALSE needed Thanks so much, I don't see how I could have known I would have to put . in place of : in the format string. B. Bogart Simon Fraser University jim holtman wrote

[R] How to format data for time-series analysis

2007-10-28 Thread B. Bogart
as the colClass. Any advice? Thanks, B. Bogart __ 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

[R] How to format data for time-series analysis

2007-10-22 Thread B. Bogart
). Thanks all, B. Bogart Simon Fraser Unversity __ 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