Comments (12)
Hi Wes.
Thanks for the feedback and kind words. Glad you're enjoying swirl,
I don't understand why swirl isn't letting you proceed. When you cut/paste from the hint line, you're not enclosing the command in quotation marks are you? This feedback from swirl indicates that the expression it's evaluating isn't evaluating to an equal value as the one supplied by the answertest. Could you possible show me more of the console transcript?
Thanks. I'll look into this more.
from swirl_courses.
Hi Regina
Thank you for taking the time to investigate
When I restart Swirl it picks up where the error was (very nice).
Here is a screenshot of the entire RStudio screen
Best regards
Wes
On 12/9/2014 6:46 PM, reginaastri wrote:
Hi Wes.
Thanks for the feedback and kind words. Glad you're enjoying swirl,
I don't understand why swirl isn't letting you proceed. When you
cut/paste from the hint line, you're not enclosing the command in
quotation marks are you? This feedback from swirl indicates that the
expression it's evaluating isn't evaluating to an equal value as the
one supplied by the answertest. Could you possible show me more of the
console transcript?Thanks. I'll look into this more.
—
Reply to this email directly or view it on GitHub
#79 (comment).
from swirl_courses.
I've tried and failed to reproduce the problem using the CRAN version of swirl and installing the course from swirl. We have noticed that some code delivered with the course contains a legacy bug, which we'll fix in hopes it magically solves the problem. The bug did not seem to affect me, however, so I doubt that's it.
from swirl_courses.
Hi Wes,
Your screenshot doesn't appear. Could you please tell us more about the system you're running on - operating system, version numbers, and maybe copy/paste the answers you're submitting to swirl?
Thanks.
from swirl_courses.
I've just fixed the legacy custom test bug in all the Statinf lessons and pushed to github.
from swirl_courses.
Hi Regina
Does this help?
R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(swirl)
| Hi! I see that you have some variables saved in your workspace. To keep things running smoothly, I recommend
| you clean up before starting swirl.
| Type ls() to see a list of the variables in your workspace. Then, type rm(list=ls()) to clear your
| workspace.
| Type swirl() when you are ready to begin.
rm(list=ls())
swirl()
| Welcome to swirl!
| Please sign in. If you've been here before, use the same name as you did then. If you are new, call yourself
| something unique.
What shall I call you?wes
| Would you like to continue with one of these lessons?
1: Statistical Inference Resampling
2: No. Let me start something new.
Selection:1
| Attemping to load lesson dependencies...
| Package ‘reshape2’ loaded correctly!
| Package ‘ggplot2’ loaded correctly!
| We'll relabel and calculate the difference of means 10000 times and store the differences (of means) in the
| array perms. Here's what the code looks like perms <- sapply(1 : 10000, function(i) testStat(BCcounts,
| sample(group))). Try it now.
perms <- sapply(1 : 10000, function(i) testStat(BCcounts, sample(group)))
| Nice try, but that's not exactly what I was hoping for. Try again. Or, type info() for more options.
| Type perms <- sapply(1 : 10000, function(i) testStat(BCcounts, sample(group))) at the command prompt.
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
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] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_1.0.0 reshape2_1.4 swirl_2.2.16
loaded via a namespace (and not attached):
[1] colorspace_1.2-4 digest_0.6.4 grid_3.1.1 gtable_0.1.2 httr_0.5 labeling_0.2
[7] MASS_7.3-33 munsell_0.4.2 plyr_1.8.1 proto_0.3-10 Rcpp_0.11.2 RCurl_1.95-4.3
[13] scales_0.2.4 stringr_0.6.2 testthat_0.9.1 tools_3.1.1 yaml_2.1.13
Best regards
Wes
On 12/10/2014 12:25 PM, reginaastri wrote:
Hi Wes,
Your screenshot doesn't appear. Could you please tell us more about
the system you're running on - operating system, version numbers, and
maybe copy/paste the answers you're submitting to swirl?
Thanks.—
Reply to this email directly or view it on GitHub
#79 (comment).
from swirl_courses.
Thanks, Wes!
We still haven't been able to replicate the problem. We're quite puzzled because it looks like you're response should pass the test. You might try reinstalling the course and redoing the lesson, although that's not a very satisfying answer. We'll keep trying to track down the problem.
Best wishes.
from swirl_courses.
Sometimes just exiting swirl, clearing your workspace (rm(list = ls())
), restarting R, then starting swirl back up again helps. You can still resume the lesson where you left off. Let us know what works.
from swirl_courses.
BTW, we ran the lesson successfully on a 32 bit Windows 7 machine, which is as close as we can get to Wes's setup. We did run the latest version of the course which includes this afternoon's bug fix. Truthfully, though, I can't see how this would be an operating system or a problem with that legacy bug.
from swirl_courses.
Nick ... I tried your suggestion (exiting swirl, clearing the workspace (rm(list = ls())), restarting R, then starting swirl back up). This did not resolve the issue.
Regina ... I tried a modification of your suggestion (reinstalled the package swirl then reinstalled the lesson Statistical Inference). This resolved the issue - I was able to run through the entire lesson.
Thank you all for your support.
from swirl_courses.
A puzzlement. I wonder if it was down to that legacy bug.
from swirl_courses.
Glad it worked! Thanks for keeping us posted.
from swirl_courses.
Related Issues (20)
- How do I access R programming course? HOT 1
- Exploratory Data Analysis: Use of with() should be accepted
- Issue in starting "Manipulating Data with dplyr" module of the "Getting and Cleaning Data" course HOT 3
- Problem starting Manipulating Data with dplyr HOT 6
- Error when running Manipulating Data with dplyr course HOT 1
- ?chain for help does not work
- unable to install R_Programming_E
- Sorry, but I'm unable to fetch ‘R Programming: The basics of | programming in R’ HOT 3
- Running "Manipulating Data with dplyr" under Getting and Cleaning Data HOT 3
- Error in Activating the "Getting and Cleaning Data" course HOT 1
- Getting and Cleaning Data/Grouping and Chaining with dplyr : error when I submit script
- This question does not work in R 4.3.1 HOT 7
- if i am organizing class using swirl
- R Programming Lesson 8, Logic - '&&' Error HOT 4
- Latest yaml -fix on Manipulating Data with dplyr was not included in the installation build
- R Programming/Looking At Data: summary(plants) output does not match description HOT 2
- Error in z * sigma : non-numeric argument to binary operator
- Error/Bug in the looking at Data section of the R Programming swirl course
- Exploratory Data Analysis Lesson 9 Bug (needs fix)
- Getting and Cleaning Data course error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swirl_courses.