Git Product home page Git Product logo

swirl_old's People

Contributors

khughitt avatar ncarchedi avatar wilcrofter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swirl_old's Issues

Bug in pval for Mathematical Biostatistics Boot Camp 2 module 1

Following the code for Mathematical Biostatistics Boot Camp 2 module 1, you first calculate a p-value by hand, and then use t.test to get one. The p-values do not match in the end as they are supposed to.

This line works correctly and I can see the correct value for pVal stored in my workspace variables (viewed in RStudio):
pVal <- pt(tStat, df=myDF, lower.tail=FALSE)

But when the next line is executed
pVal <- pVal * 2
for some reason pVal gets replaced by pVal_4 instead of pVal_2.

Not sure why this would be happening, but thanks for taking a look when you get a chance.

Cheers,
Margaret

Open_Intro, Module1, mod line 55, mpg.midsize not loaded

Question 55, Open_Intro, Module1


I have stored the values of the 'mpgCity' variable for ONLY midsize vehicles in a new variable called 'mpg.midsize', which you can view by typing 'mpg.midsize' below. Try it now.

ANSWER: mpg.midsize

Not a valid input!

An error was detected. Please notify the administator.

> exists("mpg.midsize") [1] FALSE

> data("mpg.midsize") Warning message: In data("mpg.midsize") : data set ‘mpg.midsize’ not found


Looks like the subset of cars is not in the package or dta files. Nor is it referred to in mod.info:

> mod.info Instructor.name. Nicholas.Carchedi 1 Course name: Open Intro 2 Module name: Introduction to Data 3 Packages required for this module (separated by commas): openintro, plotrix 4 Data sets required for this module (separated by commas): cars


If you resume after the abort, mpg.midsize exists. The reason appears to be that mod[23, "Correct.Answer"], which defines mpg.midsize was executed upon resumption along with other Correct.Answer code involving assignment. This entry was the "correct answer" to a "text" type Output which did not require an answer, hence was not executed when first encountered.

getting an error

Hi,
have an error on Rstudio which shows as

Error: could not find function "install_github"

Thnx

Program Halted

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.

[Module 2, Data Analysis course] Skipping interactive prompts

I am posting this issue on behalf of Alan, who emailed me directly. He is referring to Module 2 from the Data Analysis course. I was able to replicate the problem on my computer:

"I seem to be automatically skipped past a few interactive prompts at this point":

image

One problem in the module 3

name of course/module: data analisis/module 3

description: application appears to have stalled, not continuous, ie tells me that progress is 100 percent, but it out of the application

R version number: R version 3.0.1 (2013-05-16)

image

Moving through modules

I cannot use the command chooseCourse()

chooseCourse()
Error: could not find function "chooseCourse"

Is there a way to see an index of all the modules and select from those modules?

Currently I only appear to select between:
1: Data Analysis
2: Mathematical Biostatistics Boot Camp 2
3: Open Intro

Is there more than one section within each of these units?
I select an option 1-3, complete the first unit until 100%, then swirl stops and I have to restart.
Each time I completed a section it says that I am ready to move on to the next section, but then it exits me from Swirl and I have to reload the package, at which point I have to start at the beginning again.

Maybe I am navigating incorrectly?

It would be nice to have an index which allows selection from all stages and levels of the course. Does this exist?

Thanks,
Marguerite

Problem installing: 'C:\Program' is not recognized

I'm posting this on behalf of Elizabeth, who emailed me directly. It appears to be slightly different from the other installation problems some people have reported. Please comment if you think you know what's going on:

Hello,

I was trying to install swirl, and I think I got through the >library("devtools") step ok, but when I try to install swirl, I get this:

