Please help me install the stringr and stringi packages in R. Result:
install.packages("stringi")
Installing package into ‘C:/Users/kozlovpy/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
URL 'https://mran.revolutionanalytics.com/snapshot/2015-08-27/bin/windows/contrib/3.2/stringi_0.5-5.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) :
URL 'https://mran.revolutionanalytics.com/snapshot/2015-08-27/bin/windows/contrib/3.2/stringi_0.5-5.zip'
: :
download.file(url, destfile, method, mode = "wb", ...) :
'InternetOpenUrl' : ' '
download.packages(pkgs, destdir = tmpd, available = available, :
‘stringi’
sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Russian_Russia.1251 LC_CTYPE=Russian_Russia.1251 LC_MONETARY=Russian_Russia.1251 LC_NUMERIC=C
[5] LC_TIME=Russian_Russia.1251
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] plyr_1.8.2 tools_3.2.2 gtable_0.1.2 Rcpp_0.11.5 grid_3.2.2 digest_0.6.8 proto_0.3-10
I tried to follow the recommendations in the link How do I handle the "package" xxx "is not available (for version R xyz)" warning? , and the result is the following (not positive):
- Title OK
- Just install all possible repositories
- The package, of course, is in the repositories.
- 'stringr' is of course a package
- My R is not outdated, I recently updated it to version 3.2.0
- 'stringr' is not an archive package
This did not give a positive result:
install.packages( "stringr" , type = "source" )
C:/Users/kozlovpy/Documents/R/win-library/3.2
( "lib " )
'stringi
URL 'https://mran.revolutionanalytics.com/snapshot/2015-08-27/src/contrib/stringi_0.5-5.tar.gz'
"/-" 3639183 (3,5 )
3.5 MB
URL 'https://mran.revolutionanalytics.com/snapshot/2015-08-27/src/contrib/stringr_1.0.0.tar.gz'
"/-" 34880 (34 )
34 KB
- 'stringi'...
** 'stringi' , MD5
: 'sh./configure.win' 127
ERROR: 'stringi'
- 'C:/Users/kozlovpy/Documents/R/win-library/3.2/stringi'
: 'stringi' 'stringr'
- 'C:/Users/kozlovpy/Documents/R/win-library/3.2/stringr'
'C:\Users\kozlovpy\AppData\Local\Temp\RtmpgnfwL4\download_packages
:
1: '' C:/PROGRA~1/RRO/R-32~1.2/bin/x64/R "
CMD INSTALL -l "C:\Users\kozlovpy\Documents\R\win-library\3.2"
C:\Users\kozlovpy\AppData\Local\Temp\RtmpgnfwL4/loaded_packages/stringi_0.5-5.tar.gz ' 1
2: install.packages( "stringr" , type = "source" ):
'stringi
3: '' C:/PROGRA~1/RRO/R-32~1.2/bin/x64/R "
CMD INSTALL -l "C:\Users\kozlovpy\Documents\R\win-library\3.2"
C:\Users\kozlovpy\AppData\Local\Temp\RtmpgnfwL4/download_pac
kages/stringr_1.0.0.tar.gz ' 1
4: install.packages( "stringr" , type = "source" ):
'stringr
Github :
install_github ( "hadley/stringr" )
github repo hadley/stringr @master
loadNamespace (i, c (lib.loc,.libPaths()), versionCheck = vI [[i]]):
'stringi
install_github ( "Rexamine/stringi" )
github repo Rexamine/stringi @master
loadNamespace (i, c (lib.loc,.libPaths()), versionCheck = vI [[i]]):
'stringi
options (install.packages.check.source = "no" )
- - .
, ?