Displaying 5 results from an estimated 5 matches for "registerednativesymbol".
2016 Jul 18
1
failed to assign RegisteredNativeSymbol for splitString
...Platform: x86_64-pc-linux-gnu/x86_64 (64-bit)
$ /usr/local/pkg/R-3.2-branch-20160718/bin/R --vanilla --no-restore --no-save --silent
> splitString <- function(...) { print("Test, do nothing") }
> invisible(tools::toTitleCase)
Warning message:
failed to assign RegisteredNativeSymbol for splitString to splitString since splitString is already defined in the 'tools' namespace
Another way to trigger that warning is by loading the knitr package, e.g.:
> require("knitr")
Loading required package: knitr
Warning: failed to assign RegisteredNativeSymbo...
2013 May 02
1
loading of an unwanted namespace
...coef) z p
age 0.0187 1.02 0.0092 2.03 0.042
Likelihood ratio test=4.24 on 1 df, p=0.0395 n= 228, number of events= 165
>
> # That worked fine, but the next fails
> coxph(Surv(time, status) ~ pspline(age), data=lung)
Error in FUN(X[[2L]], ...) :
(converted from warning) failed to assign RegisteredNativeSymbol for Cagfit5a to Cagfit5a
since Cagfit5a is already defined in the ?survival? namespace
>
> sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: i686-pc-linux-gnu (32-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
[5] LC_MONETARY=en_US.UTF-8 LC_MESS...
2024 May 28
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...xternal within tcltk-package and there is a registration done for it with
R_registerRoutines. An object of class NativeSymbolInfo has also been created in the
tcltk namespace, and that can be accessed using tcltk:::.C_dotTcl.
However, the tcltk:::.C_dotTcl$address is an external pointer of a class
RegisteredNativeSymbol and not directly the function pointer to the actual routine. The
problem is that there appears not to be any R-level function that would extract the actual
function-pointer and that the C-interface for R_RegisteredNativeSymbol has been defined
in the internal Rdynpriv.h header that is not included...
2013 Apr 23
2
Help: Where can I find the code for 'C_Cdqrls'?
Dear all,
I’m not sure if it is O.K. to ask this question here.
But where can I find the code for the function ‘C_Cdqrls’ which is called by the R function ‘lsfit‘.
Thank you all.
Sorry for being naïve if so.
--------------------
Ziqiang Zhao
2013-04-23
[[alternative HTML version deleted]]
2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...age and there is a registration done for it with
> R_registerRoutines. An object of class NativeSymbolInfo has also been created in the
> tcltk namespace, and that can be accessed using tcltk:::.C_dotTcl.
>
> However, the tcltk:::.C_dotTcl$address is an external pointer of a class
> RegisteredNativeSymbol and not directly the function pointer to the actual routine. The
> problem is that there appears not to be any R-level function that would extract the actual
> function-pointer and that the C-interface for R_RegisteredNativeSymbol has been defined
> in the internal Rdynpriv.h header that i...