swirldev / swirl

:cyclone: Learn R, in R.
http://swirlstats.com
Other
1.11k stars 590 forks source link

Exploratory Data Analysis - Case Study - Swirl() not progressing #718

Open apoorvaprabhu90 opened 6 years ago

apoorvaprabhu90 commented 6 years ago

The swirl keeps exiting midway during my session - is there any way to fix it?

This is what I got:

Now we'll change focus a bit and instead of looking at all the | monitors throughout the country and the data they recorded, we'll | try to find one monitor that was taking measurements in both 1999 | and 2012. This will allow us to control for different | geographical and environmental variables that might have affected | air quality in different areas. We'll narrow our search and look | just at monitors in New York State.

Error in eval(e, x, parent.frame()) : object 'State.Code' not found | Leaving swirl now. Type swirl() to resume.

I have tried installing fields package in r - I find that the package is still active but the lesson doesnt progress.I try logging back to the swirl each time but still fail at this point. Any suggestions please?

Thanks,

Apoorva

sponge2017 commented 5 years ago

same error. even after quit R Studio then returned and reinstaledl the lesson:

install_course("Exploratory Data Analysis") .....

| Would you like to continue with one of these lessons?

1: Exploratory Data Analysis CaseStudy 2: No. Let me start something new.

Selection: 1 Loading required package: spam Loading required package: dotCall64 Loading required package: grid Spam version 2.1-2 (2017-12-21) is loaded. Type 'help( Spam)' or 'demo( spam)' for a short introduction and overview of this package. Help for individual functions is also obtained by adding the suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: ‘spam’

The following objects are masked from ‘package:base’:

backsolve, forwardsolve

Loading required package: maps

| Now we'll change focus a bit and instead of looking at all the monitors throughout the country and the data they recorded, we'll try | to find one monitor that was taking measurements in both 1999 and 2012. This will allow us to control for different geographical and | environmental variables that might have affected air quality in different areas. We'll narrow our search and look just at monitors in | New York State.

Error in eval(e, x, parent.frame()) : object 'State.Code' not found

| Leaving swirl now. Type swirl() to resume.

grezavi commented 4 years ago

Now we'll change focus a bit and instead of looking at all the monitors throughout the country and the data they | recorded, we'll try to find one monitor that was taking measurements in both 1999 and 2012. This will allow us to | control for different geographical and environmental variables that might have affected air quality in different | areas. We'll narrow our search and look just at monitors in New York State.

Error in eval(e, x, parent.frame()) : object 'State.Code' not found

| Leaving swirl now. Type swirl() to resume.

sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] grid stats graphics grDevices utils datasets methods base

other attached packages: [1] jpeg_0.1-8 fields_9.8-3 maps_3.3.0 spam_2.2-2 dotCall64_1.0-0 ggplot2_3.2.0 swirl_2.4.4

loaded via a namespace (and not attached): [1] Rcpp_1.0.1 magrittr_1.5 munsell_0.5.0 colorspace_1.4-1 R6_2.4.0 rlang_0.4.0
[7] stringr_1.4.0 httr_1.4.0 tools_3.6.1 gtable_0.3.0 cli_1.1.0 withr_2.1.2
[13] assertthat_0.2.1 yaml_2.2.0 lazyeval_0.2.2 digest_0.6.20 tibble_2.1.3 crayon_1.3.4
[19] bitops_1.0-6 RCurl_1.95-4.12 testthat_2.1.1 curl_3.3 stringi_1.4.3 compiler_3.6.1
[25] pillar_1.4.2 scales_1.0.0 pkgconfig_2.0.2

image