Closed fsouder closed 10 years ago
Strange. We're in the process of moving to a redesigned version of the software, but not quite there yet. In the meantime, is the plottrix
package installed on your computer? Try install.packages("plotrix")
from the R command prompt, then run swirl()
again to see if that fixes the problem. That graphic requires the package, which should load automatically, but may not be doing so for you for some reason.
If that doesn't resolve your problem, please type sessionInfo()
at the R command prompt and copy and paste the output, so I can see your set up.
Thanks, Nick
Still having problems. Here's printout of the session:
install.packages("plotrix") Installing package into ‘C:/Users/Frank/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) trying URL ' http://cran.rstudio.com/bin/windows/contrib/3.0/plotrix_3.5-2.zip' Content type 'application/zip' length 624041 bytes (609 Kb) opened URL downloaded 609 Kb
package ‘plotrix’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\Frank\AppData\Local\Temp\Rtmp8O7reC\downloaded_packages
swirl() Error: could not find function "swirl" library("devtools") Warning message: package ‘devtools’ was built under R version 3.0.2 swirl() Error: could not find function "swirl" install_github(repo="swirl",username="ncarchedi") Installing github repo swirl/master from ncarchedi Downloading swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip Installing package from C:\Users\Frank\AppData\Local\Temp\Rtmp8O7reC/swirl.zip Installing swirl "C:/PROGRA~1/R/R-30~1.1/bin/i386/R" --vanilla CMD INSTALL \
"C:\Users\Frank\AppData\Local\Temp\Rtmp8O7reC\devtoolsa90179764a\swirl-master" \ --library="C:/Users/Frank/Documents/R/win-library/3.0" \ --install-tests
swirl() Error: could not find function "swirl" sessionInfo() R version 3.0.1 (2013-05-16) Platform: i386-w64-mingw32/i386 (32-bit)
locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252
attached base packages: [1] stats graphics grDevices utils datasets methods [7] base
other attached packages: [1] devtools_1.4.1
loaded via a namespace (and not attached): [1] digest_0.6.3 evaluate_0.5.1 httr_0.2 memoise_0.1 [5] parallel_3.0.1 RCurl_1.95-4.1 stringr_0.6.2 tools_3.0.1 [9] whisker_0.3-2
On Sun, Dec 22, 2013 at 6:57 PM, Nick Carchedi notifications@github.comwrote:
Strange. We're in the process of moving to a redesigned version of the software, but not quite there yet. In the meantime, is the plottrixpackage installed on your computer? Try install.packages("plotrix") from the R command prompt, then run swirl()again to see if that fixes the problem. That graphic requires the package, which should load automatically, but may not be doing so for you for some reason.
If that doesn't resolve your problem, please type sessionInfo() at the R command prompt and copy and paste the output, so I can see your set up.
Thanks, Nick
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/38#issuecomment-31099343 .
This means you forgot to load the swirl package:
> swirl()
Error: could not find function "swirl"
No need to reinstall anything. Just try the following at the R prompt:
library(swirl)
swirl()
Choose the same course as before and let me know if it works.
Nick
Worked well. Thanks.
On Dec 29, 2013, at 9:33, Nick Carchedi notifications@github.com wrote:
This means you forgot to load the swirl package:
swirl() Error: could not find function "swirl" No need to reinstall anything. Just try the following at the R prompt:
library(swirl) swirl() Choose the same course as before and let me know if it works.
Nick
— Reply to this email directly or view it on GitHub.
By the way, if you'd like a little feedback, here is some. I'm doing the intro course you developed. I've recently finished an intro course in statistics and currently am taking Brian Caffo's course in Biostatistics on Coursera, so I have a pretty good understanding of the very basic things, and a familiarity with R -- Still, the more times I hear things, the more they sink in.
I can't go back and replicate it without doing the whole introductory module again, so maybe in my haste I missed something. However, as I recall, you began explaining the median (or maybe the mode). You took a subset of the cars data and had us load it into a vector, e.g median.example<-cars.subset Then you said something to the effect "Look at the data and guess at what the median is". Well, there was no way to look at the data. I had to exit the program, go into R, type View(median.example), and at that point the answer was obvious. Then I had to reenter the programmed learning.
That's a nit. You're doing a great job. I'll be taking Prof. Caffo's Biostatistics 2, and I hope the Biostatistics 2 relates to that.
Another nit in your presentation. In the course analyzing data. You ask about outliers. You ask if there is a circle above the "large" box plot. There was no circle and I entered No, which was indicated as wrong. I think you mean to ask if there is a circle above the "small" box plot.
Regards,
Frank
On Sun, Dec 29, 2013 at 10:09 AM, Frank Souder fsouder@gmail.com wrote:
Worked well. Thanks.
On Dec 29, 2013, at 9:33, Nick Carchedi notifications@github.com wrote:
This means you forgot to load the swirl package:
swirl() Error: could not find function "swirl"
No need to reinstall anything. Just try the following at the R prompt:
library(swirl) swirl()
Choose the same course as before and let me know if it works.
Nick
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/38#issuecomment-31317969 .
Started the Open Intro and got this response:
Here is a simple visual illustration of how a sample is related to a population. An error was detected. Please notify the administator.