2014-02-28 42 views

回答

2

它可能取決於您的R版本,因爲顯然Rttf2pt1不是爲當前版本而構建的。但嘗試

install.packages("http://cran.r-project.org/src/contrib/Archive/Rttf2pt1/Rttf2pt1_1.2.tar.gz") 

或通過筆者的使用github上devtools

install.packages("devtools") 
require(devtools) 
install_github("Rttf2pt1", "wch") 
+0

感謝您的建議,但仍然無法正常工作。我得到以下錯誤:編譯包'Rttf2pt1'失敗。我正在使用RStudio,可能是一個問題? – user3366681

+0

你告訴我你在用什麼版本的R? – eclark

+0

R 3.0.2,RStudio 0.98.501 – user3366681

0

嘗試它,我有同樣的問題,發現爲我工作的解決方案:我手動安裝該軟件包

。要做到這一點

  1. 下載與您的系統兼容的格式封裝上https://cran.r-project.org/web/packages/Rttf2pt1/index.html
  2. 運行install.packages('C:/Users/eddy/Downloads/Rttf2pt1_1.3.5.zip', repos = NULL)與您保存下載文件的路徑替換它。