Re: [Rd] Graphics driver test script?

2007-02-12 Thread Byron Ellis
On 2/11/07, Geoff Russell <[EMAIL PROTECTED]> wrote: > Hi, > > 1. I started work on a metapost graphics driver a week or so ago and it is > gradually taking shape. I'm building up my own test cases into a > script as I go, but > figured you may have a "canonical testing script" of cases a driver mu

Re: [Rd] Graphics driver test script?

2007-02-12 Thread Prof Brian Ripley
On Mon, 12 Feb 2007, Byron Ellis wrote: > On 2/11/07, Geoff Russell <[EMAIL PROTECTED]> wrote: >> Hi, >> >> 1. I started work on a metapost graphics driver a week or so ago and it is >> gradually taking shape. I'm building up my own test cases into a >> script as I go, but >> figured you may have

Re: [Rd] xlsReadWrite Pro and embedding objects and files in Excel worksheets

2007-02-12 Thread Hans-Peter
Hi Mark, > I would like to be able to use a single Excel spreadsheet as an archive > for any output I generate in a single R session, including pdf files of > graphics and possibly the R history or even the R workspace itself. What we do is: - assemble all generated files (xls/png/txt) in a speci

Re: [Rd] append within worksheet in write.xls

2007-02-12 Thread Hans-Peter
Hi, 2007/2/9, Mark W Kimpel <[EMAIL PROTECTED]>: > I can currently append an entire worksheet with write.xls, but would > also like to be able to append within the same worksheet. Is this > possible? Of course. Please see ?xls.open, ?xls.sheet and ?write.xls (note the 'keep' argument!). I give yo

Re: [Rd] newline with cell of Excel worksheet created with write.xls

2007-02-12 Thread Hans-Peter
Hi Mark, You need a character vector or a data.frame for separate rows. Something like: longtext <- 'akdf kadfö \nkad flkdöflkadfk dafk \nlakdf kdjfkjdfkjadfk\njadfkjdflk adf' (rowtext <- as.data.frame( strsplit( longtext, split = "\n" )) ) may do this. Regards, Hans-Peter PS: Probably not so

Re: [Rd] newline with cell of Excel worksheet created with write.xls

2007-02-12 Thread Mark W Kimpel
Hans-Peter, I agree, I wasn't sure whether to put this stuff on-list or not. I have seen some people request that things NOT be taken of list because then the answers are not available to everybody. Let's solve some of these issues ourselves (I am willing to help) and, if appropriate, repost th

[Rd] Package build Vignette creation errors

2007-02-12 Thread Daniel Suo
When I try to build my package I get latex errors even though i run the same steps (using another latex creation program - latex, and then dvipdf) independently of the R CMD build without fail. Also, R CMD check finishes without error. * creating vignettes ... ERROR /usr/lib/R/bin/texi2dvi: pdflat

Re: [Rd] Graphics driver test script?

2007-02-12 Thread Paul Murrell
Hi Byron Ellis wrote: > On 2/11/07, Geoff Russell <[EMAIL PROTECTED]> wrote: >> Hi, >> >> 1. I started work on a metapost graphics driver a week or so ago and it is >> gradually taking shape. I'm building up my own test cases into a >> script as I go, but >> figured you may have a "canonical test

[Rd] bug in partial matching of attribute names

2007-02-12 Thread Tony Plate
There looks to be a bug in do_attr() (src/main/attrib.c): incorrect partial matches of attribute names can be returned when there are an odd number of partial matches. E.g.: > x <- c(a=1,b=2) > attr(x, "abcdef") <- 99 > attr(x, "ab") [1] 99 > attr(x, "abc") <- 100 > attr(x, "ab") # correct

Re: [Rd] Graphics driver test script?

2007-02-12 Thread Geoff Russell
On 2/13/07, Paul Murrell <[EMAIL PROTECTED]> wrote: > Hi > > > Byron Ellis wrote: > > On 2/11/07, Geoff Russell <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> 1. I started work on a metapost graphics driver a week or so ago and it is > >> gradually taking shape. I'm building up my own test cases int