我花了一整天沒有成功。這是問題所在
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-forge 通道來安裝 R。
conda install -c conda-forge r-base
=
您也可以透過新增並指定版本來指定要安裝的版本。您可以透過以下方式搜尋可用版本
conda search r-base