2017-08-11 59 views
1

安裝GGPLOT2我試圖運行後,library.But它顯示錯誤消息:安裝ggp​​lot2後出錯。我該如何解決它?

 Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), 
    versionCheck = vI[[j]]) : 
    there is no package called ‘Rcpp’ 
     Error: package or namespace load failed for ‘ggplot2’ 
    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), 
    versionCheck = vI[[j]]) : 
     there is no package called ‘Rcpp’ 
     Error: package or namespace load failed for ‘ggplot2’ 
+0

你解決呢? – RUser

回答

0

這樣做:

remove.packages(c("ggplot2", "data.table")) 
install.packages('Rcpp', dependencies = TRUE) 
install.packages('ggplot2', dependencies = TRUE) 
install.packages('data.table', dependencies = TRUE) 
+0

我試過這個,但仍然顯示錯誤信息。 –

相關問題