r - Unable to install dplyr package on windows vista -
i'm trying install dplyr package on windows vista machine (through r studio). have latest version of r installed (3.22) , preview version of r studio installed. i've had no issues in past installing packages, when try install one, got error:
> install.packages("dplyr") installing package ‘c:/users/user/documents/r/win-library/3.2’ (as ‘lib’ unspecified) installing dependency ‘bh’ trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/bh_1.58.0-1.zip' content type 'application/zip' length 13846694 bytes (13.2 mb) downloaded 13.2 mb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/dplyr_0.4.3.zip' content type 'application/zip' length 2552598 bytes (2.4 mb) downloaded 2.4 mb
i tried installing devtools package install dplyr package straight github. however, devtools package gave me trouble on installation:
> install.packages("devtools") installing package ‘c:/users/user/documents/r/win-library/3.2’ (as ‘lib’ unspecified) installing dependencies ‘bh’, ‘brew’, ‘xml2’, ‘httr’, ‘curl’, ‘memoise’, ‘whisker’, ‘jsonlite’, ‘roxygen2’, ‘rversions’, ‘git2r’ trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/bh_1.58.0-1.zip' content type 'application/zip' length 13846694 bytes (13.2 mb) downloaded 13.2 mb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/brew_1.0-6.zip' content type 'application/zip' length 104730 bytes (102 kb) downloaded 102 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/xml2_0.1.2.zip' content type 'application/zip' length 3174710 bytes (3.0 mb) downloaded 3.0 mb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/httr_1.0.0.zip' content type 'application/zip' length 382429 bytes (373 kb) downloaded 373 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/curl_0.9.3.zip' content type 'application/zip' length 4384906 bytes (4.2 mb) downloaded 4.2 mb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/memoise_0.2.1.zip' content type 'application/zip' length 16878 bytes (16 kb) downloaded 16 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/whisker_0.3-2.zip' content type 'application/zip' length 64756 bytes (63 kb) downloaded 63 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/jsonlite_0.9.17.zip' content type 'application/zip' length 1009755 bytes (986 kb) downloaded 986 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/roxygen2_4.1.1.zip' content type 'application/zip' length 594453 bytes (580 kb) downloaded 580 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/rversions_1.0.2.zip' content type 'application/zip' length 16455 bytes (16 kb) downloaded 16 kb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/git2r_0.11.0.zip' content type 'application/zip' length 2690457 bytes (2.6 mb) downloaded 2.6 mb trying url 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/devtools_1.9.1.zip' content type 'application/zip' length 357684 bytes (349 kb) downloaded 349 kb
none of these files ever written ‘c:/users/user/documents/r/win-library/3.2’.
other things tried:
- making sure have latest version of r installed
- opening r studio in administrator mode , installing packages then
- installing in r commander instead
- trying different cran mirror
none of these helped.
any ideas how install dplyr?
as @erasmortg suggested in comments, first downloaded dplyr zip file cran-r page. ran:
utils::install.packages("c:/r/dplyrversion.zip", repos=null)
Comments
Post a Comment