簡體   English   中英

在RStudio中加載tidyverse時出錯

[英]Error while loading tidyverse in RStudio

當試圖在RStudio中加載tidyverse包時,我收到以下錯誤消息:

library(tidyverse)錯誤:'tidyverse'的包或命名空間加載失敗:.onAttach在'tidyverse'的attachNamespace()中失敗,詳情:call:NULL error:在RStudio中找不到函數getThemeInfo

我發現升級RStudio到版本1.1.383解決了我的問題,同時仍然運行最新版本的tidyverse。

我有同樣的問題,沃爾夫岡的答案解決了它。 我使用以下代碼從2017-01-27安裝tidyverse版本1.1.1:

    require(devtools)
    install_version("tidyverse", version = "1.1.1", repos = "http://cran.us.r-project.org")

我遇到了完全相同的問題。 更新RStudio到最新版本(v.1.1.383),因為@bart建議完美地為我工作並解決了這個問題。

對於那些在Ubuntu(16.04)工作的人,你可以更新RStudio

wget --tries=3 --timeout=120 https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb
sudo dpkg -i rstudio-*-amd64.deb

鏈接到原始帖子: https//askubuntu.com/questions/862403/install-the-lastest-version-of-rstudio

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM