Displaying 2 results from an estimated 2 matches for "pgfpicture".
2017 Oct 22
1
ggplot2 and tikzDevice : problems with accents
...#
library(tikzDevice)
library(ggplot2)
options(tikzDefaultEngine = "luatex")
tikzLualatexPackages =c(
? "\\usepackage{tikz}\n",
? "\\usepackage[active,
tightpage,psfixbb]{preview}\n",
? "\\usepackage{fontspec,xunicode}\n",
? "\\PreviewEnvironment{pgfpicture}\n",
? "\\setlength\\PreviewBorder{0pt}\n"
)
x<- rnorm(10)
y<- rnorm(10)
df <- data.frame(x=x, y=y)
#### This example works
tikz(standAlone = TRUE)
ggplot(df, aes(x=x, y=y))+geom_point() +xlab("e")
dev.off()
####
#### This example hangs and never completes
tik...
2009 Apr 09
6
Cross-platforms solution to export R graphs
Hello Rusers,
I have worked on a R Wiki page for solutions in exporting R graphs,
especially, the often-asked questions:
- How can I export R graphs in vectorized format (EMF) for inclusion in
MS Word or OpenOffice outside of Windows?
- What is the best solution(s) for post-editing/annotating R graphs.
The page is at:
http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export.
I