【问题标题】:Unable to install packages in rstudio无法在 rstudio 中安装软件包
【发布时间】:2022-01-07 10:52:14
【问题描述】:

install.packages("tidyverse") 警告:构建 R 包需要 Rtools,但目前尚未安装。请在继续之前下载并安装适当版本的 Rtools: https://cran.rstudio.com/bin/windows/Rtools/ 还安装依赖项'desc'、'pkgbuild'、'rprojroot'、'pkgload'、'praise'、'colorspace'、'sys'、'ps'、'highr'、'markdown'、'plyr'、'testthat ','farver','labeling','munsell','RColorBrewer','viridisLite','askpass','rematch','prettyunits','processx','knitr','yaml','htmltools', 'evaluate'、'base64enc'、'tinytex'、'xfun'、'backports'、'generics'、'reshape2'、'assertthat'、'glue'、'fansi'、'DBI'、'R6'、'tidyselect ','省略号','pkgconfig','Rcpp','BH','plogr','digest','gtable','isoband','scales','withr','vctrs','curl', 'mime'、'openssl'、'utf8'、'clipr'、'cellranger'、'progress'、'callr'、'fs'、'rmarkdown'、'whisker'、'selectr'、'stringi'、'lifecycle ','扫帚','cli','蜡笔','dbplyr','dplyr','forcats','ggplot2','haven','hms','httr','jsonlite','lubridate', 'magrittr'、'modelr'、'pillar'、'purrr'、'readr'、'readxl'、'reprex'、'rlang'、'rstudioapi'、'rvest'、'stringr'、'tibble'、'tidyr ', 'xml2'

【问题讨论】:

  • 我已经下载了R和R studio,但是在r studio中安装包还是有问题。
  • 请添加 R 和 R studio 版本以及您使用的操作系统。

标签: r tidyverse


【解决方案1】:

您需要将 Rtools 与 R 和 RStudio 分开安装。 看看https://ohdsi.github.io/Hades/rSetup.html

【讨论】:

    猜你喜欢
    • 2022-07-04
    • 1970-01-01
    • 1970-01-01
    • 2017-07-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多