Displaying 1 result from an estimated 1 matches for "cppmethod__invoke_notvoid".
2011 Sep 09
1
Saving Rcpp Objects for Future Use
...rary(rdevelhelp)
>x <- new(World)
>x$set("help me")
>x$greet()
"help me"
>save(x, "x.RData")
>q()
// reload R
>library(rdevelhelp)
>load("x.RData")
> ### here comes the problem...
> x$greet()
Error in .External(list(name = "CppMethod__invoke_notvoid", address =
<pointer: 0x0>, :
NULL value passed as symbol address
>q()
################
is there a best practice to solving this problem? I have read some posts
about external pointers and have learned a little about serialization, but
want to make sure I am approaching the probl...