> install_github(repo="swirl", username="ncarchedi")
Installing github repo(s) swirl/master from ncarchedi
Downloading swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip
Installing package from C:\Users\Elizabeth Ng\AppData\Local\Temp\RtmpKUymSw/swirl.zip
Installing swirl
"C:/Program  \
  Files/R/R-3.0.2/bin/x64/R"  \
  --vanilla CMD INSTALL  \
  "C:\Users\Elizabeth  \
  Ng\AppData\Local\Temp\RtmpKUymSw\swirl-master"  \
  --library="C:/Users/Elizabeth  \
  Ng/Documents/R/win-library/3.0"  \
  --with-keep.source --install-tests 

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)

Use menu for module question when signing in as admin?

When you sign in as boring admin, swirl asks for course, module, and line number. The module question must be spelled out exactly, Module1, Module2, etc. Anything else will produce an error and abort the run. A menu of choices would be handier.

Tools for course creation?

I went through the documentation on creating courses / modules and the final step is to email the spreadsheets to you for inclusion in swirl. Is there an easy way we can build our own courses directly, rather than having to send them to you?

R version 3.0.2 (2013-09-25) 64-bit on Linux Mint. Can't install devtools package

I'm stuck on the first step on the installation process, when trying to install the devtools package.
Please find attached the error message returned on the R console.

> install.packages("devtools")
Installing package into/home/gianluca/R/x86_64-pc-linux-gnu-library/3.0’
(aslibis unspecified)
also installing the dependencieshttr’, ‘RCurltrying URL 'http://cran.rstudio.com/src/contrib/httr_0.2.tar.gz'
Content type 'application/x-gzip' length 50183 bytes (49 Kb)
opened URL
==================================================
downloaded 49 Kb

trying URL 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb

trying URL 'http://cran.rstudio.com/src/contrib/devtools_1.3.tar.gz'
Content type 'application/x-gzip' length 114381 bytes (111 Kb)
opened URL
==================================================
downloaded 111 Kb

* installing *source* packageRCurl...
** packageRCurlsuccessfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for packageRCurl* removing/home/gianluca/R/x86_64-pc-linux-gnu-library/3.0/RCurlWarning in install.packages :
  installation of packageRCurlhad non-zero exit status
ERROR: dependencyRCurlis not available for packagehttr* removing/home/gianluca/R/x86_64-pc-linux-gnu-library/3.0/httrWarning in install.packages :
  installation of packagehttrhad non-zero exit status
ERROR: dependencieshttr’, ‘RCurlare not available for packagedevtools* removing/home/gianluca/R/x86_64-pc-linux-gnu-library/3.0/devtoolsWarning in install.packages :
  installation of packagedevtoolshad non-zero exit status

The downloaded source packages are in/tmp/RtmpYumlZX/downloaded_packages

Not saving user information or progress

Using RStudio 0.97.551 and the latest version of Swirl

Interesting and useful looking project, but major problems -

  1. progress not saved between sessions - existing user email is not recognised. Being told i have to "log in as a new user and start from the beginning" is not very helpful.
  2. the above would be negated somewhat with an option to skip to or start at a particular tutorial
  3. using RStudio 'enter' is registered twice in the console when used from a script as opposed to in the console

Dealing with spurious white space in Answer.Type

In Data Analysis, module 2, line 12, Answer.Type is "exact " (with a trailing space):

> mod[12,"Answer.Type"] [1] "exact "

