[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-10 Thread Mr Derik
er 0x7f and a pdf with dots in place of every character. I can open the example pdf on Paul's website and see the correct CM font so my viewer must be working. Any other ideas would be welcome. Paul Murrell wrote: > > Hi > > Also see http://www.stat.auckland.ac.nz/~pau

[R] Lattice box percentile plot

2008-05-16 Thread Mr Derik
Dear Nabble. I am trying to draw a box percentile plot with trellis using the panel in Hmisc. I really want to colour the plots in. I can alter several of features of the plot by changing the trellis par settings but I just can’t fill the shape in. Here is some example code which alters line c

Re: [R] Lattice box percentile plot

2008-05-20 Thread Mr Derik
#this is the parameter that fills in the box, but > it doesn't work with panel.bpplot > trellis.par.set("box.rectangle", br) > bwplot(B~A,probs=seq(.01,.49,by=.01)) > > thanks > y > > > Mr Derik wrote: >> >> Dear Nabble. >> >> I am t

[R] Sweave in LATEX

2009-01-06 Thread Mr Derik
Hello I have been setting up my computer to run Sweave. I have got the whole thing working on example files, except that my MikTex returns an "Undefined Control Sequence" error for \Sexpr and my output file contains verbatim code sequences at the apropriate point in the text rather than the R out

Re: [R] Sweave in LATEX

2009-01-06 Thread Mr Derik
weave control sequences such as \begin{Schunk} but doesn't recognise \Sexpr. I've uploaded the PDF I get, if that is of any help. Cheers Matt -Original Message- From: Duncan Murdoch [mailto:murd...@stats.uwo.ca] Sent: Tuesday, January 06, 2009 2:18 PM To: Mr Derik Cc: r-help@r

Re: [R] Sweave in LATEX

2009-01-07 Thread Mr Derik
I have solved the problem. It seems that the \Sexpr{} sequence is processed by R rather than latex. If you use: Sweave("Sweave-test-1.Rnw", syntax="SweaveSyntaxNoweb") When processing in R then this is handled in the appropriate way. Duncan Murdoch-2 wrote: > &g