I\'m having this error when trying to attach package tidyselect
and when trying to call tidyselect::any_function
.
The error happens in
This was solved by reinstalling tidyselect
using :
install.packages("tidyselect",INSTALL_opts="--no-multiarch")
(Although the package could be install with install.packages("tidyselect")
without error.
This answer pointed me to the solution (totally different question though).
It seems that it was indeed an issue with rjava
.
Quoting the linked answer:
the solution was to use install option that simply forgets about i386 architecture. (also works with drat library and packages not from CRAN
It's all Chinese to me though and ?utils::install.packages
doesn't help, I'll happily upvote / accept an answer that explains what's going on.
I don't know why this event happens as I am currently facing the same problem. Anyways I can explain your solution.
Your system is 64 bits, as shown in your sessionInfo()
. i386
architecture is for the older systems, in 32 bits (they can only handle a limited amount of memory as they use 32 bits memory addresses, while 64 bits systems are, virtually, unlimited today).
A classic installation in R is "multiarch" for multi-architectures, which means 32 and 64 bits. In 64 bits systems there is no problem in building a 32 bits software. However, your may not have all the dependencies (e.g. C++ libraries) installed for both architectures. There is apparently a problem with your 32 bits installation. Then installing the package with INSTALL_opts="--no-multiarch"
only installs the 64 bits version (the one you need), without problems.