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

2008-10-15 Thread B. Bogart
nly uses 2x the size 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,

[R] Problems with R memory usage on Linux

2008-10-15 Thread B. Bogart
$ ps -C R -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? Tha

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

2008-05-31 Thread B. Bogart
the topology of my test data in order 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 li

[R] Converting qqplot2 qplot() to grammar?

2008-05-12 Thread B. Bogart
wn after I call dev.off(). I have no idea why this would be so. Setting name and breaks to " " seems like a hack to get rid of the axis stuff, 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

[R] Converting qqplot2 qplot() to grammar?

2008-05-12 Thread B. Bogart
wn after I call dev.off(). I have no idea why this would be so. Setting name and breaks to " " seems like a hack to get rid of the axis stuff, 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

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

2008-02-22 Thread B. Bogart
y, data=som_images[[1]], geom="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: > Prob

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

2008-02-21 Thread B. Bogart
(V1,V2,V3)) + scale_fill_identity() + opts(aspect.ratio = .75) dev.off() So what could be the difference between the last example and it running in a loop, that the former generates a proper jpeg file and the lattter does not? Does something more special than dev.off() need to be done with qp

[R] using image to show RGB image data ?

2008-02-04 Thread B. Bogart
But is there a way I can show all 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/

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

2008-01-11 Thread B. Bogart
ments. I would like 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 y

Re: [R] its does not recognize POSIXct w/ both time and Date?

2007-11-07 Thread B. Bogart
rmat="%Y-%m-%d_%H:%M:%S")) And now all is well. Thanks for your help. B. Bogart Gabor Grothendieck wrote: > On Nov 5, 2007 3:50 PM, B. Bogart <[EMAIL PROTECTED]> wrote: > >> Hello all, >> >> I'm getting much further with my time-series work, but

[R] its does not recognize POSIXct w/ both time and Date?

2007-11-05 Thread B. Bogart
s or zoo or fCalendar or anything) that allows me to use tools such as unique() and so on and have the times (not only dates) considered? I've chosen its because it seems to have pretty good ts specific plotting stuff in there, but I'd be willing

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

2007-11-02 Thread B. Bogart
es this not work: > date = timeDate(as.character(inputdate),format="%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 woul

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

2007-11-02 Thread B. Bogart
o many date classes/methods in R, what is considered the standard 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. Than

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

2007-11-02 Thread B. Bogart
th so many date classes/methods in R, what is considered the standard 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.

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

2007-10-28 Thread B. Bogart
20 BMU 50 11 3-11-20 BMU 20 12 4-11-20 DPMS EndNA 13 5-11-20 Dream EndNA Same results as using "Date" as the colClass. Any advice? Thanks, B. Bogart __ R-help@r-project.org mailing list https://s

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

2007-10-22 Thread B. Bogart
ood tutorial for that please let me know). 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 pr