Closed ncarchedi closed 10 years ago
I suspect this has something to do swirl not being compatible with the most recent version of R.
Hence:
Warning in install.packages :
package ‘C:\Users\alcobe\Downloads\swirl-master.zip’ is not available (for R version 3.0.2)
Does anyone have thoughts on this?
Should I install a different R version? Which one?
I'm sorry, I haven't had time to address this. The package works fine with the previous release -- R version 3.0.1 (2013-05-16) -- "Good Sport". However, I'm hoping to get it working with the new version (3.0.2) sometime today.
Ok. Then I'll be looking forward to hearing from your news. Thanks.
The package should now be compatible with the newest version of R (3.0.2). I upgraded R on my machine (Windows 7) and the package installed normally. Please confirm you're able to get it to work.
Thanks, Nick
I am afraid I am still getting the same error messages:
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)
Is there any means I can easily verify that my downloaded zipped file contains your latest version of the package?
I think it may be an issue with devtools:
https://github.com/hadley/devtools/issues/100
http://stackoverflow.com/questions/16740256/error-installing-packages-from-github
Please let me know the outcome!
Nick
On Wed, Oct 9, 2013 at 3:02 AM, malcobe notifications@github.com wrote:
I am afraid I am still getting the same error messages:
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)
Is there any means I can easily verify that my downloaded zipped file contains your latest version of the package?
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/15#issuecomment-25950576 .
Nicholas A. Carchedi ScM Student, Biostatistics Johns Hopkins Bloomberg School of Public Health 301.802.0573 | nick.carchedi@gmail.com
Still the same:
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)
I apologize, but I don't know why you are having this error. The links in my previous response are the best information I have. As yours is the only report I have seen of this problem, my guess is that it has something to do with your computer or network configuration. Please take another look at those links and see if anything in there helps. Otherwise, my hands are tied.
On Wed, Oct 9, 2013 at 10:54 AM, malcobe notifications@github.com wrote:
Still the same:
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)
—
Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/15#issuecomment-25977657 .
Nicholas A. Carchedi ScM Student, Biostatistics Johns Hopkins Bloomberg School of Public Health 301.802.0573 | nick.carchedi@gmail.com
Ok, sorry if I have caused any inconvenience. I will try this from a different network, and if that still doesn't work, I will try with R 3.0.1.
I appreciate your patience. Please keep me posted so I can advise others accordingly. I'm sure someone else will experience the same problem at some point in the future. On Oct 9, 2013 11:59 AM, "malcobe" notifications@github.com wrote:
Ok, sorry if I have caused any inconvenience. I will try this from a different network, and if that still doesn't work, I will try with R 3.0.1.
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/15#issuecomment-25983278 .
Excuse me for adding a coment to a closed issue. Just for the record, I wanted to say that I am having exactly the same issue with R 3.0.1 (32bits) under Windows XP sp3. I have tried all the suggestions written here and get the exactly the same results as malcobe for instance, trying to install locally with
install.packages(file.choose(), repos=NULL) I get: "Warning in install.packages : package ‘C:\Users\sardanza\Downloads\swirl-master.zip’ is not available (for R version 3.0.1)", so it might not be just a 3.0.2. versus 3.0.1 version.
Thanks for the info. I'll try to look into this some more.
Nick
On Thu, Oct 17, 2013 at 8:37 AM, sardanza notifications@github.com wrote:
Excuse me for adding a coment to a closed issue. Just for the record, I wanted to say that I am having exactly the same issue with R 3.0.1 (32bits) under Windows XP sp3. I have tried all the suggestions written here and get the exactly the same results as malcobe for instance, trying to install locally with
install.packages(file.choose(), repos=NULL) I get: "Warning in install.packages : package ‘C:\Users\sardanza\Downloads\swirl-master.zip’ is not available (for R version 3.0.1)", so it might not be just a 3.0.2. versus 3.0.1 version.
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/15#issuecomment-26500319 .
Nicholas A. Carchedi ScM Student, Biostatistics Johns Hopkins Bloomberg School of Public Health 301.802.0573 | nick.carchedi@gmail.com
I finally tried this from a different network (no annoying proxies) and the package installation was successful:
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 Installing package from C:\Users\alcobe\AppData\Local\Temp\RtmpmGKExq/swirl.zip Installing swirl "C:/PROGRA~1/R/R-30~1.2/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\alcobe\AppData\Local\Temp\RtmpmGKExq\swirl-master" \ --library="C:/Program Files/R/R-3.0.2/library" --with-keep.source --install-tests
- installing source package 'swirl' ... * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded
- DONE (swirl)
Best, Marc.
Great, thanks for the update!
Nick
On Sun, Oct 27, 2013 at 7:06 AM, malcobe notifications@github.com wrote:
I finally tried this from a different network (no annoying proxies) and the package installation was successful:
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 Installing package from C:\Users\alcobe\AppData\Local\Temp\RtmpmGKExq/swirl.zip Installing swirl "C:/PROGRA~1/R/R-30~1.2/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\alcobe\AppData\Local\Temp\RtmpmGKExq\swirl-master" \ --library="C:/Program Files/R/R-3.0.2/library" --with-keep.source --install-tests
- installing source package 'swirl' ... * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded
- DONE (swirl)
Best, Marc.
— Reply to this email directly or view it on GitHubhttps://github.com/ncarchedi/swirl/issues/15#issuecomment-27167024 .
Nicholas A. Carchedi ScM Student, Biostatistics Johns Hopkins Bloomberg School of Public Health 301.802.0573 | nick.carchedi@gmail.com
Hey Guys,
I kind of have same problem with different package. Can you guide me to solve the error?
install.packages("RecordLinkage") Installing package into ‘/home/harvarab/R/x86_64-redhat-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘RecordLinkage’ is not available (for R version 3.0.2)
Nick, any update with Swirl on R version 3.4.2, I think there is s compatibility issue with this newer version also
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: