Entering edit mode
3.7 years ago
dr.fatemeh.askari
▴
30
Hey all,
I have RNA-seq outputs from Kallisto, trying to analyze it by Sleuth in R. But, I am facing problem in installing it. below is the codes;
> if (!requireNamespace("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
> BiocManager::install()
Bioconductor version 3.9 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Old packages: 'data.table'
> library("devtools"). # "devtools" is already installed.
> BiocManager::install("pachterlab/sleuth")
Bioconductor version 3.9 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing github package(s) 'pachterlab/sleuth'
Error: Failed to install 'sleuth' from GitHub:
Timeout was reached: [api.github.com] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
My output;
> library('sleuth')
Error in library("sleuth") : there is no package called 'sleuth'
I don't know why I can have sleuth library. Am I missing a step?
Hey Kevin,
Unfortunately, it did not work.
here, it gives error!!
Always use
ADD REPLY/ADD COMMENT
when responding to existing posts to keep threads logically organized.SUBMIT ANSWER
is for new answers to original question.It looks like your R installation is not setup correctly - from where do you run R? Can you output the result of
sessionInfo()
?library(Sleuth)
will return an error because the package did not install correctly. Looking at the error messages, you may need to first install rhdf5 and vctrs.If you still have issues, I would recommend setting up a MiniConda environment and installing these R packages via that.
Thanks Kevin,
I first installed rhdf5 and vctrs. and then dealt with locale
I wrote " system("defaults write org.R-project.R force.LANG en_US.UTF-8") and quiet and restart R.
Now, it is working.
Sounds good - excellent.