Displaying 4 results from an estimated 4 matches for "rmxe".
Did you mean:
rmse
2016 May 01
2
Storage of byte code-compiled functions in sysdata.rda
...-- even in two degrees of
completeness ;-): see below.
Thanks again, Peter
%-----------------------------------
(I) first example
%-----------------------------------
Just to reproduce the error, on r-devel, try:
install.packages("RobAStRDA")
require(RobAStRDA)
getFromNamespace(".RMXE", ns = "RobAStRDA")[["GEVFamily"]][["fun.N"]][[1]](1.3)
%-----------------------------------
(II) an example also giving the context
%-----------------------------------
For the "complete" story, not only the R-code needs to be given, but also the
prepa...
2016 May 01
2
Storage of byte code-compiled functions in sysdata.rda
...x-y grids, in the sysdata.rda file of RobAStRDA, we store the results
of calls to approxfun/splinefun to these grids from within a session with pkg RobAStRDA
require()d. From pkg RobExtremes we then call these interpolating functions by means of
a call (essentially) as:
getFromNamespace(".RMXE", ns = "RobAStRDA")[["GEVFamily"]][["fun.N"]][[1]](1.3)
upon which we get the announced "Error in fct(x) : byte code version mismatch" while the same
code does work for R-3.1.3.
The list element "fun.N" in the above call already accounts for...
2016 May 05
0
Storage of byte code-compiled functions in sysdata.rda
I can't reproduce the more complex version. But the package on CRAN
fails in the same way on 3.2.3 and 3.3.0.
The problem is that your sysdata.rda includes a function that is
generating this error. If you do
f <- getFromNamespace(".RMXE", ns ="RobAStRDA")[["GEVFamily"]][["fun.N"]][[1]]
g <- get("fct", environment(f))
and look at the byte code for g with compiler::disassemble or the
utility I'll paste in below you get
> getbc(g)
list(8L, BCMISMATCH.OP)
The only way you can g...
2016 May 01
0
Storage of byte code-compiled functions in sysdata.rda
....rda file of RobAStRDA, we store the results
> of calls to approxfun/splinefun to these grids from within a session with pkg RobAStRDA
> require()d. From pkg RobExtremes we then call these interpolating functions by means of
> a call (essentially) as:
>
> getFromNamespace(".RMXE", ns = "RobAStRDA")[["GEVFamily"]][["fun.N"]][[1]](1.3)
>
> upon which we get the announced "Error in fct(x) : byte code version mismatch" while the same
> code does work for R-3.1.3.
>
> The list element "fun.N" in the above...