While I am a big fan of conda for basically everything except R, you might run into trouble when mixing CRAN/BioC and conda-installed packages and dependencies. Consider trying to solve the issues you have and compile from source to avoid that. https://cole-trapnell-lab.github.io/monocle3/docs/installation/
Hello,
The installation of Monocle3 on Rstudio is driving me nuts and I'm trying to install it for a couple of days, by different methods ... nothing works. Monocle, the previous release of Monocle3 get to be installed but has some troubles running and I would prefer to work with the latest version and fonctionalities.
I'm running on Debian9, on Rstudio. For now, the latest R version is installed and it's R 3.6.1. I can't manage to install the 3.6.2 but normally, Monocle3 should work on 3.6.1 too.
Everything is working, Bioconductor, the packages that need to be installed before (like SingleCellExperiment), leidenbase through devtools....
So I had to install manually a couple of packages, like speedglm, furr ...
1 answer
Found a solution finally:
Install it through conda, it works perfectly
Ah indeed, that could occur. I'll try again correcting the issues I have with the installation from source the. Thank you!
I already encounter some problems with the conda version of the installation, it charges the monocle3 library but don't recognize functions from it, like newCellDataSet.
If using conda, you should use it for everything, especially where R is concerned. This means installing everything R-related with conda. In general, mixing conda and system-based installation is a recipe for problems.
Well, I installed R through conda. So you say that I have to install all packages for R through conda, the Rstudio (that I also installed with conda) package installation is not recommended even if R is installed through conda?
Yes. If you install R with conda, also install the packages with conda, don't do it from R.
EDIT: Also pay attention to which channel(s) you're using. There may be different versions of packages in different channels that may not be compatible. I'd suggest to stick to the following channels: defaults, conda-forge and bioconda.
Okay, I didn't realize how much things can get tangled up. Thank you very much for the different advices, I'll be more careful
Log in to answer this question.
Install speedglm manually and then post the error message.
Doesn't workis difficult to debug without further details.Well, manually, I manage to install speedglm.
I encounter now a new problem:
I installed libudunits2-dev but even if a restart R after that, but the error continues to appear.