I cant download the swirl package for Rstudio

I am trying to download swirl and I am getting this message:

installing the source package 'swirl'

trying URL 'http://cran.stat.ucla.edu/src/contrib/swirl_2.4.5.tar.gz'
Content type 'application/x-gzip' length 108847 bytes (106 KB)

downloaded 106 KB

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/America/Mexico_City'
ERROR: dependency 'RCurl' is not available for package 'swirl'

  • removing '/Users/Marco_Rof/Library/R/3.3/library/swirl'

The downloaded source packages are in
'/private/var/folders/t0/6k_r73l13d5bcy_j9g055t5m0000gn/T/RtmpShxP12/downloaded_packages'
Warning message:
In install.packages("swirl") :
installation of package 'swirl' had non-zero exit status

I read that perhaps this mistake was due to not having the "RCurl" package, however, it is not available for my Rstudio version (R version 3.3.3). I am using a macbook (mojave, version 10.14.6)

Any help would be great as I am new in R.

Cheers guys!

The easiest solution would be to update R, you are using a very old version and this is going to bring you many installation problems.

fantastic!
It is now working for R (I succeed with the installation), however for my rstudio keeps on failing... I tried to update rstudio however I am running the latest version...any idea mate???

This is odd, if you have updated R, RStudio should be using the newer version, try restarting RStudio and see what R version reports on startup.

you are a master!
I restarted the R console in rstudio and now it is working!
thanks very much for your time!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.