This causes line 23 of userInput.R,
if(type=="exact") {
to fail, hence no match is found, and the function exits without action.

The fix is removing leading and trailing spaces from type before comparison.

[Module 1, Open Intro] Box plot question not accepting answer

I am posting this on behalf of Andrew, who emailed me directly. I was not able to replicate the bug on my computer, but I'm wondering if others are having the same problem. He is referring to Module 1 of the Open Intro course:

"I was trying the box plot question about outliers and the answer doesn't seem to work."

image

installation of swirl

My company blocks ZIP and EXE files from being downloaded. So I've downloaded master.zip at home. How do I install the "swirl-master" directory into Rstudio?

We've moved!

This repository is no longer in use.

For up-to-date information regarding the Statistics with Interactive R Learning (swirl) R package, please visit swirlstats.com.

We now maintain our source code at swirldev/swirl.

issue with installing

After installing "devtools" successfully, I tried to run "install_github(repo="swirl", username="ncarchedi")" but I got the error message below. Could anyone help me on it? By the way, I am using Mac. Thanks!

Installing github repo(s) swirl/master from ncarchedi
Installing swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip
Installing swirl
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD
build
'/private/var/folders/dp/5wkj0pgn7p9dcqzxx69gptx40000gn/T/RtmpJoSNSg/swirl-master'
--no-manual --no-resave-data

  • checking for file '/private/var/folders/dp/5wkj0pgn7p9dcqzxx69gptx40000gn/T/RtmpJoSNSg/swirl-master/DESCRIPTION' ... OK
  • preparing 'swirl':
  • checking DESCRIPTION meta-information ... OK
  • checking for LF line-endings in source and make files
  • checking for empty or unneeded directories
  • building 'swirl_1.0.tar.gz'
    sh: /usr/bin/gnutar: No such file or directory
    ERROR
    packaging into .tar.gz failed
    Error: Command failed (1)

got stuck at 'diffPopMean <- 0' step

Was playing with it... quite impressive.

However, got stuck at the diffPopMean <- 0 step in the t-test tutorial. Is the expected answer value somehow different?

screen shot 2013-09-28 at 12 30 51 am

[Module1, Open Intro] Plotting error

I am posting this issue on behalf of Cory, who emailed me directly:

"Hi,

Upon answering a question I received the following error:

"""
Now that you know what the range measures, take a look back at our dot plot. Using the R-command 'range(cars$price)', determine the exact values for the minimum and maximum of the data set, respectively.

ANSWER: range(cars$price)
[1] 7.4 61.9

That's a job well done!

PROGRESS: << (X) (X) (X) ( ) ( ) ( ) ( ) ( ) ( ) ( ) >> (34% Complete)

The first number given is the minimum and the second number given is the maximum. To represent these numbers visually, I've drawn 2 lines on the dot plot. As you can see, the red vertical line on the far left illustrates where the minimum value lies. The red vertical line on the far right illustrates where the maximum value lies. The range of the data is defined as the distance between these two red lines.
An error was detected. Please notify the administator.
"""

I am running in Fedora, and installed swirl as per the instructions on this site:
http://ncarchedi.github.io/swirl/students.html

-Thanks"

Question appearing AFTER answers

I'm posting this question on behalf of Richard, who emailed me directly:

"Sometimes the popup asking the question appears before the question. For example, after the scatter plot graph, there's a question whose answers are Continuous, Discrete, and Categorical, but the popup appears before the question does and you can't see the question until you've answered correctly (by guessing)."

[Module2, Data Analysis] Not accepting answer

I am posting this issue on behalf of Alan, who emailed me directly. One thing I'm noticing is that he uses '**' to square the standard deviation instead of '^'. This may be the reason for the problem, in which case we just need to add a hint that shows the user how to correctly square something in R:

"I don't seem to be able to get past this question, no matter what method I use to calculate the variance from the standard deviation."

image 1

[Data Analysis, Module 2] Requiring exact order & separation of answers is bad

I struggled for quite a bit attempting to solve the following problem:

PROGRESS: << (X) (X) (X) (X) (X) (X) (X) (X) (X) ( ) >> (85% Complete)

An OUTLIER is an observation that is unusual or extreme relative to the other values in 
the data set. Outliers are useful in identifying a heavy skew in a distribution, 
and may signify a data collection or data entry error to a scientist. 
There are many different conventions for identifying outliers within a data set.

...

PROGRESS: << (X) (X) (X) (X) (X) (X) (X) (X) (X) (X) >> (88% Complete)

When looking at the box plot, which car types appear to have outliers?
Separate your answers with a comma.

The following are the answers I tried first:

midsize, small

Thinking perhaps it does not accept answers with spaces in between (it does say to separate with commas), I tried:

midsize,small

Ok, maybe it wants 'small' to come first:

small,midsize

Still nothing. Quotes?

'midsize','small'

After much rage, I finally came to:

ANSWER: small, midsize

You got it!

It doesn't really make sense for small to have to come before midsize, with a comma and space separating the two when separate your answers with a comma is all that is requested.

Perhaps a means should be provided for accepting a list of answers as a solution to a problem, as opposed to just one particular string? Then some parsing could be done to verify that the user's input matches the list, and everybody would be happy.

Trouble installing swirl

I would like to play with swirl but I am having trouble downloading it.

I get the error message pasted below this message

I assume this is due to me not having the path "J:/R-Library/3.0.1" on my system, but I do not know how to fix this/ enter a valid path - are you able to advise.
I also tried downloading the swirl-master.zip file and installing that locally but got the following error

Warning in install.packages :
package ‘~/R/Packages/swirl-master.zip’ is not available (for R version 3.0.1)

I am working on a university windows 7 pc that with a user log on account, but usually have no problem install and downloading packages. I use R studio (v 0.97.248) with
R version 3.0.1

Any advice would be appreciated,

install_github(repo="swirl", username="ncarchedi"

  • )
    Installing github repo(s) swirl/master from ncarchedi
    Downloading swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip
    Installing package from C:\Users\user\AppData\Local\Temp\RtmpAnK06N/swirl.zip
    Installing swirl
    "C:/PROGRA2/R/R-301.1/bin/i386/R" --vanilla CMD INSTALL
    "C:\Users\user\AppData\Local\Temp\RtmpAnK06N\swirl-master"
    --library="\Tower7/home37/user/R/win-library/3.0" --with-keep.source --install-tests

Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[3]="J:/R-Library/3.0.1": The system cannot find the path specified
Warning in normalizePath(path.expand(path), winslash, mustWork) :
path[4]="J:/R-Library/3.0.1": The system cannot find the path specified

  • installing source package 'swirl' ...
    ** R
    ** inst
    Warning in file.create(to[okay]) :
    cannot create file '\Tower7/home3/user/R/win-library/3.0/swirl/Courses/Data_Analysis/Figures/mod1_boxplot.R', reason 'No such file or directory'

Computing median of 'myDrive' variable upon resuming progress

I'm submitted this issue on behalf of Petros, who emailed me directly:

"Hi,

See the attached screen shot

EMAIL: *****

Welcome back, Petros! It's great to see you again. Would you like to begin where you left off?

ANSWER: y

I'm displaying the previous plot in case you need to refer back to it.

Second, find the median value of your 'myDrive' variable now.

ANSWER: median(myDrive)

Not a valid input!

An error was detected. Please notify the administator."

Trouble installing w/o Win7 admin privileges

I have R 3.0.1 installed on my PC, and Rtools31 too. But, I don’t have administrative privilege and I can’t update my path. So, the library(devtools) command fails, complaining that it can’t find Rtools. It recommends I run find_rtools(), but that just results in the exact same error message.

I tried adding the path to Rtools on the command line, then launching R, but that didn't help. I think find_rtools is looking at the system path, not the path that’s in effect when R is launched.

Also, it seems to me that find_rtools should have an option to let me just specify where Rtools is located.

power module biostats error in calculating power exercise

There is an error when calculating the z score associated with the 95th percentile of the normal distribution.

it keeps asking for input of qnorm(0.95) which I give, but it then repeats the message prompting for the qnorm input

Request to skip questions

I've heard this request from several users:

"Please add an option to skip a question or at least move on if the correct answer is not given after a fixed number of attempts."

**I can't get swirl installed, help! pls.**

Hi, group!
I've just read about swirl and found it so interesting.
I tried it with, following guidelines at swirl web site but unsuccessful. This what I got instead:

> Error in library("devtools") : there is no package called ‘devtools’

PD. as further info, I opted for CRAN mirrors in UK, London & Bristol with the same issue, see below the output I got, just in case someone would know to give me a clue and sort it out..
Thanks!
Txe

> install.packages("devtools")
Installing package into ‘/home/txe/R/i686-redhat-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘httr’, ‘RCurl’

trying URL 'http://www.stats.bris.ac.uk/R/src/contrib/httr_0.2.tar.gz'
Content type 'application/x-gzip' length 50183 bytes (49 Kb)
opened URL
==================================================
downloaded 49 Kb

trying URL 'http://www.stats.bris.ac.uk/R/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb

trying URL 'http://www.stats.bris.ac.uk/R/src/contrib/devtools_1.3.tar.gz'
Content type 'application/x-gzip' length 114381 bytes (111 Kb)
opened URL
==================================================
downloaded 111 Kb

* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/txe/R/i686-redhat-linux-gnu-library/3.0/RCurl’
ERROR: dependency ‘RCurl’ is not available for package ‘httr’
* removing ‘/home/txe/R/i686-redhat-linux-gnu-library/3.0/httr’
ERROR: dependencies ‘httr’, ‘RCurl’ are not available for package ‘devtools’
* removing ‘/home/txe/R/i686-redhat-linux-gnu-library/3.0/devtools’

The downloaded source packages are in
    ‘/tmp/RtmpR3Ff7I/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
  installation of package ‘RCurl’ had non-zero exit status
2: In install.packages("devtools") :
  installation of package ‘httr’ had non-zero exit status
3: In install.packages("devtools") :
  installation of package ‘devtools’ had non-zero exit status

Problem installing swirl on R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"

I am posting the following issue on behalf of Marc, who emailed me directly:

Hi,

I tried following your instructions at http://ncarchedi.github.io/swirl/students.html and here is what I got:

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 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.

> install.packages("devtools")
also installing the dependencies ‘stringr’, ‘bitops’, ‘httr’, ‘RCurl’, ‘memoise’, ‘whisker’, ‘evaluate’, ‘digest’

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/stringr_0.6.2.zip'
Content type 'application/zip' length 75244 bytes (73 Kb)
opened URL
downloaded 73 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/bitops_1.0-6.zip'
Content type 'application/zip' length 35878 bytes (35 Kb)
opened URL
downloaded 35 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/httr_0.2.zip'
Content type 'application/zip' length 137542 bytes (134 Kb)
opened URL
downloaded 134 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/RCurl_1.95-4.1.zip'
Content type 'application/zip' length 2836672 bytes (2.7 Mb)
opened URL
downloaded 2.7 Mb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/memoise_0.1.zip'
Content type 'application/zip' length 10816 bytes (10 Kb)
opened URL
downloaded 10 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/whisker_0.3-2.zip'
Content type 'application/zip' length 64593 bytes (63 Kb)
opened URL
downloaded 63 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/evaluate_0.5.1.zip'
Content type 'application/zip' length 48203 bytes (47 Kb)
opened URL
downloaded 47 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/digest_0.6.3.zip'
Content type 'application/zip' length 136316 bytes (133 Kb)
opened URL
downloaded 133 Kb

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/devtools_1.3.zip'
Content type 'application/zip' length 238643 bytes (233 Kb)
opened URL
downloaded 233 Kb

package ‘stringr’ successfully unpacked and MD5 sums checked
package ‘bitops’ successfully unpacked and MD5 sums checked
package ‘httr’ successfully unpacked and MD5 sums checked
package ‘RCurl’ successfully unpacked and MD5 sums checked
package ‘memoise’ successfully unpacked and MD5 sums checked
package ‘whisker’ successfully unpacked and MD5 sums checked
package ‘evaluate’ successfully unpacked and MD5 sums checked
package ‘digest’ successfully unpacked and MD5 sums checked
package ‘devtools’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\alcobe\AppData\Local\Temp\RtmpgvccrB\downloaded_packages
> library("devtools")
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
> find_rtools()
[1] TRUE
> library("devtools")
> install_github(repo="swirl", username="ncarchedi")
Installing github repo(s) swirl/master from ncarchedi
Downloading swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip
Error in function (type, msg, asError = TRUE)  : couldn't connect to host
> install.packages(file.choose(), repos=NULL)
Warning in install.packages :
  package ‘C:\Users\alcobe\Downloads\swirl-master.zip’ is not available (for R version 3.0.2)

Typos

Data Analysis Course, Module 2

PROGRESS: << (X) (X) (X) (X) ( ) ( ) ( ) ( ) ( ) ( ) >> (35% Complete)
Next, try calculating the variance for the data 'car$mpgCity'.

The name of the dataset is "cars" not "car".

Installing Swirl failing

HI
I have downloaded the Swirl_2.2.9.zop and installed first on R3.0.1 and later realised that Swirl requires R version 3.0.2
I have uninstalled 3.0.1 and reinstalled R.3.0.2 and Rstudio and as advised in this forum.
I have done the following. Still I could not run Swirl..
Your help is very much appreciated.
here is the log

library("swirl")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’
In addition: Warning message:
package ‘swirl’ was built under R version 3.1.0
Error: package or namespace load failed for ‘swirl’
library(swirl)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’
In addition: Warning message:
package ‘swirl’ was built under R version 3.1.0
Error: package or namespace load failed for ‘swirl’
library(devtools)
Error in library(devtools) : there is no package called ‘devtools’
library("devtools")
Error in library("devtools") : there is no package called ‘devtools’
install.packages("C:/work/GAS/DataWareHouse/R/devtools_1.5.zip", repos = NULL)
Installing package into ‘C:/Users/jnakka/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
package ‘devtools’ successfully unpacked and MD5 sums checked
install.packages("C:/work/GAS/DataWareHouse/R/swirl-master.zip", repos = NULL)
Installing package into ‘C:/Users/jnakka/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
libarary(swirl)
Error: could not find function "libarary"
library(swirl)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’
In addition: Warning message:
package ‘swirl’ was built under R version 3.1.0
Error: package or namespace load failed for ‘swirl’
library("swirl")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’
In addition: Warning message:
package ‘swirl’ was built under R version 3.1.0
Error: package or namespace load failed for ‘swirl’

Regards
Joga

Install-- stuck in loop

Looks like it was a successful install, but after “swirl()” I get a series asking me if I want to update. After I get through that ("yes","yes"), I type “update_swirl()” it goes through the install process again. Afterwards, typing “swirl()” gets me back to the “Hi there! Since swirl is still young…” page with the questions all over again. I don't see this issue posted, thanks.

Installation of Swirl - Issue at Step 3

Hi

I heard about your program through Dave Giles' blog. I am going to be using R in my PhD but am a total beginner so am hoping to make working through Swirl my holiday PhD goal.

I am working on my personal computer, an HP, using Windows.

My R version number is
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

I managed to install R, and devtools without too much hassle. I did have to select devtools of the toolbar drop menu as using the command given in step 2 was not working.

With Step 3, installing Swirl, I am not having any luck and would appreciate any help you can provide.

I have used the command you provide, and am getting the following error message:
Error: could not find function "install_github"

I have this message that all the following were installed successfully:
package ‘stringr’ successfully unpacked and MD5 sums checked
package ‘bitops’ successfully unpacked and MD5 sums checked
package ‘httr’ successfully unpacked and MD5 sums checked
package ‘RCurl’ successfully unpacked and MD5 sums checked
package ‘memoise’ successfully unpacked and MD5 sums checked
package ‘whisker’ successfully unpacked and MD5 sums checked
package ‘evaluate’ successfully unpacked and MD5 sums checked
package ‘digest’ successfully unpacked and MD5 sums checked
package ‘devtools’ successfully unpacked and MD5 sums checked

Kind Regards

Kerry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.