本文共 1838 字,大约阅读时间需要 6 分钟。
An open-source programming language, R specializes in statistical computing and graphics. In this tutorial, we will install R on an Ubuntu 20.04 server.
R是一种开放源代码编程语言,专门研究统计计算和图形。 在本教程中,我们将在Ubuntu 20.04服务器上安装R。
For a more detailed version of this tutorial, with more thorough explanations of each step, please refer to .
有关本教程的更详细版本,以及每个步骤的更详尽说明,请参阅
Logged into your Ubuntu 20.04 server as a sudo non-root user, add the relevant GPG key.
以sudo非root用户身份登录到Ubuntu 20.04服务器,添加相关的GPG密钥。
If you’re not using 20.04, find the relevant repository from the , named for each release.
如果您未使用20.04,请从 (为每个版本命名)中找到相关的存储库。
Start R’s interactive shell as root.
以root身份启动R的交互式shell。
You should receive output similar to the following:
您应该收到类似于以下内容的输出:
Output R version 4.0.0 (2020-04-24) -- "Arbor Day"Copyright (C) 2020 The R Foundation for Statistical ComputingPlatform: x86_64-pc-linux-gnu (64-bit)...Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.>
This confirms that we’ve successfully installed R and entered its interactive shell.
这确认我们已经成功安装了R并进入了它的交互式外壳。
翻译自:
转载地址:http://slhgb.baihongyu.com/