Thanks to all that looked at it and tried to answer.
I am reporting here what I found in the end, in the hope it helps someone
with a similar issue solve it quicker than I solved the one I had:
Having
int R_NaInt;
rather than
extern int R_NaInt;
in the header / C definitions of the cffi inter
> Laurent Gautier
> on Sun, 15 Sep 2019 15:01:09 -0400 writes:
> In case a search engine leads someone with the same issue
> here, I am documenting the point I reached:
> I can reproduce the issue with a small example when
> forcing R to not load any package at startu
In case a search engine leads someone with the same issue here, I am
documenting the point I reached:
I can reproduce the issue with a small example when forcing R to not load
any package at startup time (using an Renviron file):
```
package <- "utils"
lib.loc <- ""
ns <- loadNamespace(package, li
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
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
>
>
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
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
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