Re: [PLUG] Using GitHub Download

2015-07-12 Thread Rich Shepard
On Sat, 11 Jul 2015, Nat Taylor wrote:

 you could try it in an ubuntu or debian docker container on your slackware
 desktop.
 And slackware should DEFINITELY have git baked in somehow.  Here it is.
 http://packages.slackware.com/?r=slackware-currentp=git-2.3.5-i486-1.txz

   Didn't look for it since it's not needed. Thanks for the information, Nat.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Robert Citek
On Sat, Jul 11, 2015 at 5:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
Will install git just for this type of situation. I use subversion so have
 never looked at git.

git takes a bit of getting used to if coming from CVS or subversion.
But once understood, it's quite a nice VCS.

Regards,
- Robert
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Rich Shepard
On Fri, 10 Jul 2015, Nat Taylor wrote:

 Read the README.md file that comes with the project.  If you scroll down
 its going to be printed out on the screen, too, at the bottom of the list
 of files.

Nat,

   Yes, the first thing I did was read the README.md file. And I don't use
Rstudio (which seems aimed more for Microsoft users than linux users; it
offers no more -- for me -- than does emacs with ess).

 You're going to need git installed, you can install it in memory using the
 package manager of the liveCD if its not included, otherwise install it on
 your linux machine first, and you are also going to need gcc (I think) and
 the dependencies listed in the next section: Build the book

   Er, gcc comes with every linux distribution, and there's no 'second'
machine here.

 You can build the pdf by cloning this repo and running make:

   Aha! That's what I suspected was the case. The only stackexchange thread I
found pointed to the presence of the all-inclusive .zip file so that's what
I did.

   Will install git just for this type of situation. I use subversion so have
never looked at git.

 If you use RStudio, you can press Cmd/Ctrl + Shift + B to run make.

   Don't ... and won't.

Thanks,

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download [RESOLVED]

2015-07-11 Thread Rich Shepard
On Fri, 10 Jul 2015, Rich Shepard wrote:

   An update to a 5-year-old book is being written with code available on
 the project's github page. The author asks for feedback on the developing
 second edition, and I need to learn how to use the subject of the book
 (ggplot2 for R graphics).

   Turns out that I don't need to learn or use ggplot2; the lattice package
will work just as well with the knitr module that allows R code to be
embedded in LaTeX/LyX documents. When the document is compiled, the R code
is compiled first and the results are included within the LaTeX/LyX
document. This saves cutting-and-pasting and provide guidance on using R to
analyze data to those reading the document.

   It's interesting that all the knitr documents I've read, including Xuihi's
book, mention only R's base graphics and Hadley Wickham's ggplot2. That's
why I thought I needed an additional graphics package.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Rich Shepard
On Sat, 11 Jul 2015, Nat Taylor wrote:

 I took it as a challenge and tried installing the dependencies in arch
 Linux, but it was a pain translating the packages and I didn't care that
 much. Looks like you're golden on an apt based distribution

   Goodie for those on an apt-based distribution. Slackware ain't.
Howsomever, slackbuilds.org has smartgit (6.5.8), a commercial desktop git
client that provides a free non-commercial use license. Required jdk (which
is installed and used by a couple of other applications, including JabRef
and jGnash). Think I'll give it a try.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Nat Taylor
you could try it in an ubuntu or debian docker container on your slackware
desktop.
And slackware should DEFINITELY have git baked in somehow.  Here it is.
http://packages.slackware.com/?r=slackware-currentp=git-2.3.5-i486-1.txz


On Sat, Jul 11, 2015 at 10:57 AM, Rich Shepard rshep...@appl-ecosys.com
wrote:

 On Sat, 11 Jul 2015, Nat Taylor wrote:

  I took it as a challenge and tried installing the dependencies in arch
  Linux, but it was a pain translating the packages and I didn't care that
  much. Looks like you're golden on an apt based distribution

Goodie for those on an apt-based distribution. Slackware ain't.
 Howsomever, slackbuilds.org has smartgit (6.5.8), a commercial desktop
 git
 client that provides a free non-commercial use license. Required jdk
 (which
 is installed and used by a couple of other applications, including JabRef
 and jGnash). Think I'll give it a try.

 Rich
 ___
 PLUG mailing list
 PLUG@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-10 Thread Nat Taylor
Read the README.md file that comes with the project.  If you scroll down
its going to be printed out on the screen, too, at the bottom of the list
of files.

If this is the one: https://github.com/hadley/ggplot2-book
then you read the README.md which I have pasted below.  Ideally you have
RStudio installed, note the highlighted part.  Otherwise you type the
commands on the command line.

You're going to need git installed, you can install it in memory using the
package manager of the liveCD if its not included, otherwise install it on
your linux machine first, and you are also going to need gcc (I think) and
the dependencies listed in the next section:
Build the book

You can build the pdf by cloning this repo and running make:

$ git clone https://github.com/hadley/ggplot2-book.git
$ cd ggplot2-book
$ make

If you use RStudio, you can press Cmd/Ctrl + Shift + B to run make.



Installing dependencies

To successfully build this book, you'll need R package development
prerequisites
https://support.rstudio.com/hc/en-us/articles/200486498-Package-Development-Prerequisites
, pandoc and pandoc-citeproc http://pandoc.org/installing.html,
potentially the Inconsolata font
http://www.ctan.org/tex-archive/fonts/inconsolata/, and a number of R
packages. The CRAN packages we depend on are listed in the DESCRIPTION, so
you can install them quickly via devtools
http://cran.r-project.org/web/packages/devtools/:

devtools::install_deps(path/to/ggplot2-book, dependencies = TRUE)

There are also a couple GitHub packages which we depend on:

devtools::install_github(c(adletaw/captioner, hadley/bookdown))


On Fri, Jul 10, 2015 at 2:59 PM, Rich Shepard rshep...@appl-ecosys.com
wrote:

 On Fri, 10 Jul 2015, Larry Brigman wrote:

  You could try it from a git clone of the project.

Thanks, Larry. I'll work on this over the weekend. Either the download
 or
 another approach.

 Rich
 ___
 PLUG mailing list
 PLUG@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Using GitHub Download

2015-07-10 Thread Rich Shepard
   An update to a 5-year-old book is being written with code available on the
project's github page. The author asks for feedback on the developing second
edition, and I need to learn how to use the subject of the book (ggplot2 for
R graphics).

   My Web search taught me that there's a 'download everything as a .zip
file' button on each project page. I used that link and now have a local 
directory
that is supposed to be the entire source, but I cannot find the *.tex files
to compile. Do I need a github account to get everything needed to build the
document locally?

   Suggestions and advice appreciated.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-10 Thread Larry Brigman
You could try it from a git clone of the project.

On Fri, Jul 10, 2015 at 2:53 PM, Larry Brigman larry.brig...@gmail.com
wrote:

 The zip file from a release should have everything from that project that
 is expected to use the project.  If not then that should probably be opened
 as an issue.
 To open an issue you probably do need a github account.


 On Fri, Jul 10, 2015 at 2:44 PM, Rich Shepard rshep...@appl-ecosys.com
 wrote:

An update to a 5-year-old book is being written with code available on
 the
 project's github page. The author asks for feedback on the developing
 second
 edition, and I need to learn how to use the subject of the book (ggplot2
 for
 R graphics).

My Web search taught me that there's a 'download everything as a .zip
 file' button on each project page. I used that link and now have a local
 directory
 that is supposed to be the entire source, but I cannot find the *.tex
 files
 to compile. Do I need a github account to get everything needed to build
 the
 document locally?

Suggestions and advice appreciated.

 Rich
 ___
 PLUG mailing list
 PLUG@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug



___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-10 Thread Larry Brigman
The zip file from a release should have everything from that project that
is expected to use the project.  If not then that should probably be opened
as an issue.
To open an issue you probably do need a github account.


On Fri, Jul 10, 2015 at 2:44 PM, Rich Shepard rshep...@appl-ecosys.com
wrote:

An update to a 5-year-old book is being written with code available on
 the
 project's github page. The author asks for feedback on the developing
 second
 edition, and I need to learn how to use the subject of the book (ggplot2
 for
 R graphics).

My Web search taught me that there's a 'download everything as a .zip
 file' button on each project page. I used that link and now have a local
 directory
 that is supposed to be the entire source, but I cannot find the *.tex files
 to compile. Do I need a github account to get everything needed to build
 the
 document locally?

Suggestions and advice appreciated.

 Rich
 ___
 PLUG mailing list
 PLUG@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-10 Thread Rich Shepard
On Fri, 10 Jul 2015, Larry Brigman wrote:

 You could try it from a git clone of the project.

   Thanks, Larry. I'll work on this over the weekend. Either the download or
another approach.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug