Sample Header Ad - 728x90

R packages won't install on conda R environment

0 votes
1 answer
1748 views
I am trying to install an R package to an R environment created through conda on an HPC Server where I am doing some bioinformatics. I tried to run the usual R command (which works and install the requested package in my local RStudio installation): install.packages("http://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gz ", repos=NULL, type="source"); However, when I try to run this same command in my conda R environment I keep getting the error: -bash: syntax error near unexpected token `"http://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gzhttp://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gz "' Any ideas as to why the normal syntax isn't being accepted in the conda R installation, what syntax do I use in this instance to overcome this issue and install packages through conda on a unix server?
Asked by Yaseen Ahammed (1 rep)
Dec 10, 2019, 01:39 PM
Last activity: Jul 5, 2021, 12:36 PM