Open Deena-B opened 5 years ago
Solution:
conda install -c conda-forge -c bioconda r-pheatmap
The following packages will be downloaded:
package | build
---------------------------|-----------------
r-pheatmap-1.0.12 | r351h6115d3f_0 87 KB conda-forge
------------------------------------------------------------
Total: 87 KB
The following NEW packages will be INSTALLED:
r-colorspace conda-forge/osx-64::r-colorspace-1.4_1-r351h159158b_0
r-gtable conda-forge/noarch::r-gtable-0.3.0-r351h6115d3f_0
r-labeling conda-forge/noarch::r-labeling-0.3-r351h6115d3f_1001
r-munsell conda-forge/noarch::r-munsell-0.5.0-r351h6115d3f_1001
r-pheatmap conda-forge/noarch::r-pheatmap-1.0.12-r351h6115d3f_0
r-rcolorbrewer conda-forge/noarch::r-rcolorbrewer-1.1_2-r351h6115d3f_1001
r-scales conda-forge/osx-64::r-scales-1.0.0-r351h466af19_1001
r-viridislite conda-forge/noarch::r-viridislite-0.3.0-r351h6115d3f_1001
The following packages will be UPDATED:
ca-certificates pkgs/main::ca-certificates-2019.1.23-0 --> conda-forge::ca-certificates-2019.3.9-hecc5488_0
openssl pkgs/main::openssl-1.1.1b-h1de35cc_1 --> conda-forge::openssl-1.1.1b-h01d97ff_2
Note that conda search r-pheatmap
only returned the table below (it didn't list conda-forge as possible source of the pheatmap package)
Name Version Build Channel
r-pheatmap 1.0.8 r3.2.2_0 bioconda
r-pheatmap 1.0.8 r3.3.1_0 bioconda
r-pheatmap 1.0.8 r3.3.2_0 bioconda
I'm not sure who's side this problem is on so, I posted the same issue and fix here: https://github.com/conda/conda/issues/8618
(Copying over the answer from https://github.com/conda/conda/issues/8618#issuecomment-487874829 for ease of use/discoverability)
This command installed a version of r-pheatmap that keep rstudio in working condition:
conda install -c conda-forge -c bioconda r-pheatmap
That command has the right and recommend channel priorities for Bioconda, see http://bioconda.github.io/#set-up-channels.
Packages from the bioconda
channel (often) depend on packages from conda-forge
.
You should even give conda-forge
higher priority than bioconda
, see https://github.com/bioconda/bioconda-recipes/pull/10924#issuecomment-421463832 for a rationale for this.
I'm setting up a conda environment with r, rstudio, pheatmap, and plan to add seurat. However, after I install r-pheatmap, I get an error when I try to run rstudio. My steps are below:
I have anaconda3 installed on a macOS Mojave
conda create --name env
conda activate env
conda install r
conda install rstudio
rstudio
conda install -c bioconda r-pheatmap
rstudio
Please help, thank you