similar to: Memory leak during instantiation of a reference class?

Displaying 20 results from an estimated 200 matches similar to: "Memory leak during instantiation of a reference class?"

2006 Feb 27
1
question about Principal Component Analysis in R?
Hi all, I am wondering in R, suppose I did the principal component analysis on training data set and obtain the rotation matrix, via: > pca=prcomp(training_data, center=TRUE, scale=FALSE, retx=TRUE); Then I want to rotate the test data set using the > d1=scale(test_data, center=TRUE, scale=FALSE) %*% pca$rotation; > d2=predict(pca, test_data, center=TRUE, scale=FALSE); these two
2010 Jan 18
2
An argument processing puzzle.
I have been trying to write a function mv(a,b) to move an object a to object b. It returns no value, but only exists for this side effect. Basically it just does b <- a; rm(a). With some checking and prompting about over-writing. The thing is, I'd like to be able to use either call by name or call by value syntax. I.e. I want to set up my argument processing so that mv(a,b)
2007 Oct 11
4
Can't get XFS enabled on Centos 5.0
I anm trying to enable XFS with no success. I followed the instructions provided in http://wiki.centos.org/Repositories/CentOSPlus I installed the new kernel. Example: 2.6.18-8.1.14.el5.centos.plus I also installed these packages as described in a post I found yum install --enablerepo=centosplus xfsprogs xfsprogs-devel lsmod shows nothing about XFS I would image there are others out there
2005 Apr 08
1
orphaning CRAN packages
Dear R Developers, the following CRAN packages do not cleanly pass R CMD check for quite some time now and did not have any updates since the time given. Several attempts by the CRAN admins to contact the package maintainers had no success. norm, 1.0-9, 2002-05-07, WARN sound, 0.6, 2002-08-31, WARN Bhat, 0.9-07, 2003-11-04, WARN HI, 0.1, 2003-11-04, WARN mmlcr, 1.3.2, 2003-11-15, WARN mvnmle,
2005 Aug 09
2
How to pre-filter large amounts of data effectively
Hi, I'm a R newbie and want to accelerate the following pre-filtering step of a data set with more than 115,000 rows : #----------------- # Function to filter out constant data columns filter.const<-function(X, vectors=c('column', 'row'), tol=0){ realdata=c() filteredX<-matrix() if( vectors[1] == 'row' ){ for( row in (1:nrow(X)) ){ if(
2010 Dec 29
1
Problem applying Chi-square in R and Cochran's Recommendations
Sir, I have a problem here while applying chisquare test to the following Data ( below the subject of this mail) ...when I wanted to test the significance using three different free statistical packages, here R, EpiInfo and OpenEpi. *Only OpenEpi accepts the test based on Cochran's Recommendations. * R says " chi squared approximation may be incorrect." Does it mean the same as
2002 Sep 16
0
mosaicplot enhancements (PR#2023)
This is a feature request for mosaicplot, including the suggestion for the code changes (mosaicplot.R) and docs (mosaicplot.Rd) by Wolfram Fischer and myself, diff'ed to 1.6.0 beta (2002-09-14): Uwe Ligges .../src/library/base/R/mosaicplot.R: ==================================================== 11a12,13 > ### Changes by W. Fischer and U. Ligges: > ## - Deparsing x in for main
2008 Jun 08
0
Can't run Baldur's Gate II - Shadows of Anm
I am using Fedora 8 with Wine 1.0 rc3. The game seemed to install ok. I did a full install. When I try to run baldur.exe from the wine menu in KDE I get a splash screen opening up with the options to install, exit , configure, update and demos. I also get a message box telling me that I have to install Baldur's Gate II before playing. As far as I can tell, it's installed. Can anyone help
2007 May 31
0
Merging two data objects question
I have two R objects, allDataSubset1 and allDataSubset2 and the str of both of them is shown below ( I don't show all 18 lists for space purposes ). The difference between them is that the times ( and possibly the days ) and the data is different and what I want to do is merge them so that only the data in Subset2 that is the same day and times as Subset 1 remains in the merged dataset.
2011 Jan 07
0
Odp: Currency return calculations
My mistake sir. I was literally engrossed in my stupid logic, and while doing so, overlooked the simple and very effective solution you had offered. Sorry once again sir and will certainly try to be very careful in future. Thanks again and have a great weekend sir. Regards Amelia --- On Fri, 7/1/11, Petr PIKAL <petr.pikal@precheza.cz> wrote: From: Petr PIKAL
2011 Jul 23
2
analizing .txt file with R or an other program
Hello together I have a .txt file with about 1Mio! rows. Sometimes the rows are in the following order (whereas the number of rows between the rows marked with an x differ): ... *SBLINK R 5261507*x 5261439 516.4 364.3 9148.0 ... 816.0 -1133.0 48.4 MA.C.TB...BL. 5261441 516.4 364.0 9145.0 ... 799.0 -1135.0 48.7 MA.C.TB...B.. 5261443 516.4 363.9 9140.0 ... 817.0
2011 Jan 07
1
Calculating Returns : (Extremely sorry for earlier incomplete mail)
Dear R forum helpers, I am extremely sorry for the receipt of my incomplete mail yesterday. There was connectivity problem at my end and so I chose to send the mail through my cell, only to realize today about the way mail has been transmitted. I am again sending my complete mail through regular channel and sincerely apologize for the inconvenience caused. ## Here is my actual mail Dear R
2023 Aug 13
4
Noisy objective functions
While working on 'random walk' applications, I got interested in optimizing noisy objective functions. As an (artificial) example, the following is the Rosenbrock function, where Gaussian noise of standard deviation `sd = 0.01` is added to the function value. fn <- function(x) (1+rnorm(1, sd=0.01)) * adagio::fnRosenbrock(x) To smooth out the noise, define another
2011 Jan 07
1
Currency return calculations
Dear sir, I am extremely sorry for messing up the logic asking for help w.r.t. my earlier mails   I have tried to explain below what I am looking for.     I have a database (say, currency_rates) storing datewise currency exchange rates with some base currency XYZ.   currency_rates <- data.frame(date = c("12/31/2010", "12/30/2010", "12/29/2010",
2011 Jan 17
1
isoreg memory leak?
I believe there is a memory leak in isoreg in the current version of R, as I believe the following shows > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 120405 3.3 350000 9.4 350000 9.4 Vcells 78639 0.6 786432 6.0 392463 3.0 > for(k in 1:100) { + + y <- runif(10000) + isoreg(x,y) + } > rm(x) > rm(y) > gc() used (Mb) gc
2007 Apr 16
1
Names in vector occurring in another vector
I have a vector of character strings such as mainnames<-c("CAD","AUD") and another vector say checknames<-c("CAD.l1","AUD.l1","JPY.l1","EUR.l1","CAD.l2","AUD.l2","JPY .l2","EUR.l2") I want a new vector of character strings that is just
2006 Oct 24
0
plot(all.effects)
Dear r-helpers, plot(all.effects()) uses trellis for its output, and often produces several effect plots in a layout. Can anyone tell me how to set the arguments to plot.effect which default to row=1, col=1, nrow=1, ncol=1, more=FALSE so that I can plot multiple effect plots on one layout? I was hoping that a call like last <- rep(c(TRUE, FALSE), c(3, 1)) lay <-matrix(c(1:4,), 2, 2,
2011 Sep 01
2
how to plot a series of data in a dataframe?
hi i have a dataframe with the name "obsdata" V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 1 1001 3 24 12 24.7 44.4 70.1 49.3 33.7 3.0 6.8 2.7 NA 2 1001 3 25 0 70.1 49.3 33.7 138.2 152.5 NA 4.2 6.9 17.5 3 1001 3 25 12 33.7 187.7 286.5 386.7 NA 16.2 46.0 48.8 43.1 4 1001 3 26 0 88.6 129.4 NA NA
2007 May 23
1
I made some progress on my previous "systemfit" question but still not quite there
Surprisingly, I played around with some test code and below actually creates equations that look correct. tempmat<-matrix(10,nrow=6,ncol=6) restrictmat<-diag(6) colnames(tempmat)<-c("AUD.l1","CHF.l1","CAD.l1","GBP.l1","EUR.l1","JPY.l 1")
2006 Dec 10
1
Problem faxing with SPA2100 in passthru mode.
Hi everyone, I'm trying to send a FAX with the following configuration: Analog FAX machine (OKI) <----->SPA21000<----->LAN<----->Asterisk<--------> PSTN I'm restricted to use passthru mode for faxing, instead of T.38 protocol, because the Asterisk box is running v1.2 and cannot be changed as it is in a heavy production environment. Anyway, it "should"