swirl
swirl copied to clipboard
Please add the steps on wiki to help Fedora users
Hi, as you have the wiki wiki/Installing-swirl-on-Linux , which is Ubuntu focused. I've have following steps working on my Fedora 21 and I think this works also in newer Fedora versions. So please kindly add this.
-
- Install R from the repo
$sudo dnf install R
- 2.(Not changed) Confirm that you have R version 3.0.2 or later. If not, return to #1.
$ R --version
-
- (Not changed)Get RStudio (optional, but recommended).
Download from http://www.rstudio.com/ide/download/desktop.
-
- Install R-RCurl Swirl uses RCurl package to download courses from the internet.
$sudo dnf install R-RCurl
-
- (Not changed)From R or RStudio, install and run swirl.
install.packages("swirl") library(swirl) swirl()
Thanks for pointing this out. I need to test it myself but I'll write a guide in the wiki for fedora users.
Thanks. I am a daily Fedora user and this is what I do for the installation. I tested it on my computer with Fedora 21 64bit. You can test it on a VM if you need to.
I tested this today on Fedora 22 and it didn't work. You need to install libcurl-devel
.
Thankfully, it was pointed out in the error message.
On Fedora 26 I also needed to install openssl-devel
, and libcurl-devel
. I tried to install RCurl through R, but I get an that it is unable to load libiconv.so.2. Install R-RCurl through dnf got it to work. You may want to mention possibly needing openssl-devel in addition to the other steps.
Confirmed. Works perfectly on Fedora 25 after sudo dnf install R-RCurl libcurl-devel openssl-devel !
Hey I am a beginner, as I found this issue as open, can anybody help me out so that I can contribute in resolving the issue. Thanks.