[R] Computer Modern and Sweave

2009-09-01 Thread Bert Stumm
Hello, I have a small but nasty problem with the Computer Modern fonts in connection with Sweave. Instead of giving my own code, it's probably better to look at a well established example. There is a nice introduction to using Sweave at Paul Murrell's website which can be found at:

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

Re: [R] Computer Modern

2009-07-24 Thread cameron.bracken
Mr Derik wrote: I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. Hi There- I admit this is shameless self promotion but might I suggest the tikzDevice package. I am one of the developers and we just

Re: [R] Computer Modern

2009-07-23 Thread Paul Murrell
Hi Mr Derik wrote: Thank you for your help. I've read all the documentation I can find and I still can't get this to work. postscriptFonts() in my console produces a list of fonts already mapped yes? one of which is: $ComputerModernItalic $family [1] ComputerModernItalic $metrics [1]

Re: [R] Computer Modern

2009-07-10 Thread Mr Derik
Thank you for your help. I've read all the documentation I can find and I still can't get this to work. postscriptFonts() in my console produces a list of fonts already mapped yes? one of which is: $ComputerModernItalic $family [1] ComputerModernItalic $metrics [1] CM_regular_10.afm

[R] Computer Modern

2009-07-02 Thread Mr Derik
I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. I've read the documentation ans have tried the following code to use lattice to produce a graph using computer modern: library(lattice) library(grid) testPlot=(

Re: [R] Computer Modern

2009-07-02 Thread Ted Harding
On 02-Jul-09 09:06:44, Mr Derik wrote: I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. I've read the documentation ans have tried the following code to use lattice to produce a graph using computer modern:

Re: [R] Computer Modern

2009-07-02 Thread Paul Murrell
Hi Also see http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html Paul (Ted Harding) wrote: On 02-Jul-09 09:06:44, Mr Derik wrote: I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. I've read the documentation