Comments (6)
Here's my Rout.
Error in rule pkginstall:
jobid: 1
input: scripts/install_pkgs.R
output: example_data/output/Rout/pkginstall_state.txt
log: example_data/output/Rout/install_pkgs.Rout (check log file(s) for error details)
conda-env: /Users/uqtho10/ARMOR/.snakemake/conda/a4fc58524fec5e8c53450cde04b86ca0_
shell:
R CMD BATCH --no-restore --no-save "--args outtxt='example_data/output/Rout/pkginstall_state.txt' ncores='1' annotation='Ensembl' organism='Homo_sapiens'" scripts/install_pkgs.R example_data/output/Rout/install_pkgs.Rout
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
from armor.
Hi @uqtho10 - thanks for the report.
There are indeed several error messages in the attached Rout file above - e.g., there seem to be a few timeouts when downloading big packages, and the units
package fails to install as the udunits
system library is not found.
It looks like you're on a mac, is that correct? May I ask which of the setup approaches for R you are using (1a, 1b, 2)? For macOS, we found approach 1b to be the most reliable.
from armor.
Hi,
Thank you for your response. I'm using MacOS Montery. I'm doing 1a to install.
I would like to try 1b but I'm a little confused how to change the path in Renviron.
What I understand is that:
- I need to change Rbin path in config.yaml to my current R path. I have 2 R paths:
- /Users/uqtho10/anaconda3/envs/R/bin/R
- /Users/uqtho10/anaconda3/pkgs/r-base-3.3.1-0/bin/R
Which one should I use?
The R lib path in my Mac is :
- /Users/uqtho10/anaconda3/envs/R/lib
How should I change it in Renviron?
#R_LIBS_USER=${R_LIBS_USER-'/R/x86_64-apple-darwin13.4.0-library/4.1'}/Library/R/x86_64/4.1/library'}
R_LIBS_USER=${R_LIBS_USER-'
Sorry as I'm not really familiar with these.
Kind regards,
Thao
from armor.
If R is in your path, you can simply set Rbin: R
in the yaml file - otherwise, give the full path to the binary you want to use. The second R binary in your list is too old (at least R 4.1.0 is required). If you run into problems with the first binary in your list (as it is installed with conda), I suggest downloading and installing R directly from https://www.r-project.org/.
For the .Renviron file (note that the file name has to start with a dot), just add a line
R_LIBS_USER="/Users/uqtho10/anaconda3/envs/R/lib"
(or any other path where you want to install the packages).
from armor.
👋🏻 @uqtho10 - just wanted to check in to see if the suggestions above solved your problem.
from armor.
I'm going to close this issue - feel free to reopen if the problem persists.
from armor.
Related Issues (20)
- Error running example files HOT 3
- issue when setting up and running the example data HOT 5
- Iteration over edgeR fails upon changes to metadata.txt HOT 4
- Issues Running Example Dataset HOT 2
- column-spillover in DGE result .txt file HOT 2
- Update wiki Home page command HOT 1
- Detailed instructions for MacOS installation? HOT 4
- Apparently stuck when running the example data set HOT 3
- CalledProcessError in EdgeR HOT 5
- Input exception wit SE reads HOT 10
- New commit breaks conda activation? HOT 12
- tximeta error HOT 1
- error in rule bigwig HOT 4
- About threads/cores HOT 3
- Error when running the example dataset HOT 7
- Gencode / Ensembl HOT 5
- trouble with running the example dataset HOT 4
- Error when using bacterial fa and gtf file in ARMOR HOT 26
- trouble running the pipeline for a bacterial species HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armor.