An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140808/7e3c32ba/attachment.pl>
Installing manual package problem
8 messages · David Winsemius, Jeff Newmiller, Ista Zahn +2 more
On Aug 8, 2014, at 1:29 PM, James Holland wrote:
Running R 3.03 on Windows 7 I am trying to install a package from a github repository. https://github.com/google/glassbox I downloaded the repository as a zip file, extracted it to get the glassbox folder and re-zipped it with 7-zip.
Why?
I then ran
#-----------------Start code-------------------#
install.packages("C:/Users/jholland/Downloads/glassbox.zip", repos=NULL,
type="source")
I'm a Mac user but when I look at the directory created by expanding that zip file, it appears ready to just move/drag to the library without further installation. It is, however, not named 'glassbox' but rather 'glassbox-master' so perhaps you forgot to rename it?
The output message said Installing package into ?C:/Users/jholland/Documents/R/win-library/3.0? (as ?lib? is unspecified)
library(glassbox)
Error in library(glassbox) : ?glassbox? is not a valid installed package I'm not sure what I'm doing wrong. When I look in the R library folder (...R/win-library/3.0) I see the glassbox folder there.
I'm new to using packages not from the CRAN list so I'm trying to learn fast. I tried some searching and this seems to be what I'm suppossed to do, but perhaps I need to use dev mode ? Thank you for the help. ~James [[alternative HTML version deleted]]
This is a plain text mailing list.
David Winsemius Alameda, CA, USA
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140808/74a84ab3/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140808/7a411550/attachment.pl>
The obvious suggestion is to not repack the package file.
You should also be sure to read the Posting Guide, which points out that this is a plain text mailing list (HTML is not a what-you-see-is-what-we-see format).
---------------------------------------------------------------------------
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 August 8, 2014 1:29:14 PM PDT, James Holland <holland.aggie at gmail.com> wrote:
Running R 3.03 on Windows 7 I am trying to install a package from a github repository. https://github.com/google/glassbox I downloaded the repository as a zip file, extracted it to get the glassbox folder and re-zipped it with 7-zip. I then ran #-----------------Start code-------------------# install.packages("C:/Users/jholland/Downloads/glassbox.zip", repos=NULL, type="source") #-----------------------------------------------------# The output message said Installing package into ???C:/Users/jholland/Documents/R/win-library/3.0??? (as ???lib??? is unspecified)
library(glassbox)
Error in library(glassbox) : ???glassbox??? is not a valid installed package I'm not sure what I'm doing wrong. When I look in the R library folder (...R/win-library/3.0) I see the glassbox folder there. I'm new to using packages not from the CRAN list so I'm trying to learn fast. I tried some searching and this seems to be what I'm suppossed to do, but perhaps I need to use dev mode ? Thank you for the help. ~James [[alternative HTML version deleted]] ------------------------------------------------------------------------
______________________________________________ R-help at r-project.org mailing list 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140809/e555aace/attachment.pl>
Thank you all, I didn't know about the install_github function. Sorry, forgot to switch to plain text
On Sat, Aug 9, 2014 at 10:11 AM, Ista Zahn <istazahn at gmail.com> wrote:
If you just want to install the package from github, the easy way is to first install the devtools package and use the install_github function. Best, Ista On Aug 8, 2014 4:21 PM, "James Holland" <holland.aggie at gmail.com> wrote:
Running R 3.03 on Windows 7 I am trying to install a package from a github repository. https://github.com/google/glassbox I downloaded the repository as a zip file, extracted it to get the glassbox folder and re-zipped it with 7-zip. I then ran #-----------------Start code-------------------# install.packages("C:/Users/jholland/Downloads/glassbox.zip", repos=NULL, type="source") #-----------------------------------------------------# The output message said Installing package into ?C:/Users/jholland/Documents/R/win-library/3.0? (as ?lib? is unspecified)
library(glassbox)
Error in library(glassbox) : ?glassbox? is not a valid installed package
I'm not sure what I'm doing wrong. When I look in the R library folder
(...R/win-library/3.0) I see the glassbox folder there.
I'm new to using packages not from the CRAN list so I'm trying to learn
fast. I tried some searching and this seems to be what I'm suppossed to
do, but perhaps I need to use dev mode ?
Thank you for the help.
~James
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.
On 09.08.2014 17:40, James Holland wrote:
Thank you all, I didn't know about the install_github function. Sorry, forgot to switch to plain text On Sat, Aug 9, 2014 at 10:11 AM, Ista Zahn <istazahn at gmail.com> wrote:
If you just want to install the package from github, the easy way is to first install the devtools package and use the install_github function.
Reason why your former approach did not work: This is a source package, you need to install source packages via install.packages(..., type="source") or from the command line via R CMD INSTALL package_version.tar.gz See the R Installation and Administration manual for details. To build a proper .tar.gz file, do use R CMD build directory_name from the command line. Best, Uwe Ligges Best, Uwe Ligges
Best, Ista On Aug 8, 2014 4:21 PM, "James Holland" <holland.aggie at gmail.com> wrote:
Running R 3.03 on Windows 7 I am trying to install a package from a github repository. https://github.com/google/glassbox I downloaded the repository as a zip file, extracted it to get the glassbox folder and re-zipped it with 7-zip. I then ran #-----------------Start code-------------------# install.packages("C:/Users/jholland/Downloads/glassbox.zip", repos=NULL, type="source") #-----------------------------------------------------# The output message said Installing package into ?C:/Users/jholland/Documents/R/win-library/3.0? (as ?lib? is unspecified)
library(glassbox)
Error in library(glassbox) : ?glassbox? is not a valid installed package
I'm not sure what I'm doing wrong. When I look in the R library folder
(...R/win-library/3.0) I see the glassbox folder there.
I'm new to using packages not from the CRAN list so I'm trying to learn
fast. I tried some searching and this seems to be what I'm suppossed to
do, but perhaps I need to use dev mode ?
Thank you for the help.
~James
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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 at r-project.org mailing list 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.