From ggrothendieck at gmail.com  Wed Nov 19 00:31:51 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 18 Nov 2008 18:31:51 -0500
Subject: [Rd] anyone familiar with this error?
In-Reply-To: <8ec76080811181407o6dc6b392q68a8948a7cf534e6@mail.gmail.com>
References: <8ec76080811181407o6dc6b392q68a8948a7cf534e6@mail.gmail.com>
Message-ID: <971536df0811181531m1a000bfw10e99b28e63baf78@mail.gmail.com>

Don't really know but you could see if the info in Avoiding R Bugs
section on the http:/r-proto.googlecode.com page applies, particularly
the first point on Lazy Loading.

On Tue, Nov 18, 2008 at 5:07 PM, Whit Armstrong
<armstrong.whit at gmail.com> wrote:
> [whit at linuxsvr R.packages]$ sudo R CMD INSTALL  portfolio.construction
> * Installing to library '/usr/local/lib64/R/library'
> * Installing *source* package 'portfolio.construction' ...
> ** R
> ** preparing package for lazy loading
> Loading required package: fts
> Loading required package: quadprog
> Loading required package: Rexcelpoi
> terminate called after throwing an instance of 'std::logic_error'
>  what():  basic_string::_S_construct NULL not valid
> /usr/local/lib64/R/bin/INSTALL: line 455: 25001 Done
>  ( echo "options(warn=1); invisible(.libPaths(c(\"${lib}\",
> .libPaths()))); .getRequiredPackages();
> tools:::makeLazyLoading(\"${R_PACKAGE_NAME}\", \"${lib}\")" )
>     25002 Aborted                 (core dumped) | R_DEFAULT_PACKAGES=
> LC_ALL=C "${R_EXE}" --vanilla --slave
> ERROR: lazy loading failed for package 'portfolio.construction'
> ** Removing '/usr/local/lib64/R/library/portfolio.construction'
> ** Restoring previous '/usr/local/lib64/R/library/portfolio.construction'
> [whit at linuxsvr R.packages]$
>
>
> I've tried a few things, but can't seem to track down the problem.
>
> it's leaving core files in my package directory.  (not in the .Rcheck
> directory, directly in the package dir)
>
> Thanks,
> Whit
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] anyone familiar with this error?
Gabor Grothendieck