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?