Hi, Thank you for your reply. I am new to R and I sill get the following error.
install.packages("swirl", dependencies=TRUE)
Installing package into ‘C:/Users/Suresh/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘stringi’
trying URL 'https://cran.wu.ac.at/bin/windows/contrib/4.0/stringi_1.4.6.zip'
Content type 'application/zip' length 15217051 bytes (14.5 MB)
downloaded 14.5 MB
trying URL 'https://cran.wu.ac.at/bin/windows/contrib/4.0/swirl_2.4.5.zip'
Content type 'application/zip' length 350510 bytes (342 KB)
downloaded 342 KB
package ‘stringi’ successfully unpacked and MD5 sums checked
package ‘swirl’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Suresh\AppData\Local\Temp\Rtmpgh12db\downloaded_packages
library(swirl)
Error: package or namespace load failed for ‘swirl’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘magrittr’