Questions tagged [swirl]

An R package that provides an interactive learning environment in the R console.

Resources:

  1. project site
  2. github
  3. r-project.org
57 questions
0
votes
1 answer

r swirl - can't run swirl course, get enigmatic error message

I've created a course using the swirl package in r. The yaml file is created fine. new_lesson("lesson_name", "course_name") demo_lesson() However, I attempt to run the course but get the following error: Scanner error: mapping values are not…
NBK
  • 887
  • 9
  • 20
0
votes
0 answers

Unable to install swirl in R with the new update. Version 3.6.2

When I type install.packages("swirl") library(swirl) I get: There is a binary version available but the source version is later: binary source needs_compilation mime 0.7 0.8 TRUE Do you want to install from sources the…
olosi6
  • 3
  • 2
0
votes
0 answers

Swirl Activity : Manipulate function and viewing formulas

I'm trying to learn R on the swirl package "Least Squares Estimation" and am having two problems. 1) It mentioned using the manipulate function but when I've tried to use it, it says that it can't find the function. 2) In this lesson, I've had to…
fyb123
  • 43
  • 1
  • 5
0
votes
1 answer

How to install different Swirl courses in R

I am able to successfully load the SwirlDev/swirl_courses. However, I cannot figure out how to load a course from a different repository. The repository I am trying to use is: https://github.com/DataScienceUWL/UW_Stat_Methods I've cloned it into…
richcru
  • 3
  • 1
  • 3
0
votes
0 answers

Failure to load swirl

I am trying to load swirl library(swirl) in RStudio on 64-bit Windows 10, and I am running across an error. The error code is: library(swirl) Error: package or namespace load failed for ‘swirl’ in loadNamespace(i, c(lib.loc, .libPaths()),…
Biru
  • 25
  • 2
0
votes
1 answer

Issues while installing swirl on R 3.4.4, Linux Mint Sonya

I tried installing swirl on my system from the R studio, and got the following error: Swirl installation error screenshot ERROR: configuration failed for package ‘openssl’ * removing ‘/home/dipti/R/x86_64-pc-linux-gnu-library/3.4/openssl’ Warning…
Dipti
  • 85
  • 2
  • 9
0
votes
1 answer

lesson containing non-ascii characters produces error when i try to run test in swirlify

It seems that swirlify can not handle non-ascii characters (like accented character). when trying to test or run the demo with test_lesson() or demo_lesson (), it causes a file read error. 1: In readLines(con) : invalid input found on input…
mkg
  • 41
  • 4
0
votes
2 answers

Increasing Decimal Positions - Swirl - r Programming Environment 12 - Data Manipulation

I am working on a question from swirl, r Programming Environment 12 Data Manipulation. I cannot figure out how to get r to give me the right number of digits after the decimal place. My code: titanic_4 <- titanic %>% select(Survived, Pclass,…
user9237696
0
votes
1 answer

swirl load fails due to missing RCurl package

I got the below error message when I run the swirl in Rstudio: Error: package or namespace load failed for ‘swirl’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘RCurl’ Any…
sara
  • 1
0
votes
0 answers

Unable to install swirl on version 3.4.1

I am newbie to R and I am facing this problem below. 1. Install.packages("swirl") The downloaded binary packages are in /var/folders/ts/syx225mj4fb7ky5_tsxn08vc0000gn/T//RtmprWr2vv/downloaded_packages 2. library(swirl) Error: package or…
Madan Hz
  • 11
  • 1
  • 2
0
votes
1 answer

Failed to install Swirl in R 3.2.1 on Mac OS10.9 - installation had non-zero status

> install.packages("swirl", depenedencies=TRUE) --- Please select a CRAN mirror for use in this session --- also installing the dependencies ‘stringi’, ‘stringr’ There are binary versions available but the source versions are later: …
asuk006
  • 1
  • 1
0
votes
2 answers

How to exit browser in R when using swirl() package usng R3.3.2

I'm using swirl package (v3.3.3) and debugging "ls" function. And can't seem to get out of the browser. None of 'f', 'c', 'C', 'Q', 'q' seem to be helping me. I tried some combinations, but no luck. Using Q exits swirl package. But when I get into…
Ajay M
  • 1
0
votes
1 answer

Can not install package 'swirl' on my rstudio

I have a problem to install package 'swirl' on my Rstudio. I tried several cran in China and it cannot connect to server every time. Does anyone know any possible reason? *ps:since the stackoverflow does not allow me to post more than one URL link…
Eddie.Wu
  • 51
  • 1
  • 1
  • 2
0
votes
1 answer

I am getting the following error: Warning in install.packages

I am getting the following error when installing the swirl package in R. install.packages('swirl') Warning in install.packages : 'lib = "C:/Program Files/R/R-3.3.2/library"' is not writable It then asks whether you want to create personal…
abyanka
  • 1
  • 1
0
votes
1 answer

How to install Open Intro interactive course of Swirl in R language

I have downloaded the zip file required for installation and followed the instructions given on the site. install_course_zip("C:\\Users\\Sanket\\Downloads\\swirl_courses-master.zip\\", multi=TRUE, which_course="Open Intro") error message:Error in…