Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error of loading swirl #573

Open
HengshuoLiu opened this issue Dec 7, 2016 · 12 comments
Open

error of loading swirl #573

HengshuoLiu opened this issue Dec 7, 2016 · 12 comments

Comments

@HengshuoLiu
Copy link

Hi

I have installed swirl but when I load it, I get the following message

install.packages("swirl")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/swirl_2.4.2.zip'
Content type 'application/zip' length 212141 bytes (207 KB)
downloaded 207 KB

package ‘swirl’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Hengshuo\AppData\Local\Temp\RtmpklUL8A\downloaded_packages

library(swirl)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’
Error: package or namespace load failed for ‘swirl’

How can I fix this error?

Thank you very much for the help.

@seankross
Copy link
Member

Have you tried installing stringi on its own?

@arbaj12
Copy link

arbaj12 commented Dec 8, 2016

Hi
The same issue is with me
package ‘digest’ successfully unpacked and MD5 sums checked
package ‘swirl’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\arbaj\AppData\Local\Temp\Rtmpwl41Xe\downloaded_packages

library(swirl)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’
Error: package or namespace load failed for ‘swirl’

How can i fix that?

@seankross
Copy link
Member

Have you tried installing RCurl on its own?

@kshitij1995
Copy link

package ‘swirl’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\KSHITIJ\AppData\Local\Temp\Rtmpe4ovJ6\downloaded_packages

library(swirl)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘bitops’
In addition: Warning message:
package ‘swirl’ was built under R version 3.3.2
Error: package or namespace load failed for ‘swirl’

please help

@seankross
Copy link
Member

@kshitij1995 Have you tried installing bitops on its own?

@Naseim
Copy link

Naseim commented Dec 18, 2016 via email

@meyytt
Copy link

meyytt commented Dec 25, 2016

I was having the same problem, and i did the following:
Go to (C:) and searched for the R files. Once you've clicked the R file, look for "Courses" and there will have a YAML archive. Then, you can open it with R Studio.

@Naseim
Copy link

Naseim commented Dec 26, 2016 via email

@hamzaouzzi
Copy link

This helped me solve this issue:
http://stackoverflow.com/questions/31038636/package-stringi-does-not-work-after-updating-to-r3-2-1

@elinw
Copy link

elinw commented Feb 3, 2017

Sean, shouldn't the missing packages be installed according to this code?
https://github.com/swirldev/swirl/blob/master/R/utilities.R#L133

@seankross
Copy link
Member

@elinw Of course it should, but it occasionally it doesn't work.

@Neo-sunny
Copy link

Actually when you install and download libraries for swirl in R console in windows7, it is not able to extract and transfer from temp folder to required folder. so you have to manually move and extract it from there to the required folder and do not forget to move the required dependencies folder also. In my case i have to move from C:\Users\Usrename\AppData\Local\Temp\Rtmp69bYd2\downloaded_packages to C:\Users\Usrename\Documents\R\win-library\3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants