Hin-Tak Leung
2011-Apr-01 14:21 UTC
[Rd] Fw: Re: core Matrix package segfaulted on R CMD check --use-gct
repost from the subscribed address... --- On Fri, 1/4/11, Hin-Tak Leung <htl10 at users.sourceforge.net> wrote:> --- On Wed, 30/3/11, Douglas Bates > <bates at 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 at 2658 on top of Matrix-for-R-2.13 at 2657.? > trunk at 2658 + Matrix-for-R-2.13 at 2657 should be identical to > Matrix-for-R-2.13 at 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. > > >
Reasonably Related Threads
- core Matrix package segfaulted on R CMD check --use-gct
- "R CMD check" accepts but "R CMD INSTALL" rejects a tar ball.
- Thai vignette, cross-compile for Mac OS X, universal/multiarch (Fwd: Mac OS X builds of CelQuantileNorm, vcftools/samtools/tabix, and snpStats)
- Help on Installing Matrix Package in Linux (Fedora)
- Problem with predict() and factors