Re: [R] tikzDevice and Sweave

2016-01-18 Thread Yihui Xie
4, height = 3) > plot(sin, -pi, 2*pi, main = "A stand alone TikZ plot", xlab = "x", ylab = > "sin(x)") > dummy <- dev.off() > cat("\\input{tikzFig.tex}") > @ > > As mentioned, this is a bit simpler in knitr. > > Duncan Murdoch >

Re: [R] tikzDevice and Sweave

2016-01-18 Thread Duncan Murdoch
x}") @ As 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

Re: [R] tikzDevice and Sweave

2016-01-17 Thread Duncan Mackay
--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{article} \usepackage{tikz} \begin{document} Fi

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. T

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 co

[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: \documentclass{article}\use

Re: [R] tikzDevice

2013-07-27 Thread David Arnold
The following minimal example Sweave file compiled properly in RStudio. \documentclass{article} \begin{document} Example text outside R code here; we know the value of pi is \Sexpr{pi}. <>= set.seed(1213) # for reproducibility x = cumsum(rnorm(100)) mean(x) # mean of x plot(x, type = 'l') # B

Re: [R] tikzDevice

2013-07-27 Thread David Arnold
I am using a MacBook Pro, 10.6.8, R version 3.0.1. and RStudio 0.97.551. I entered your command in the Console Window in RStudio and got the following reply: > install.packages('tikzDevice', repos='http://r-forge.r-project.org', > type='source') Warning in install.packages : package ‘tikzDevice’

Re: [R] tikzDevice

2013-07-27 Thread Yihui Xie
It seems I can still install from source under Ubuntu: install.packages('tikzDevice', repos='http://r-forge.r-project.org', type='source') If you are under Windows, I think you have to install RTools. I'm cc'ing its author to see if there is still hope to get it back to CRAN, or if someone else

[R] tikzDevice

2013-07-27 Thread David Arnold
All, What is the current method for installing tikzDevice in R version 3.0.1? I'd like to use it with knitr and RStudio. Thanks. D. -- View this message in context: http://r.789695.n4.nabble.com/tikzDevice-tp4672523.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] tikzDevice not available

2012-08-18 Thread nikos giallousis
Hello all! Thank you for your advice. The solution finally was like this: first install filehash package and then library(tikzDevice) Just in case any one needs it. Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] tikzDevice not available

2012-08-17 Thread Uwe Ligges
On 17.08.2012 12:37, nikos giallousis wrote: Hello, many thanks for the advice. Unfortunately I did not mention that my os is Windows 7. I am sorry for that. Some feedback here? Yes: R-forge seems to support the current release version of R only re. binaries. If you want it for an old rele

Re: [R] tikzDevice not available

