Replies: 87 comments 173 replies
-
Thanks for your good work. We are following and using the tools innovatively. Here at JKUAT (KENYA) . We are now able to dynamically generate exams in LYX. |
Beta Was this translation helpful? Give feedback.
-
Very impressive, thank you very much! |
Beta Was this translation helpful? Give feedback.
-
I'm about to dig in to knitr, thanks in advance for your effrots. |
Beta Was this translation helpful? Give feedback.
-
Thank you so musch for this excellent work! |
Beta Was this translation helpful? Give feedback.
-
I use the lyx/knitr for dataset validation reporting in population pharmacokinetic modeling and simulation.
|
Beta Was this translation helpful? Give feedback.
-
knitr+Lyx don't compile if I set my language for 'Portuguese (Brazil)'. Someone have a tip? thanks. |
Beta Was this translation helpful? Give feedback.
-
Every examples (in ... Rlibraryknitrexamples) compile very fine, no errors! :-). But when I put characters with accents, like áéíóú in normal text, not in R chunk, I get the error message:
neither convert to plain latex, works. Cleber Borges |
Beta Was this translation helpful? Give feedback.
-
If I can allow myself a simple comment and suggestion, I would love to have a 'silent=T' option with the knit function. Seeing the code compile is nice at the beginning, but when it's working fine, I found it neater without. Anyway, it's not a big deal, just my 2 cents. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for the wonderful work. Knitr is a very powerful tool. I'd be happy to know if there's a solution for this situation. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
How to use knitr in the file with ctex? |
Beta Was this translation helpful? Give feedback.
-
I am trying to make a beamer presentation with knitr in Rstudio and am running into some problems when I use cite(...) for references. Commenting out the cite(...) commands avoids errors when knitting, and I can open the .tex file and bibtex and latex the file twice to produce the citations. Is there a way to do all of this within Rstudio? |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui -- I'm considering learning either "Rapport" or "Knitr". Could you give a rundown on how knitr is different (...better!) than rapport, or why someone might gravitate to one versus the other? Many thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello Yihui; |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, Thank you very much for knitr, it has together with RStudio become a very important component of my R-work. One question: I use LaTex because of its powerful layout capabilities, especially for creating advanced slides (beamer) with graphs, maps and text layouted together, that can be recreated many times with different indata. I see a lot of focus on Markdown, both here and with RStudio. It is good for fast and simple production, but for me it is too limited. Have I misunderstood Markdown? Can I continue using LaTex with knitr for my more advanced layout-needs? Again, thanks a lot for knitr and all the supporting documentation and examples. /Chris |
Beta Was this translation helpful? Give feedback.
-
Hello again, Yihui; There is a problem with the R output, it produces a overfull hbox warning. |
Beta Was this translation helpful? Give feedback.
-
I have just tried running the example 'knitr-minimal.Rnw from the code: then tried > knit2pdf('knitr-minimal.Rnw') Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : where do I get pdf2latex from? |
Beta Was this translation helpful? Give feedback.
-
when i put two read.table in one chunk, the second read fails. If I put them in separate chunks it succeeds. This works:
This fails:
Thoughts? |
Beta Was this translation helpful? Give feedback.
-
I'm having some issues when a child file in a folder different from project root folder calls to another child ('grandchild') file in the same subfolder. Is this a common issue? In my main file I call the first child in a chunk: In the child file I call the second child (in the same subfolder) with another chunk: Whenever I do this, I receive an error message like this: Process started processing file: ResolucionTarea5_EST-601.Rnw processing file: ./Ejercicios/primeraparte.Rnw Warning in readLines(if (is.character(input2)) { : cannot open file '1.1.Rnw': No such file or directory Quitting from lines 2-2 (./Ejercicios/1.1.Rnw) Quitting from lines 15-NA (./Ejercicios/1.1.Rnw) Error in readLines(if (is.character(input2)) { : cannot open the connection Calls: ... process_group.block -> call_block -> lapply -> FUN -> knit -> readLines Execution halted Process exited with error(s) If all three files are in the same folder, this does not happen. Any idea of what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, |
Beta Was this translation helpful? Give feedback.
-
Earlier today, I suddenly started getting the error 'tikzDevice not available', or the equivalent, when I tried to compile my .Rnw file. Upgrading from knitr_1.1 to knitr_1.2 made no difference. The error was identified as occurring from code 'library(p, ...)', where ... stands for text that I did not record. Unfortunately I wiped the log file in the process of experimenting with what turned out to be a fix. It turned out that placing the .Rnw file in a different directory (I was running under RStudio) allowed the compilation to proceed. Removing the cache directory from the initial location turned out to fix the problem. Clearly something in the cache was triggering the demand for 'tikzDevice', which I do not have on my R_3.0.0 installation (running under OS X10.8.3). I am posting this for the record. |
Beta Was this translation helpful? Give feedback.
-
Tikz is chewing up too much memory in a plot I am trying to make, is there any way to externalize the plotting,whilst still having the convenience of using chunks? |
Beta Was this translation helpful? Give feedback.
-
Hi, I am new to the package. Do you have any suggestion about learning it? |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hello Yihui, First of all thanks for this good video, Second, I have some questions: As far as I have understood, in Rstudio, I can create an R Sweave document and then compile Pdf for a document with Rnw extension. How can I make a Sweave document in Revolution R Enterprise or in RGui? Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, |
Beta Was this translation helpful? Give feedback.
-
Is this published in a journal article or other publication that is indexed in PubMed? If yes, can you send the PubMed id? If not, I hope you will consider writing a short applications note to Bioinformatics (or other suitable journal) so that I can cite it. Thank you for creating a very useful great tool I use nearly every day! Yours, Ann Loraine |
Beta Was this translation helpful? Give feedback.
-
Yihui, Brand new to knitr, awaiting the arrival of your new book. Meanwhile, what do folks do now about installing tikzDevice when they are using R version 3.0.1? David |
Beta Was this translation helpful? Give feedback.
-
Hi, I think you can try the latest development version: install.packages('markdown', repos = 'http://rforge.net') The stable version 1.2 on CRAN has some known problems for the SAS engine.
|
Beta Was this translation helpful? Give feedback.
-
Many thanks for this really nice work. I use it lot, it's great fun. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am unable to update knitr in my R and the error comes from updating xfun whose version is 0.43 whereas latest is 0.46. Is there any way I can copy the latest folder of xfun and replace it in my folder. Thanks |
Beta Was this translation helpful? Give feedback.
-
knitr: Elegant, flexible and fast dynamic report generation with R
https://yihui.org/knitr/
Beta Was this translation helpful? Give feedback.
All reactions