[R] .Call works in R 2 not in R 3

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Mar 8 14:46:25 CET 2016



On 08.03.2016 12:01, Sebastien Moretti wrote:
> Hi
>
> I inherited a R package done in 2004 that works perfectly in R 2.15.1
> and before, but not in R 3.2.2 ( >= 3).
>
> I have already fixed issues with namespace for functions in R 3 but
> maybe not all of them.
>
> Here is the error message:
> Error in .Call("R_cutree", tree$merge, k, PACKAGE = "stats")
> "R_cutree" not available for .Call() for package "stats"

Why do you .Call() into another package? Rather use the API.

Best,
Uwe Ligges



>
>
> Thanks for your help
>



More information about the R-help mailing list