[R] Installation R package Rssa from directory

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sat Sep 12 08:42:27 CEST 2015

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:<jdnewmil at 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 <yanita at 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
>|| ( 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
>error and don't know what to do. Thank you for help.
>View this message in context:
>Sent from the R help mailing list archive at Nabble.com.
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list