【发布时间】:2021-08-15 18:49:24
【问题描述】:
我想在 R 中加载 magick 包,但不确定错误来自哪里。使用 R 版本 4.0.5。我认为问题可能与tidyverse 软件包有关,因为我在正确加载magick 后安装了该软件包,但现在它根本不起作用。使用 Windows 和 RStudio
library(magick)
Error: package or namespace load failed for ‘magick’:
.onLoad failed in loadNamespace() for 'magick', details:
call: set_magick_tempdir(tempdir())
error: function 'Rcpp_precious_remove' not provided by package 'Rcpp'
【问题讨论】:
-
我在 Internet 某处发现了一个博客,其中包含非常相似的错误消息,建议更新您的
RCpp安装,例如,通过update.packages()。我不知道,但不知何故,这似乎更有可能是magick特定问题。
标签: r imagemagick