我下载了最新版本的R,并尝试在木星笔记本上运行代码,这将是update.My代码,并输出如下:
`# installing/loading the latest installr package:
install.packages("installr"); library(installr) # install+load installr
updateR() # updating R.'输出I get:警告消息:“包'installr‘正在使用中,不会安装”winDialog中的错误(type= "ok",message = message_text):winDialog()不能用于非交互的跟踪:
当我输入:'install.packages("installr")
library(installr)
updateR()'我收到以下信息:
“'package‘installr”成功解压缩并检查MD5和
下载的二进制包在C:\Users\tadhg\AppData\Local\Temp\RtmpkFhJyM\downloaded_packages警告消息中:“软件包' installr‘是在RVersion3.6.3下构建的”欢迎安装版本0.23.2
更多信息可在installr项目网站上找到:https://github.com/talgalili/installr/
联系人: tal.galili@gmail.com建议和bug-报告可以在:https://github.com/talgalili/installr/issues上提交。
To suppress this message use:
suppressPackageStartupMessages(library(installr))winDialog中的错误(type= "ok",message = message_text):winDialog()不能用于非交互的追溯:
‘
发布于 2022-05-27 13:44:04
我也有同样的问题。
这在一定程度上有所帮助:
updateR(GUI=FALSE)然而,它得到了:
The file was downloaded successfully into:
/tmp/RtmpbZdEgx/R-4.2.0-win.exe
Running the installer now...
sh: 1: /tmp/RtmpbZdEgx/R-4.2.0-win.exe: Permission denied
Installation status: FALSE . Removing the file:
/tmp/RtmpbZdEgx/R-4.2.0-win.exe
(In the future, you may keep the file by setting keep_install_file=TRUE)
[1] FALSE
Warning message:
In get.installed.R.folders() :
Could not find any R installation on your system. (You might have installed your R version on 'c:\R' without sub folders...对我来说,这个包似乎是专为Windows设计的。(我在使用Ubuntu)。
https://stackoverflow.com/questions/72111800
复制相似问题