Looks to me like you are giving the name of a directory where a file name of a tar.gz (package source) would be required. R prefers to be given the package file rather than an extracted directory of files.
Most packages on Windows are used in their binary form ("zip" file), so you would not specify the type="source" option of you install from the zip file. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. On September 11, 2015 1:22:56 PM PDT, tonina <yan...@meta.ua> wrote: >Hello. I'm trying to install R package Rssa from directory >install.packages("d:\\Rssa\\", repos=NULL, type="source") > >But I have an error > >* installing *binary* package 'Rssa' ... >Warning: running command 'cp -R . "E:/Program >Files/R/R-3.1.3/library/Rssa" >|| ( tar cd - .| (cd "E:/Program Files/R/R-3.1.3/library/Rssa" && tar >-xf - >))' had status 127 >ERROR: installing binary package failed >* removing 'E:/Program Files/R/R-3.1.3/library/Rssa' >Warning in install.packages : > running command '"E:/PROGRA~1/R/R-31~1.3/bin/x64/R" CMD INSTALL -l >"E:\Program Files\R\R-3.1.3\library" "d:/Rssa/"' had status 1 >Warning in install.packages : > installation of package ‘d:/Rssa/’ had non-zero exit status >I installed this packages early from directory without problem. And >when I >use this package without installation > >library("Rssa", lib.loc="d:\\Rssa\\") > >package works now too. > >I have been looking for similar errors, but I still can not understand >this >error and don't know what to do. Thank you for help. > > > >-- >View this message in context: >http://r.789695.n4.nabble.com/Installation-R-package-Rssa-from-directory-tp4712160.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.