2016-12-16 12 views
2

github에서 패키지를 설치하고 i386 용 설치를 건너 뛰고 싶습니다.--no-multiarch 인수가있는 install_github

library(devtools) 
install_github("ramnathv/rCharts", configure.args = "--no-multiarch") 
install_github("ramnathv/rCharts", configure.args = list(rCharts = "--no-multiarch")) 
install_github("ramnathv/rCharts", configure.args = list(`ramnathv/rCharts` = "--no-multiarch")) 
install_github("ramnathv/rCharts", configure.vars = "--no-multiarch") 
install_github("ramnathv/rCharts", configure.vars = list(rCharts = "--no-multiarch")) 
install_github("ramnathv/rCharts", configure.vars = list(`ramnathv/rCharts` = "--no-multiarch")) 
나는 패키지를 다운로드하고

R CMD INSTALL --no-multiarch rCharts.tar.gz 

를 통해 설치하여 내 목표를 달성 할 수

가 어떻게이를 지정할 수 있습니다 는 this 질문 (불행히도 대답하지 않음)을 바탕으로, 나는 아무 소용이와 함께 다음을 시도 devtools :: install_github를 사용할 때 "--no-multiarch"인수가 필요합니까?

devtools_1.12.0으로 R3.3.0을 실행 중입니다. packrat_0.4.7-1을 사용하여 로컬 라이브러리 생성.

아래 sessionInfo를 참조하십시오

R version 3.3.0 (2016-05-03) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
Running under: Windows Server >= 2012 x64 (build 9200) 

locale: 
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 
[4] LC_NUMERIC=C       LC_TIME=English_United States.1252  

attached base packages: 
[1] stats  graphics grDevices utils  datasets methods base  

other attached packages: 
[1] nxPacMan_0.4.0 devtools_1.12.0 

loaded via a namespace (and not attached): 
[1] httr_1.2.1  R6_2.2.0  tools_3.3.0  withr_1.0.2  curl_2.3  memoise_1.0.0 git2r_0.16.0 digest_0.6.10 
[9] packrat_0.4.7-1 

감사합니다 당신의 도움을 많이합니다.

마르쿠스 내가 옵션을 설정하는 것입니다 나를 위해 일하는 발견

답변

5

유일한 방법 :

library(devtools) 
options(devtools.install.args = "--no-multiarch") 
install_github("ramnathv/rCharts")