swirldev / swirl

:cyclone: Learn R, in R.
http://swirlstats.com
Other
1.13k stars 593 forks source link

swirl installation issue in R studio #719

Open subbro opened 6 years ago

subbro commented 6 years ago

Hi I am trying to install swirl, but I get the error permission denied. Below is the response:

install.packages("swirl") Installing package into ‘C:/Users/xcxcxc/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) also installing the dependencies ‘cli’, ‘crayon’, ‘praise’, ‘rlang’, ‘withr’, ‘bitops’, ‘stringr’, ‘testthat’, ‘yaml’, ‘RCurl’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/cli_1.0.0.zip' Content type 'application/zip' length 329574 bytes (321 KB) downloaded 321 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/crayon_1.3.4.zip' Content type 'application/zip' length 749540 bytes (731 KB) downloaded 731 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/praise_1.0.0.zip' Content type 'application/zip' length 19449 bytes (18 KB) downloaded 18 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/rlang_0.2.1.zip' Content type 'application/zip' length 821556 bytes (802 KB) downloaded 802 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/withr_2.1.2.zip' Content type 'application/zip' length 150374 bytes (146 KB) downloaded 146 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/bitops_1.0-6.zip' Content type 'application/zip' length 38625 bytes (37 KB) downloaded 37 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/stringr_1.3.1.zip' Content type 'application/zip' length 194722 bytes (190 KB) downloaded 190 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/testthat_2.0.0.zip' Content type 'application/zip' length 1593521 bytes (1.5 MB) downloaded 1.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/yaml_2.1.19.zip' Content type 'application/zip' length 190793 bytes (186 KB) downloaded 186 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/RCurl_1.95-4.10.zip' Content type 'application/zip' length 2969339 bytes (2.8 MB) downloaded 2.8 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/swirl_2.4.3.zip' Content type 'application/zip' length 344405 bytes (336 KB) downloaded 336 KB

Error in install.packages : cannot open file 'C:/Users/sxcxc/Documents/R/win-library/3.5/file3970562d17a0/cli/help/figures/box-1.png': Permission denied

Could any please one help

@seankross

TASmith64 commented 6 years ago

i would love to be able to help you but I can't I am getting similar responses when I attempt to load. I have the following messages: :/PROGRA~1/R/R-35~1.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users/Mine Mine all Mine/AppData/Local/Temp/RtmpeKKoKm/devtools24dc706f2896/swirldev-swirl-a087e02" \ --library="C:/Users/Mine Mine all Mine/Documents/R/win-library/3.5" --install-tests

If anyone is monitoring this help line please give us some assistance. Thank you. I have the latest R and Rstudio loaded in Windows. I have attempted to load package stringi and have searched multiply sights for assistance. I have tried to load the devtools version and get similar results.