The tag has no usage guidance.

learn more… | top users | synonyms

10
votes
1answer
2k views

Best Practice for nice layout with tikzDevice

R+tikDevice+LaTex+knitr is (as I understand it) the most efficient way to get relly nice looking publications from R, with maximum layout-support from LaTeX. I'm using R+LaTex+knitr now, but would ...
5
votes
1answer
285 views

Plot weighted frequency matrix

I wish to create this plot preferably in pgfplots or tikz. I have actually got a version plotted (with help from SO), but I have used R and exported the plot using tikzDevice. I can't post the ...
4
votes
2answers
418 views

TikzDictionary slow and blocking in knitr

I need to knit presentations with many slides and Tikz-plots. Knitr is fantastic for this, but it takes very long time and I cant knit two reports in parallel. I have isolated the problem to the ...
4
votes
0answers
201 views

tikz stops drawing into pdf after 20 line segments in plot generated through knitr tikzDevice

Problem If I try to draw a curve generated through knitr using tikzDevice into .pdf only 20 line segments of that curve are drawn and TeXstudio, through which I do it, just leaves message running ...
3
votes
1answer
95 views

latex files generated by tikzdevice leaves large space between image and caption

Ive been using the tikzdevice package in R to generate latex code of my plots, I've noticed that it always leaves a large white space between the caption and the figure itself, here is an example I ...
3
votes
1answer
211 views

Knitr and tikzDevice not working together with article options

I have a problem with knitr and tikzDevice, like someone before me. (See tikzDevice is not getting sizes right (knitr) .) He used dev.args to get rid of this error, but if I run this code through ...
3
votes
0answers
38 views

glossaries with tikzDevice

I am using tikzDevice to run my R-scripts within latex. This is my code -- \documentclass{article} \usepackage[acronym]{glossaries} \usepackage{tikz} \makeglossaries \newacronym{gcd}{GCD}{...
3
votes
0answers
104 views

Fontsize with knitr & tikzDevice [duplicate]

I saw there are already a couple of questions on the argument (here and here) but since they are a few months old and since I can't manage to make the option dev.args=list(pointsize=5) works even ...
2
votes
0answers
26 views

Why are the axis labels too large when using tikzDevice and lattice?

I'm working on a paper that is to be submitted to an Elsevier journal. The official guidelines state that: As a general rule, the lettering on the artwork should have a finished, printed size of ...
1
vote
2answers
76 views

Where set font in tikzDevice-plots (.Rnw)

I'm trying to use sans serif fonts for the text in plots (ggplot2) made by R, within KOMA-book. Unfortunately I'm not very experienced in managing fonts and their families. To keep things consistent, ...
1
vote
0answers
32 views

Trouble getting tikzDevice to work at all

Have used TikZ extensively over the years (MiKTeX is my LaTeX distro of choice), and recently, thought I'd try my hand at 'exporting' R graphics -> LaTeX used tikzDevice, which some folks have found ...
1
vote
0answers
58 views

tikzDevice in R, set absolutlely all fonts, fontsizes and fontweights to TeX document fontsize

I am learning R, and I want to use tikz to inlcude R plots in my documents. However, to me, half the point is that I want to set absolutely all typefaces, fontsizes, fontweights to the TeX-document ...
1
vote
0answers
351 views

Problem using tikzDevice in knitr

I can't seem to get knitr to work with tikzdevice. A simple example: \documentclass{article} \begin{document} <<test, dev='tikz'>>= library(knitr) library(tikzDevice) library(ggplot2) ...
1
vote
0answers
269 views

Clash between knitr, tikzDevice and pgfplotstable

I use knitr to compile a document composed of two .Rnw. Please considered the following examples from this answer main.Rnw % !Rnw weave = knitr % !TeX program = pdfLaTeX \documentclass[final,12pt]{...