Installing
-
2. Enabling R Repo
Enable R Repository for openSUSE GNU/Linux
First, Set the OS Version with:
VERSION=$(grep "^PRETTY_NAME" /etc/os-release | tr " " "_" | sed -e 's/PRETTY_NAME=//' | sed -e 's/"//g')
And then to Setup it run:
zypper addrepo -f http://download.opensuse.org/repositories/devel\:/languages\:/R\:/patched/$VERSION/ R-base
-
3. Installing R
Now to Install R on openSUSE
Play:sudo zypper in R-base R-base-devel
The R Packages are Installed in the /usr/local/lib/R/library Folder.
And the Docs on /usr/share/doc/R.
For more insight about the R Customization see -> the openSUSE R Online Documentation.
To Search for other Add-ons use:zypper search R-*
-
4. Installing Tidyverse
Then to Install Tidyverse in openSUSE
First, Install the Required Packages:sudo zypper in gcc libopenssl-devel libxml2-devel
Then launch the R REPL Shell with:
sudo R
And then to Setup the complete Tidyverse Packages Set, simply play:
install.packages("tidyverse", dependencies = TRUE)
Finally, to Update the Software:
update.packages(ask=FALSE)
After you find the CRAN Packages under /usr/local/lib/R/library.
Contents