Re: [R] tikzDevice and Sweave

2016-01-18 Thread Yihui Xie
kzFig.tex}") > @ > > As mentioned, this is a bit simpler in knitr. > > Duncan Murdoch > > >> Naresh >> >> >>> >>> From: dulca...@bigpond.com >>> To: r-help@r-project.org >

Re: [R] tikzDevice and Sweave

2016-01-18 Thread Duncan Murdoch
mentioned, this is a bit simpler in knitr. Duncan Murdoch Naresh From: dulca...@bigpond.com To: r-help@r-project.org Date: Mon, 18 Jan 2016 14:17:42 +1000 Subject: Re: [R] tikzDevice and Sweave Hi I use Sweave and some tikz in latex but not in Sweav

Re: [R] tikzDevice and Sweave

2016-01-17 Thread Duncan Mackay
l: home: mac...@northnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Naresh Gurbuxani Sent: Monday, 18 January 2016 06:54 To: R-help@r-project.org Subject: Re: [R] tikzDevice and Sweave Resending as a useable example \documentclass{artic

Re: [R] tikzDevice and Sweave

2016-01-17 Thread Duncan Murdoch
On 17/01/2016 3:25 PM, Naresh Gurbuxani wrote: I want to use tikz() function in tikzDevice package so that it generates a pdf file to be included in the bigger tex file. Below code works, but directly inserts tikz commands in the output tex file. This works: <>= This does not work: <>= Full

Re: [R] tikzDevice and Sweave

2016-01-17 Thread Duncan Murdoch
On 17/01/2016 3:40 PM, Duncan Murdoch wrote: On 17/01/2016 3:25 PM, Naresh Gurbuxani wrote: I want to use tikz() function in tikzDevice package so that it generates a pdf file to be included in the bigger tex file. Below code works, but directly inserts tikz commands in the output tex file.

[R] tikzDevice and Sweave

2016-01-17 Thread Naresh Gurbuxani
I want to use tikz() function in tikzDevice package so that it generates a pdf file to be included in the bigger tex file. Below code works, but directly inserts tikz commands in the output tex file. This works: <>= This does not work: <>= Full code is given below: