swirl icon indicating copy to clipboard operation
swirl copied to clipboard

Please add the steps on wiki to help Fedora users

Open sztsian opened this issue 8 years ago • 6 comments

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.

    1. 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

    1. (Not changed)Get RStudio (optional, but recommended).

Download from http://www.rstudio.com/ide/download/desktop.

    1. Install R-RCurl Swirl uses RCurl package to download courses from the internet.

$sudo dnf install R-RCurl

    1. (Not changed)From R or RStudio, install and run swirl.

install.packages("swirl") library(swirl) swirl()

sztsian avatar Aug 08 '15 04:08 sztsian

Thanks for pointing this out. I need to test it myself but I'll write a guide in the wiki for fedora users.

seankross avatar Aug 09 '15 11:08 seankross

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.

sztsian avatar Aug 18 '15 15:08 sztsian

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.

NawfelBgh avatar Jan 26 '16 16:01 NawfelBgh

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.

Brandon-Clements avatar Jun 23 '17 00:06 Brandon-Clements

Confirmed. Works perfectly on Fedora 25 after sudo dnf install R-RCurl libcurl-devel openssl-devel !

Schm1tz1 avatar Jul 10 '17 17:07 Schm1tz1

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.

RajatYolo avatar Aug 27 '20 18:08 RajatYolo