Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Liviu Andronic
Hello And sorry for the brief highjacking. On 8/31/09, Charlie Sharpsteen ch...@sharpsteen.net wrote: The tikzDevice translates R graphics instructions into a LaTeX-friendly format that can be included directly into documents where the font used in the figure will match that used in the

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
Dear Charlie, thank you very much for your response. The tikzDevice is a very nice developing thing. I already tried to create my graphic with this device, but unfortunately the created *.tex file exceeded the main memory size of my tex processor. Therefore I tried the classic way of

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
Dear Paul, thank you very much for your answer. You are right, pdfFonts() solved the problem. :-) I also will try to install the fonts on my system. Thank you! Greetings, basil Paul Murrell wrote: Hi Friedericksen Hope wrote: Hello all, I am trying to use computer modern fonts in my r

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Charlie Sharpsteen
Hi Liviu, Right now our main project is to continue debugging and polishing the tikzDevice. After that has proceeded, Cameron and I are planning to turn our attention to Sweave. Right now, the tikzDevice can be used from within Sweave by following a process similar to: ... \begin{figure}

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Charlie Sharpsteen
I could see how that might happen- persp creates many, many small rectangles which results in a large file size and may operations for the TeX processor to handle. I was able to compile the example you posted, but due to the amount of graphic elements, it took a long time ~25 seconds. If you have

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
Dear Charlie, you are exactly right, I think the amount of rectangles creates the problem. 1. Was it the inclusion of one tikzDevice plot or a series of plots that caused TeX to run out of memory? It was a series of plots (also only one created with tikzdevice. Nevertheless, I created a

[R] Computer Modern Fonts in R graphic

2009-08-30 Thread Friedericksen Hope
Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do, as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and PFB-files from the page and put them in

Re: [R] Computer Modern Fonts in R graphic

2009-08-30 Thread Paul Murrell
Hi Friedericksen Hope wrote: Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do, as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and

Re: [R] Computer Modern Fonts in R graphic

2009-08-30 Thread Charlie Sharpsteen
If you are trying to use Computer Modern fonts because the R graphics will be included in a LaTeX report, you could try the TikZ Device Cameron Bracken and I wrote: http://r-forge.r-project.org/projects/tikzdevice The tikzDevice translates R graphics instructions into a LaTeX-friendly format that