我花了一整天的时间却没有成功。我无法开始工作。这就是问题所在
sudo apt install r-base-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r-base-core is already the newest version (4.2.1-2.2204.0).
0 to upgrade, 0 to newly install, 0 to remove and 9 not to upgrade
R
Command 'R' not found, but can be installed with:
sudo apt install r-base-core
答案1
我建议使用 conda 安装 R,使用 conda-forge 频道。
conda install -c conda-forge r-base
=
您还可以通过添加并指定版本来指定要安装的版本。您可以通过以下方式搜索可用的版本
conda search r-base