search for: knitr

Displaying 20 results from an estimated 336 matches for "knitr".

2013 Jul 17
1
SweaveParseOptions, quoted commas, and knitr vignettes
I haven't figured it out entirely, but it looks like there are a couple of small glitches with knitr-based vignettes and SweaveParseOptions. I posted the tarball of a package with a knitr vignette with (as far as I can tell) everything properly coded in the DESCRIPTION file (VignetteBuilder: knitr, Suggests: knitr) and the vignette itself (%\VignetteEngine{knitr::knitr}). When Windows users (w...
2017 Jun 29
2
Cannot install knitr
Dear All, I am trying to install the package knitr but getting the following error: ---------------------- Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/lib64/R/library/stringi/libs/stringi.so': libicui18n.so.56: cannot open shared object file: No such file or directory Error : unable to load R c...
2013 Aug 23
2
packages with Sweave and knitr vignettes?
Now that R 3.0.0+ supports non-Sweave vignettes, R-exts \S 1.4.2 seems to imply that it is possible to include both Sweave and knitr vignettes in a single package. I'm wondering if anyone has tried this and/or if there are some hidden gotchas putting this into practice, and concerned about creating problems with CRAN checks if I try this. Consider two vignettes: pkg/vignettes/vign1.Rnw, containing: % !Rnw weave = Sweave...
2013 Feb 19
0
knitr version 1.1
Hi, I released knitr 1.1 to CRAN a few days ago: http://cran.r-project.org/package=knitr See all new features and changes at https://github.com/yihui/knitr/blob/master/NEWS.md#changes-in-knitr-version-11 The version 1.0 does not imply perfect stability or maturity. The major version number was bumped from 0.x to 1.x d...
2013 Feb 19
0
knitr version 1.1
Hi, I released knitr 1.1 to CRAN a few days ago: http://cran.r-project.org/package=knitr See all new features and changes at https://github.com/yihui/knitr/blob/master/NEWS.md#changes-in-knitr-version-11 The version 1.0 does not imply perfect stability or maturity. The major version number was bumped from 0.x to 1.x d...
2013 Jul 18
1
Looking for knitr example for beginner (NO RStudio)
Hi everyone, I am using package knitr, FIRST TIME. I don't have access to RStudio. Read through Yihui's page, didn't find it helpful. Stuck on terms Rnw, GFM (GitHub Flavored Markdown). Never used Sweave, so the reference is not helping. Is there a simple step-by-step example WITHOUT RStudio? My question: What is the...
2017 Jun 12
2
Paths in knitr
Hi Yihui, Hi Duncan, I corrected my typo. Unfortunately knitr did not find my plots in the directory where they reside which is different from the Rmd document. The documentation of knitr says: base.dir: (NULL) an absolute directory under which the plots are generate root.dir: (NULL) the root directory when evaluating code chunks; if NULL, the directory o...
2012 Jan 18
0
New package knitr
The knitr package was designed to be a transparent engine for dynamic report generation with R, solve some long-standing problems in Sweave, and combine features in other add-on packages into one package. It is a general-purpose package, and currently supports LaTeX, HTML and Markdown (still extensible). Se...
2012 Jan 18
0
New package knitr
The knitr package was designed to be a transparent engine for dynamic report generation with R, solve some long-standing problems in Sweave, and combine features in other add-on packages into one package. It is a general-purpose package, and currently supports LaTeX, HTML and Markdown (still extensible). Se...
2017 Jun 12
0
Paths in knitr
Will there be anything wrong if you do not set these options? Regards, Yihui -- https://yihui.name On Mon, Jun 12, 2017 at 2:24 AM, <G.Maubach at weinwolf.de> wrote: > Hi Yihui, > Hi Duncan, > > I corrected my typo. Unfortunately knitr did not find my plots in the > directory where they reside which is different from the Rmd document. > > The documentation of knitr says: > > base.dir: (NULL) an absolute directory under which the plots are generate > root.dir: (NULL) the root directory when evaluating code chunks...
2012 May 01
0
knitr + markdown: simplemente útil
Hola: Ya se ha comentado aquí algo sobre knitr, creo que la alternativa a Sweave (al que le tengo un gran cariño). La cosa va muy bien y lejos, os comento muy breve y os adjunto dos ficheros para muestra. Estoy buscando una forma de escribir potente y ágil para que los alumnos trabaje al cien por cien sin necesidad de aprender LaTeX (aqltugc)...
2014 Jun 14
1
Should a package that indirectly Suggests: a vignette engine pass R CMD check?
A package uses VignetteEngine: knitr; the package itself does not Suggests: knitr, but it Suggests: BiocStyle which in turn Suggests: knitr. Nonetheless, R CMD check fails indicating that a package required for checking is not declared. Is it really the intention that the original package duplicate Suggests: knitr? This is only wi...
2012 May 02
0
New version of the knitr package (0.5)
The knitr package version 0.5 is on CRAN now. It has gone through extensive development in the past few months, and about 200 issues were solved (https://github.com/yihui/knitr/issues) thanks to the feedback of users, which greatly improved the quality and usefulness of this package. For a complete list of c...
2012 May 02
0
New version of the knitr package (0.5)
The knitr package version 0.5 is on CRAN now. It has gone through extensive development in the past few months, and about 200 issues were solved (https://github.com/yihui/knitr/issues) thanks to the feedback of users, which greatly improved the quality and usefulness of this package. For a complete list of c...
2013 Oct 03
1
Error in "Writing R Extensions"
In Section 1.4.2 of "Writing R Extensions" %\VignetteEngine{knitr::knitr} should be %\VignetteEngine{knitr::knit} > sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit) Is this sort of thing best reported here, or is a huge report in order? John Maindonald email: john.maindonald at anu.edu.au phone : +61 2...
2014 Mar 13
4
Manuales de knitr
Hola a todos, ¿conocéis algún manual de knitr, además de los que aparecen en la página oficial (http://yihui.name/knitr/)? Es que en ciertas ocasiones, me gustaría conocer más sobre knitr y la página web se queda corta. También existe un libro sobre knitr (aparece en la página web), ¿alguien lo tiene y me podría decir si es recomendable su co...
2013 Jul 05
4
Alternativas a pgfSewave
Me interesa este tema. Estoy empezando ahora a ver el tema de armar documentos directamente con R y no estoy seguro en dónde me centro. Por lo que veo sweave y knitr son las dos grandes alternativas (de echo, no se siquiera si no son compatibles o complementarias). Para quien arranca en este tema y que pretende continuar sobre el mismo, que recomiendan, arrancar por sweave o por knitr? Saludos Fernando El 07/04/13 18:38, Rubén Gómez Antolí escribió: >...
2017 Jun 08
3
Paths in knitr
Hi All, I have to compile a report for the management and decided to use RMarkdown and knitr. I compiled all needed plots (using separate R scripts) before compiling the report, thus all plots reside in my graphics directory. The RMarkdown report needs to access these files. I have defined ```{r setup, include = FALSE} knitr::opts_knit$set( echo = FALSE, xtable.type = "html&quo...
2012 Dec 26
2
Problem with large/small numbers in knitr
I have problems with very large numbers using knitr. In the following, my a and b are extremely small and ssrr and ssru are extremely large. Knitr delivers error messages. Scaling ssrr and ssru by 1000 resolved the problem: ssrr <-ssrr/1000 ; ssru<-ssru/1000 Any clue as to how I might resolve the problem? BTW, the same program does run in ano...
2012 Nov 27
3
Problem installing knitr 0.5 or higher in Ubuntu
Hi, I am using Rstudio in Ubuntu . While installing R from the terminal I got the version R 2.13.1 . But the problem is that knitr 0.5 requires higher versions. So is there any way to get the latest version of R in ubuntu (or 2.13.1 is the maximum I can get)? In case the higher R version is not available can anybody please help me how do I use the "knitr Html" option in R studio. Thanks in advance. -Atanu...