1,441 reputation
417
bio website yihui.name
location Ames, IA
age
visits member for 2 years, 9 months
seen 2 days ago

Jul
27
comment Avoid R output leaking into LaTeX with ggnet
No worries. Let's leave it to people who can do it. I cannot do it, either.
Jul
25
comment Avoid R output leaking into LaTeX with ggnet
looks like a duplicate of stackoverflow.com/questions/24949113/…
Jul
25
comment R Chunk Code within Enumeration Environment with knitr in LyX
@MYaseen208 No, I do not have a different solution. I always use what Scott provided here.
Jul
12
answered Memory issue when producing dense TikZ figure (14500 points scatterplot) with knitr
May
20
comment Using knitr, beamer, and /foreach to produce unique section titles in pdf from R string variable
That is correct. People often mix R programming with LaTeX programming, which is not possible in knitr. R/knitr knows nothing about LaTeX programs.
May
9
comment knitr. Splitting a function into several blocks
@DanWright You can combine the two chunks into a third chunk, then evaluate it, e.g. <<part3, ref.label=c('part1', 'part2')>>>=
May
7
comment How to export changes from a .tex file back to the source .Rnw file
That will be difficult. I'd recommend working with the real source file, i.e. .Rnw, since .tex is a derived and intermediate output file. It is not easy to go back.
May
7
answered Typeset R character vectors
May
3
answered Column Vector Sweave \Sexpr
May
3
comment Scan () and Sweave Help
R question. Irrelevant to TeX.SE. Please move to SO if possible.
May
3
answered Scan () and Sweave Help
May
3
comment “Math Processing Error” when processing LaTeX using knitr in R
Please provide a minimal reproducible example, and the software versions. There are too many unknown pieces of information here.
Apr
18
comment TikzDictionary slow and blocking in knitr
@Chris Nice to hear that.
Apr
18
comment TikzDictionary slow and blocking in knitr
@Chris Oops, sorry, you are right, and should put the setting in Slide_template_example.Rnw instead of Report_master_example.Rnw. If you use the development version of knitr, you should be fine if the option is set in master.
Apr
18
answered inline knitr code that isn't a simple number
Apr
17
answered TikzDictionary slow and blocking in knitr
Apr
17
revised How to include LaTeX package in R Markdown?
the tex community may not know what Rmd is; please write "R Markdown"
Apr
17
suggested suggested edit on How to include LaTeX package in R Markdown?
Apr
17
comment How to include LaTeX package in R Markdown?
@Malipivo This is a question about R Markdown, and I believe it belongs to StackOverflow instead of TeX.SE.
Apr
17
comment inline knitr code that isn't a simple number
Use string processing functions to turn your complex objects into a character string. BTW, this is not a question specific to LaTeX, so someone may have to move it to StackOverflow.