admin管理员组文章数量:1356742
My question is a mix of these 2 : Install R packages using conda via an environment.yml file and How to install local library with pip to a conda environment using environtment.yml file?.
I have an environment.yaml
file where I need to install R and python packages, both from repo and locally :
name: simulation_snt
channels:
- conda-fe
- bioconda
dependencies:
- snakemake-minimal >=8.4.4
- matplotlib
- graphviz
- scipy
- sympy
- numba>=0.39
- tbb
- pip:
- snt_dev/
- r-base
- r-tidyverse
I need to add a line to install a local R package. On R, the command is install.packages("../these-paul-bunel/simulations_snt/pipeline/NB_0.9.tar.gz", repos = NULL, type="source")
How can I tell in my environment.yaml
file that I want this package to be automatically installed in R when creating the environment ?
本文标签: pythonInstall local R package using conda environmentyaml fileStack Overflow
版权声明:本文标题:python - Install local R package using conda environment.yaml file - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743956096a2568158.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论