安装R 4.0.2版本

问题描述

我以前在R 3.4.0版本中工作。但是,此版本不支持kerastensorflow之类的软件包。

我被建议将我的R版本升级到最新版本。 我从the official site下载了最新的R版本4.0.2,然后运行了以下代码:

install.packages("keras")
library(keras)
install_keras()

并出现以下错误:

Error in install_keras() :
You should call install_keras() only in a fresh R session that has not yet initialized Keras and TensorFlow (this is to avoid DLL in use errors during installation)

此后,当我尝试通过q()退出R会话时,遇到以下错误:

Error: option error has NULL value
Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Error: option error has NULL value

我以前从未遇到过这样的错误。使用旧的R版本时,我输入了q(),然后不得不在yn之间进行选择。没有出现错误。

我要你帮助解决这个问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)