repost from the subscribed address... --- On Fri, 1/4/11, Hin-Tak Leung <ht...@users.sourceforge.net> wrote:
> --- On Wed, 30/3/11, Douglas Bates > <ba...@stat.wisc.edu> > wrote: > > > I isolated the problem and tested then committed a > fix. I > > am going to > > ask Martin to upload the new release as I have gotten > out > > of sync with > > some of his recent changes and he will, I hope, > reconcile > > the branches > > and trunk. If you need the fixed version > immediately, > > say for > > testing, the changes are in the file > > Matrix/src/chm_common.c You can > > visit the SVN archive for the project, > > https://r-forge.r-project.org/scm/?group_id=61, click > > on the link to > > Browse Subversion Repository and go to > > pkg/Matrix/src/chm_common.c > > > > I made the mistake that I chastised others for > making, > > performing an > > operation on the result of a call to install and > another > > value that > > may have required allocation of memory. The first > > time install is > > called on a particular string it allocates and > SEXPREC, > > which may > > cause a garbage collection. > > Have a different (but similiar) problem git cherry-picking > > trunk@2658 on top of Matrix-for-R-2.13@2657. > trunk@2658 + Matrix-for-R-2.13@2657 should be identical to > Matrix-for-R-2.13@2659 which you committed earlier > (according to git svn rebase): > > > pkgname <- "Matrix" > > source(file.path(R.home("share"), "R", > "examples-header.R")) > > gctorture(TRUE) > > options(warn = 1) > > library('Matrix') > Loading required package: lattice > Error in regexpr("package:", envName, fixed = TRUE) : > unprotected object (0x3a52538) encountered (was > INTSXP) > Error: package/namespace load failed for 'Matrix' > Execution halted > > I also found a different problem, but it looks like it is a > different part of R and possibly in utils. I'll write > separately and CC' you (the Matrix authors) on it. > > > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel