I have R installed and managed by conda (miniconda) on my MacBook Pro. The version of R I use most frequently (3.5.1) is installed on the base environment and I have other version-specific environments as well. I did this as it was easier than managing R on homebrew.
The downside I now face is that I cannot use install.packages()
, BiocManager::install()
or biocLite()
to install most packages. devtools::install_github()
seems to work fine for the few packages I have installed from GitHub.
I have to use conda install -c [conda-forge|bioconda] [r|bioconductor]-package_name
to install my packages and it breaks my workflow and I need to step outside of R to install packages.
Am I doing anything wrong, or is this the only way packages can be managed when R in installed through conda?
A few sample packages that I needed to install using conda
:
- tidyverse
- tximport
- deseq2
- apeglm
- maftools
- sva
refGenome
) where the filewchar.h
was the problem. Not sure if this would work for every package that runs into a compiler error. $\endgroup$tidyverse
. Here are the conda and R steps. The error messages in the R step are not complete, as there was only so much scroll-back history I could get to. Probably should have redirected STDERR to a file. $\endgroup$