408 reputation
210
bio website math.mcmaster.ca/bolker
location Hamilton, Canada
age
visits member for 2 years, 9 months
seen Nov 20 at 23:38

mostly an R user these days


Oct
2
awarded  Popular Question
Sep
24
awarded  Autobiographer
Sep
18
revised Is it possible to get Sweave/knitr in RStudio to output the .tex file without typesetting it?
added 2 characters in body
Sep
18
awarded  Yearling
Jul
17
comment Knitr and numbers
I think you can copy my_inline_hook <- knitr:::.inline.hook.tex, modify it to suit your needs (you might need to add knitr::: in front of calls to internal knitr functions), and then use knit_hooks$set(inline=my_inline_hook) ?
Jun
10
comment Problem with algorithm in pgfmath
what did you do to fix it?
Mar
9
comment Sweave boxplots — not the required output
@hgeop, perhaps post that as an answer. (You are encouraged to answer your own questions if you can.)
Mar
9
comment Sweave boxplots — not the required output
I can't reproduce this (R development version/3.1.0); simply adding \documentclass{article}; \begin{document} ; ... \end{document} to your MWE, I get final output with vertical x-axis labels as you wanted. (Have you tried clearing out any previously created plot files?)
Jan
5
comment Suppress library comments from ouput with knitr
I can't reproduce either. I would try cleaning out your cache directory ...
Dec
4
answered Is it possible to get Sweave/knitr in RStudio to output the .tex file without typesetting it?
Dec
4
comment Is it possible to get Sweave/knitr in RStudio to output the .tex file without typesetting it?
just use library(knitr); knit("file.Rnw") in the console.
Dec
1
comment knitr generated pdf cut border off from figure
try adding par(xpd=NA). Also, it's a little confusing that you spell "weight" as "weigth" (although you are consistent)
Oct
16
answered passing a variable from R to Tex in knitr
Sep
26
awarded  Yearling
Sep
25
comment Plots are not appearing in PDF after using Sweave
I made my comment into an answer so you can select it.
Sep
25
answered Plots are not appearing in PDF after using Sweave
Sep
25
comment Plots are not appearing in PDF after using Sweave
try adding fig=TRUE in the chunk options? (You might need an explicit print() around the p in the last line of the chunk too ...) If you use knitr::knit instead of Sweave, you won't need either of those explicit specifications ...
Aug
6
comment How can one make RStudio pass options to Sweave()?
You can customize markdown rendering rstudio.com/ide/docs/authoring/markdown_custom_rendering , but I don't know/don't think this is available for Sweave/PDF rendering. It might be worth opening an issue on the RStudio forums.
Apr
18
awarded  Commentator
Mar
14
awarded  Citizen Patrol