简体   繁体   English

在Windows中的R中构建软件包

[英]Building package in R in Windows

I have downloaded package pcaL1_1.5.2.tar.gz from the CRAN . 我已经从CRAN下载了软件包pcaL1_1.5.2.tar.gz I am trying to compile the package pcaL1 我正在尝试编译软件包pcaL1

The steps I followed are 我遵循的步骤是

  1. Install Rtools 安装Rtools
  2. Updated the PATH environment variable 更新了PATH环境变量
  3. In command prompt,I change the directory to where I downloaded the package pcaL1_1.5.2.tar.gz 在命令提示符下,我将目录更改为下载软件包pcaL1_1.5.2.tar.gz的目录。
  4. Run the command in Command prompt of Windows R CMD INSTALL --build qtl_1.22-18.tar.gz 在Windows R CMD INSTALL --build qtl_1.22-18.tar.gz命令提示符下运行命令

I get the error unexpected symbol in R CMD . unexpected symbol in R CMD收到错误unexpected symbol in R CMD Anything I missed or did wrong? 我错过或做错了什么吗?

您是否尝试过从R内部运行install.package。启动R会话和>提示符类型

install.packages("pcaL1")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM