[R] Fwd: Learning advanced R

Albrecht Kauffmann alkauffm at fastmail.fm
Wed Mar 14 19:24:45 CET 2018


I've found two problems in interpreting adv-r-master/book/build-book.r:

1. All pathes in build-book.r refer to the starting-directory "adv-r-master". However, the script build-book.r is located in the directory "book", which is located in directory "adv-r-master". Therefore, pathes starting at "." are wrong (should start at "..").

2. Some file names have endings "Rmd", but e.g. in the line "chapters <- dir(".", pattern = "\\.rmd$")"  these endings are named "rmd". Therefore, the files (e.g. "base-types.Rmd") cannot be found.

Pandoc I have installed. Maybe there will arise further problems, but still I am experimenting with pathes.

Best,
Albrecht

-- 
  Albrecht Kauffmann
  alkauffm at fastmail.fm

Am Mi, 14. Mär 2018, um 18:56, schrieb Rich Shepard:
> On Wed, 14 Mar 2018, Jeff Newmiller wrote:
> 
> > Nothing you have said tells me you have LaTeX working (a binary install of
> > R does not depend on it), but if you actually know it is installed and
> > available to R then that isn't the problem. Since you have not said what
> > you actually did or what errors you encountered I can only shrug and
> > suggest that that the website is a complete rendering of the book and the
> > for-sale version makes a worthwhile contribution to the author and the
> > community.
> 
> Jeff,
> 
>    Downloading the site as a .zip file and reading the README.md tells us
> that pandoc is required. This is a format converter, apparently based on
> Haskell given the large number of dependencies to build it. But, pandoc will
> convert from markdown to LaTeX. I don't know the exact procedure as I've not
> yet taken the time to install all dependencies to pandoc and build it. The
> pandoc website has documentation.
> 
> Regards,
> 
> Rich
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list