[英]Why do I get a syntax error in devtools::install_github?
I am new in working with linux.我是 linux 的新手。 I am trying to analyse sequencing data using dropEst pipeline
https://github.com/hms-dbmi/dropEst#dropreport
.我正在尝试使用 dropEst 管道
https://github.com/hms-dbmi/dropEst#dropreport
分析测序数据。 I want to run the DropReport
and for that I need to install dropEstR
package.我想运行
DropReport
,为此我需要安装dropEstR
包。
I tried by :我试过:
devtools::install_github('hms-dbmi/dropEst/dropestr' , dependencies = T)
as they suggest and I get as an error:正如他们所建议的那样,我得到了一个错误:
bash: syntax error near unexpected token `'hms-dbmi/dropEst/dropestr','
bash:意外标记附近的语法错误“hms-dbmi/dropEst/dropestr”,“
Do you have any idea what should I do differently?你知道我应该怎么做吗?
I think you are using the "wrong" shell.我认为您使用的是“错误”的外壳。 You have to use R/RStudio, when you want to use the
devtools
package.当您想使用
devtools
包时,您必须使用 R/RStudio。 From CRAN:来自克兰:
Title Tools to Make Developing R Packages Easier
标题工具使开发 R 包更容易
I just tried you command in RStudio but installation fails in the end:我刚刚在 RStudio 中尝试过你的命令,但最终安装失败:
ERROR: dependency 'Rcpp' is not available for package 'dropestr'
* removing 'C:/R/R-3.4.2/library/dropestr'
Installation failed: Command failed (1)
You have to run such script on RStudio for R. Import your project here and run it.您必须在 RStudio for R 上运行此类脚本。在此处导入您的项目并运行它。
You can download it from enter link description here你可以从这里输入链接描述下载它
Happy Coding.快乐编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.