[Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session

Anwar Ludin anwar.ludin at riskcetera.com
Thu May 30 17:19:34 CEST 2013


I've attached the  source package to this mail.



On 05/30/2013 04:59 PM, Anwar Ludin wrote:
> Hello,
>
> I am experiencing a strange behaviour when unloading/reloading a 
> custom package written using Rcpp. The initial load works perfectly 
> and I can use the package as intended.
>
>> library(RiskCeteraPricing)
>
> ## everything OK
>
> When unloading the package I get the following warning:
>
>> detach("package:RiskCeteraPricing", unload=TRUE)
> Warning message:
> In FUN(X[[2L]], ...) :
>   Created a package name, ‘2013-05-30 14:49:40’, when none found
>
>
> Trying to reload the packages provokes a core dump of my R session.
>
> Has anyone experienced this?
>
>
>
>
> Regards,
>
> Anwar
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: RiskCeteraPricing_1.0.tar.gz
Type: application/x-gzip
Size: 2088 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130530/027ddbc1/attachment.bin>


More information about the Rcpp-devel mailing list