Re: [Rd] [External] Missing function Rf_findFun3

2019-09-08 Thread Tierney, Luke
On Sat, 7 Sep 2019, Laurent Gautier wrote: > Hi, > > > The function `Rf_findFun3` is declared in > `$(R CMD CONFIG HOME)/lib/R/include/Rinternals.h` > but appears to be missing from R's shared library (R.so). > > Is this an oversight? No. This is not part of the API supported for use in packages.

Re: [Rd] [External] Missing function Rf_findFun3

2019-09-08 Thread Laurent Gautier
I am not using the C API from a package but with an embedded R. Why have it declared in the include/ if it cannot be accessed then? Best, Laurent On Sun, Sep 8, 2019, 8:27 AM Tierney, Luke wrote: > On Sat, 7 Sep 2019, Laurent Gautier wrote: > > > Hi, > > > > > > The function `Rf_findFun3` is

[Rd] Error: package or namespace load failed for ‘utils

2019-09-08 Thread Laurent Gautier
Hi, When starting an embedded R I encounter the following issue under certain conditions: ``` Error: package or namespace load failed for ‘utils’ in if (.identC(class1, class2) || .identC(class2, "ANY")) TRUE else {: missing value where TRUE/FALSE needed ``` (more such errors for grDevices, grap

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-08 Thread William Dunlap via R-devel
Look at section 6.1 of the R Installation and Admin manual. 6.1 Default packages The set of packages loaded on startup is by default > getOption("defaultPackages") [1] "datasets" "utils" "grDevices" "graphics" "stats" "methods" (plus, of course, *base*) and this can be changed by sett

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-08 Thread Laurent Gautier
Hi, Thanks, but I am unsure this helps. The point I am making is that an R error (about a missing value where a boolean would be expected), originating from the package methods, is not informative. This is indicating that a core R function involved in the loading of an R packages may receive inva

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-08 Thread William Dunlap via R-devel
Also, check the settings of R_HOME and/or R_LIBS. Bill Dunlap TIBCO Software wdunlap tibco.com On Sun, Sep 8, 2019 at 9:58 AM William Dunlap wrote: > Look at section 6.1 of the R Installation and Admin manual. > > 6.1 Default packages > > The set of packages loaded on startup is by default > >

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-08 Thread Laurent Gautier
R_HOME is not the issue, and I believe that R_LIBS is not involved with packages such as "datasets", "utils", etc... I suspect that the issue is around dynamic loading of C libraries, as depending on the way the R shared library is called the issue is absent or present, but the error reporting from

Re: [Rd] install_github and survival

2019-09-08 Thread Farid Moussaoui
You got the same error 2 years ago. It seems some data files are missing. https://github.com/therneau/survival/issues/12 F. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-deve

Re: [Rd] [External] Missing function Rf_findFun3

2019-09-08 Thread Tierney, Luke
On Sun, 8 Sep 2019, Laurent Gautier wrote: > I am not using the C API from a package but with an embedded R. Same rules apply. > Why have it declared in the include/ if it cannot be accessed then? Rinternals.h is used by R internally, as the name suggests. Only a small fraction of the things de