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.
Have you tried installing stringi on its own?
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?
Have you tried installing RCurl on its own?
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
@kshitij1995 Have you tried installing bitops on its own?
Thanks Sean!
I did install bitops on my own today after receiving your email.
Restarted and working now. But getting following errors. Do I need to
change the working directory to something while working with swirl.
urban <- read_csv("datapath/urban.csv.gz")Error: 'datapath/urban.csv.gz' does not exist in current working directory ('C:/Users/Oktoer Naseim/Desktop').> urban <- read_csv("urban.csv.gz")Error: 'urban.csv.gz' does not exist in current working directory ('C:/Users/Oktoer Naseim/Desktop')
Appreciate any help.
On Sat, Dec 17, 2016 at 2:47 PM, Sean Kross notifications@github.com
wrote:
@kshitij1995 https://github.com/kshitij1995 Have you tried installing
bitops on its own?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/swirldev/swirl/issues/573#issuecomment-267785774, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXZa6vWXWfVclDojDLffXxpv_vEH-Lyeks5rJEptgaJpZM4LGOFr
.
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.
Thanks for your response.
I uninstalled and then reinstalled R and R Studio. Since then I did not see any issues.
I'll try your suggestion, if I run into same issues.
Thanks again.
On Dec 25, 2016, at 2:45 PM, meyytt notifications@github.com wrote:
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.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
This helped me solve this issue:
http://stackoverflow.com/questions/31038636/package-stringi-does-not-work-after-updating-to-r3-2-1
Sean, shouldn't the missing packages be installed according to this code?
https://github.com/swirldev/swirl/blob/master/R/utilities.R#L133
@elinw Of course it should, but it occasionally it doesn't work.
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
Most helpful comment
This helped me solve this issue:
http://stackoverflow.com/questions/31038636/package-stringi-does-not-work-after-updating-to-r3-2-1