Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tikzdevice]

The tag has no usage guidance.

0
votes
1answer
35 views

Tikzdevice with ggplot: overfull hbox

I have the following R code to generate a tikzdevice plot: tikz(file = "plot_CIs.tex", width = 5, height = 5) par(cex = 0.8) ggplot(confidence_interval, aes(x = Statistic, y = Values, group = 1)) + ...
1
vote
1answer
210 views

R code (ggplot) not outputting to .tex file

I'm relatively new to this so possibly a duplicate question but I am trying to use library tikzDevice to add a ggplot figure to a LaTeX document as per this guidance: http://iltabiai.github.io/tips/...
1
vote
0answers
126 views

Incredibly slow compilation with knitr and tikzDevice

I am having some compilation difficulties when using knitr and tikzDevice. Compilataion works, but I am seeing times upwards of 10 minutes, and this is only increasing as my document grows (I am ...
0
votes
0answers
264 views

Setting font size in tikzDevice

I'm having difficulty changing the font size in figures generated by tikzDevice in knitr \LaTeX documents. I have read this, this, and this, but when I try setting dev.args=list(pointsize=10), no ...
2
votes
1answer
477 views

Generated Greek letters in plots using the tikzDevice package

With the code below I create in Rstudio the file gamma0plot.tex. Then in TexNicCenter in the figure environment with the input command I load the file gamma0plot.tex and generate a .pdf file. In This ....
1
vote
1answer
419 views

How to insert many tikzpicture R plot images as .tex files inside a table of images in LaTeX?

I can include my R plots in a LaTeX document using tikz package (on the LaTeX side) and tikzDevice package on the R side. I produced many .tex files containing my plots in R using as an example the ...
0
votes
0answers
105 views

R tikzdevice relative directories

I asked this on SO, but perhaps it is more relevant here: This is a problem which I face with many many plots. In R, Lets say I create a ggplot2 plot, with a colourbar: R> sample = ggplot(data=...
3
votes
1answer
2k views

Plotsizes: Plotting with ggplot2 in R and using tikzdevice

I am a total newbie to R and LaTeX, and trying to write my masters thesis right now... I tried to get this answered via cran.r-project.org...but I failed... :( I am creating plots in R via ggplot2, ...
1
vote
0answers
172 views

Include Tikz-documents with a latex body in Lyx

I also posted this with a little different focus on stackoverflow already, but I am still looking for a elegant solution, so I will try again here. I use tikzDevice in R to transform my graphics into ...
2
votes
1answer
447 views

Fonts in latex and R [closed]

This question could be linked to this, this and this. However, I opened a new one because I tried two different options from the suggestions and getting different results. The aim is to get ...
2
votes
0answers
126 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}{...
1
vote
1answer
195 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
424 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, ...
4
votes
0answers
302 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 ...
3
votes
1answer
305 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 ...
1
vote
0answers
630 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) ...
3
votes
0answers
223 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 ...
4
votes
2answers
631 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 ...
18
votes
1answer
4k 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 ...
3
votes
0answers
137 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 ...
1
vote
0answers
336 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]{...
3
votes
1answer
290 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 ...
5
votes
1answer
345 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 ...