2012-08-17 Thread nikos giallousis
Hello, many thanks for the advice. Unfortunately I did not mention that my os is Windows 7. I am sorry for that. Some feedback here? > install.packages("tikzDevice", repos="http://R-Forge.R-project.org";) Installing package(s) into ‘C:/Users/N31k/Documents/R/win-library/2.14’ (as ‘lib’ is unspec

Re: [R] tikzDevice not available

2012-08-15 Thread Yihui Xie
I think it will come back again in the future. The maintainer is busy at the moment: https://github.com/Sharpie/RTikZDevice/commit/95069e0a1deeb8fb9db028bbb76f227ddfcdc559#commitcomment-1562437 For now, the easiest way to install it is probably via R-Forge: install.packages("tikzDevice", repos="

Re: [R] tikzDevice not available

2012-08-15 Thread Ulises M. Alvarez
On 08/15/2012 11:54 AM, nikos giallousis wrote: I realized that tikzDevice, a crucial package for me is gone. Fortunately, I have kept my old, non-zipped, tikzDevice folder, but none of the commands I know seems to handle this [i.e. load() and install.packages()]. Thus the formulation is like th

Re: [R] tikzDevice not available

2012-08-15 Thread peter dalgaard
On Aug 15, 2012, at 18:54 , nikos giallousis wrote: > Hello people! > > I just formatted my disk, and I have installed R 2.14 over. Now I am trying > to restore my packages and all. > I realized that tikzDevice, a crucial package for me is gone. Fortunately, > I have kept my old, non-zipped, tik

[R] tikzDevice not available

2012-08-15 Thread nikos giallousis
Hello people! I just formatted my disk, and I have installed R 2.14 over. Now I am trying to restore my packages and all. I realized that tikzDevice, a crucial package for me is gone. Fortunately, I have kept my old, non-zipped, tikzDevice folder, but none of the commands I know seems to handle th

Re: [R] TikzDevice

2012-04-26 Thread Prof Brian Ripley
On 27/04/2012 06:24, arun wrote: Dear R'ers, I have trouble installing tikzDevice in Ubuntu. When I use install.packages("tikzDevice"), it gives error message: ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’ * removing ‘/usr/local/lib/R/site-library/tikzDevic

[R] TikzDevice

2012-04-26 Thread arun
Dear R'ers, I have trouble installing tikzDevice in Ubuntu.  When I use install.packages("tikzDevice"), it gives error message: ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’ * removing ‘/usr/local/lib/R/site-library/tikzDevice’ Then I tried filehash instal

Re: [R] tikzDevice and sans serif

2011-11-28 Thread Thomas S. Dye
David Winsemius writes: > On Nov 27, 2011, at 1:46 AM, Thomas S. Dye wrote: > >> Aloha all, >> >> I haven't been able to find how to choose the font used by tikzDevice. >> My first tries have all been set with a serif font and I'd like to >> have >> them use the sans serif font instead. I've loo

Re: [R] tikzDevice and sans serif

2011-11-27 Thread David Winsemius
On Nov 27, 2011, at 1:46 AM, Thomas S. Dye wrote: Aloha all, I haven't been able to find how to choose the font used by tikzDevice. My first tries have all been set with a serif font and I'd like to have them use the sans serif font instead. I've looked through the documentation and google

[R] tikzDevice and sans serif

2011-11-26 Thread Thomas S. Dye
Aloha all, I haven't been able to find how to choose the font used by tikzDevice. My first tries have all been set with a serif font and I'd like to have them use the sans serif font instead. I've looked through the documentation and googled a bit without success. Is this possible? Can someone p

Re: [R] tikzDevice install problem

2011-09-23 Thread helena
OS linux 2.6.38 R version 2.12.1 I tried the CRAN german mirrors http://mirrors.softliste.de/cran/ http://ftp5.gwdg.de/pub/misc/cran and others from the UK... -- View this message in context: http://r.789695.n4.nabble.com/tikzDevice-install-problem-tp3837315p3837457.html Sent from the R hel

Re: [R] tikzDevice install problem

2011-09-23 Thread Uwe Ligges
On 23.09.2011 16:39, Helena Peña wrote: Hi everybody! I'm trying to install the tikzDevice package, and I keep on getting the ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’ I tried install.packages('filehash') and I get package ‘filehash’ is not available Which OS

[R] tikzDevice install problem

2011-09-23 Thread Helena Peña
Hi everybody! I'm trying to install the tikzDevice package, and I keep on getting the > ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’ I tried install.packages('filehash') and I get > package ‘filehash’ is not available Does anybody have the same problem or any hint? than

Re: [R] tikzDevice compiling problem

2011-02-20 Thread cuass
Thank you! -- View this message in context: http://r.789695.n4.nabble.com/tikzDevice-compiling-problem-tp3309028p3315247.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

Re: [R] tikzDevice compiling problem

2011-02-17 Thread Yihui Xie
I don't think tikz() can capture the plots in rgl. To export rgl graphics, you need to use rgl.snapshot() or rgl.postscript(). Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 16, 201

[R] tikzDevice compiling problem

2011-02-16 Thread cuass
Hi guys. The tex file which compile the following graphic has many problems. I don't know what's happening. Any input would be really appreciated. # Cargo el prgrama que produce el código en Latex require(tikzDevice) # Establezco directorio del programa setwd('/Users/fabiangarcia/Documents/R')

Re: [R] TikzDevice and texi2dvi

2010-04-27 Thread Sharpie
Lorenzo Isella wrote: > > I think I solved my problems by resorting to the Ubuntu packages at > > http://bit.ly/c8izKy > > Cheers > > Lorenzo > > > Dear All, > I am starting to use the tikzDevice package, but I am experiencing some > (minor problems). > If I try to run the script at the end

[R] TikzDevice and texi2dvi

2010-04-27 Thread Lorenzo Isella
I think I solved my problems by resorting to the Ubuntu packages at http://bit.ly/c8izKy Cheers Lorenzo Dear All, I am starting to use the tikzDevice package, but I am experiencing some (minor problems). If I try to run the script at the end of the email, I get the following error Error in

[R] TikzDevice and texi2dvi

2010-04-27 Thread Lorenzo Isella
Dear All, I am starting to use the tikzDevice package, but I am experiencing some (minor problems). If I try to run the script at the end of the email, I get the following error Error in tools::texi2dvi("normal.tex", pdf = T) : Running 'texi2dvi' on 'normal.tex' failed. Messages: sh: /usr/bi