简体   繁体   English

如何升级 RStudio 版本?

[英]How to upgrade RStudio version?

Recently I've tried to install keras package in R. I ran the following commands: install.packages("keras") library(keras)最近我尝试在 R 中安装keras包。我运行了以下命令: install.packages("keras") library(keras)

But when I ran is_keras_avalable() I got FALSE.但是当我运行is_keras_avalable()我得到了 FALSE。

I was told, that the problem with unsuccessful 'keras' installation may come from the old RStudio version, which is installed on my notebook (I work in RStudio 3.4.0).有人告诉我,“keras”安装不成功的问题可能来自我的笔记本上安装的旧 RStudio 版本(我在 RStudio 3.4.0 中工作)。 I was adviced to reinstall RStudio and to get a brand new version.我被建议重新安装 RStudio 并获得一个全新的版本。

Could you, please, tell me how to do it?你能告诉我怎么做吗? I'd be very pleased if you provide me with the necessary links for installing the latest RStudio version on Windows 8.1.如果您向我提供在 Windows 8.1 上安装最新 RStudio 版本所需的链接,我将非常高兴。

Thank you for your help.感谢您的帮助。

RStudio is an application (specifically, an Integrated Development Environment, or IDE). RStudio 是一个应用程序(特别是集成开发环境或 IDE)。 This is a common tool for using R, which is a computer language.这是使用 R 的常用工具,R 是一种计算机语言。 Much like Microsoft Word is a common tool for writing documents in English (or other languages - and in fact you can use RStudio to write files other languages like RMarkdown, Python, SQL, French, or Swahili.).与 Microsoft Word 非常相似,它是一种用于以英语(或其他语言 - 事实上,您可以使用 RStudio 来编写其他语言(如 RMarkdown、Python、SQL、法语或斯瓦希里语)文件)的常用工具。 However, just like you can write English in programs other than Word, you can also write and run R code in programs other than RStudio.但是,就像您可以在 Word 以外的程序中编写英语一样,您也可以在 RStudio 以外的程序中编写和运行 R 代码。

You can find the most recent version on the RStudio website , or you can look in the Help menu and select "Check for updates", which will give you a download link if a newer version is available.您可以在 RStudio 网站上找到最新版本,或者您可以在“ Help菜单中查看并选择“检查更新”,如果有新版本可用,它将为您提供下载链接。

在此处输入图片说明

Given the version number you show, 3.4.0, you need to upgrade R (the language), not RStudio (the application).鉴于您显示的版本号 3.4.0,您需要升级 R(语言),而不是 RStudio(应用程序)。 The current RStudio version as I write this is 1.3.*, while the current R version is 4.0.*.我写这篇文章时当前的 RStudio 版本是 1.3.*,而当前的 R 版本是 4.0.*。

The place you need to go to update R is CRAN - their website has download links for Windows, Mac, and Linux.你需要去更新 R 的地方是 CRAN——他们的网站有 Windows、Mac 和 Linux 的下载链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM