Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded section on default function parameters. #505
Conversation
|
You rock. I just glanced at it and I think a "Best Practice" is to only add questions at the end (so that references aka 'R FAQ 7.31' remain fixed). Shall we move it and make 3.12 instead of a new 3.1 ? |
|
@eddelbuettel I added one more change to deal with switching the verbatim environment used within the MacOS compiler flag section to the highlight code. |
| @@ -668,9 +668,9 @@ library paths. A solution is outlined | |||
|
|
|||
| In short, you want to add this entry to your \texttt{~/.R/Makevars}: | |||
|
|
|||
| \begin{verbatim} | |||
| <<lang=bash>>= | |||
eddelbuettel
Jul 15, 2016
Member
Nice one!
Nice one!
|
You never typeset this one, did you? Fix coming shortly ... |
|
Now in b93dee8. For what it is worth, here is a helper script I use on the Rnw files: #!/usr/bin/Rscript
## use given argument(s) as target files, or else default to .Rnw files in directory
files <- if (length(commandArgs(TRUE)) == 0) dir(pattern="*.Rnw") else commandArgs(TRUE)
## convert all files from Rnw to pdf using the highlight driver
invisible(sapply(files, function(srcfile) {
Sweave(srcfile, driver=highlight::HighlightWeaveLatex(boxes=TRUE))
tools::texi2pdf(gsub(".Rnw", ".tex", srcfile))
tools::texi2pdf(gsub(".Rnw", ".tex", srcfile), texi2dvi="pdflatex")
})) |
|
@eddelbuettel thanks for the script. I've added it: https://github.com/RcppCore/Rcpp/wiki/Modifying-an-Rcpp-Vignette |
|
Good. I just expanded the intro paragraph ever so slightly. |
Addressed #418