Skip to content

help with RcppTOML library

2 messages · Bogdan Tanasa, Ivan Krylov

#
Dear all,

I would need to install please RcppTOML library on AWS in order to make a
package that is called Seurat installed.

In install.packages("Seurat") :
 installation of package ?RcppTOML? had non-zero exit status

I have installed "r-rcpptoml" via conda :

conda install -c conda-forge r-rcpptoml

and I do have now in the .libPaths() in R the following

.libPaths()

[1]
"/FRIDAY/CONDA/pkgs/r-rcpptoml-0.1.7-r41h03ef668_0/lib/R/library/RcppTOML"

[2] "/FRIDAY/R/R-4.1.2/library"


[3] "/home/btanasa/R/x86_64-pc-linux-gnu-library/4.1

RcppTOML is still not working. Any suggestions please on how I can fix it ?

Thanks a lot,

Bogdan
#
On Thu, 24 Mar 2022 20:33:39 -0700
Bogdan Tanasa <tanasa at gmail.com> wrote:

            
I have no idea how Conda works, but shouldn't this entry point to the
parent directory, that is,
"/FRIDAY/CONDA/pkgs/r-rcpptoml-0.1.7-r41h03ef668_0/lib/R/library"? So
that library() would be able to find the RcppTOML subdirectory in it
and load the package from there?
I'm assuming you mean something like "Error in library(RcppTOML) : there
is no package called 'RcppTOML'", but there are other options,
including it crashing your R session, or something completely different.