Re: [Rd] seekViewport error

2008-01-23 Thread hadley wickham
> The problem (see also > https://stat.ethz.ch/pipermail/r-help/2008-January/151655.html) is that > cellGrobs (children of frame grobs) use their 'vp' component to store > the viewport that positions them within the parent frame. This means > that the viewport is pushed and then popped (as per nor

Re: [Rd] seekViewport error

2008-01-23 Thread Gabor Grothendieck
On Jan 23, 2008 9:38 PM, Paul Murrell <[EMAIL PROTECTED]> wrote: > Hi > > > Gabor Grothendieck wrote: > > Why does the seekViewport at the bottom give an error? > > > Because the viewport is popped after GRID.cellGrob.84 is drawn. > > grid.ls() shows the viewport because it recurses down into the l

Re: [Rd] seekViewport error

2008-01-23 Thread Paul Murrell
Hi Gabor Grothendieck wrote: > Why does the seekViewport at the bottom give an error? Because the viewport is popped after GRID.cellGrob.84 is drawn. grid.ls() shows the viewport because it recurses down into the legend frame grob. Compare your output with (grid-generated numbering differs)

[Rd] deprecate "freq" argument to hist

2008-01-23 Thread Tim Hesterberg
I request that the "freq" argument to hist be deprecated. Reason: One nice thing about SAS is is the consistency of certain inputs across many PROCs. In particular, they have "weight" and "freq" statements. We have added "weights" and "freq" to a number of functions in S-PLUS, listed below. I w

[Rd] pseudo dataframes with RODBC

2008-01-23 Thread John Fox
Dear R-devel list members, For several years, I've maintained for my private use and for demonstrations a set of functions [e.g., for indexing, with(), summary(), etc.] that employ the RODBC package and a database to provide a "pseudo" data frame. Row "indexes" can be specified as SQL queries. I k

Re: [Rd] gctorture and proc.time (PR#10600)

2008-01-23 Thread Prof Brian Ripley
Such things are normally easy to find with valgrind and an instrumented build of R (see 'Writing R Extensions'), and so was this. Interestingly I got a different error immediately: > gctorture(TRUE) > proc.time() Error: REAL() can only be applied to a 'numeric', not a 'character' and setting a

Re: [Rd] Package Building and Name Space

2008-01-23 Thread James W. MacDonald
Duncan Murdoch wrote: > On 1/23/2008 11:11 AM, Johannes Graumann wrote: >> ... sorry for reposting this in a more appropriate forum than r.general ... >> >> Hello, >> >> I just don't get this and would appreciate if someone could write a line or >> two: I'm trying to build this package and it sto

Re: [Rd] [wishlist, patch] Removing .bzr/ directory when calling (PR#10628)

2008-01-23 Thread goodrich
Gabor Grothendieck wrote: > If you place an .Rbuildignore file in the top level of > your package with this line single line as its contents: > > [.]bzr$ > > then the .bzr file will not be included. Thank you for the suggestion. In order to remove both the .bzr/ directory and the .bzrignore file

Re: [Rd] [wishlist, patch] Removing .bzr/ directory when calling R CMD build (PR#10625)

2008-01-23 Thread Gabor Grothendieck
On Jan 23, 2008 2:23 PM, Ben Goodrich <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: > > If you place an .Rbuildignore file in the top level of > > your package with this line single line as its contents: > > > > [.]bzr$ > > > > then the .bzr file will not be included. > > Thank you for the

Re: [Rd] [wishlist, patch] Removing .bzr/ directory when calling R CMD build (PR#10625)

2008-01-23 Thread Ben Goodrich
Gabor Grothendieck wrote: > If you place an .Rbuildignore file in the top level of > your package with this line single line as its contents: > > [.]bzr$ > > then the .bzr file will not be included. Thank you for the suggestion. In order to remove both the .bzr/ directory and the .bzrignore file

Re: [Rd] [wishlist, patch] Removing .bzr/ directory when calling R CMD build (PR#10625)

2008-01-23 Thread Gabor Grothendieck
If you place an .Rbuildignore file in the top level of your package with this line single line as its contents: [.]bzr$ then the .bzr file will not be included. On Jan 23, 2008 1:45 PM, <[EMAIL PROTECTED]> wrote: > Full_Name: Ben Goodrich > Version: 2.6.1 > OS: Debian > Submission from: (NULL)

[Rd] [wishlist, patch] Removing .bzr/ directory when calling R CMD build (PR#10625)

2008-01-23 Thread goodrich
Full_Name: Ben Goodrich Version: 2.6.1 OS: Debian Submission from: (NULL) (128.103.222.166) bzr is another version control system and adds a .bzr folder to the top-level directory of a package, similar to .svn and .git for subversion and git respectively. However, while R CMD build removes direct

Re: [Rd] Package Building and Name Space

2008-01-23 Thread Duncan Murdoch
On 1/23/2008 11:31 AM, Johannes Graumann wrote: > On Wednesday 23 January 2008 17:25:38 Duncan Murdoch wrote: >> On 1/23/2008 11:11 AM, Johannes Graumann wrote: >> > ... sorry for reposting this in a more appropriate forum than r.general >> > ... >> > >> > Hello, >> > >> > I just don't get this and

Re: [Rd] Package Building and Name Space

2008-01-23 Thread Duncan Murdoch
On 1/23/2008 11:11 AM, Johannes Graumann wrote: > ... sorry for reposting this in a more appropriate forum than r.general ... > > Hello, > > I just don't get this and would appreciate if someone could write a line or > two: I'm trying to build this package and it stops installing after I add > th

[Rd] Package Building and Name Space

2008-01-23 Thread Johannes Graumann
... sorry for reposting this in a more appropriate forum than r.general ... Hello, I just don't get this and would appreciate if someone could write a line or two: I'm trying to build this package and it stops installing after I add the following to the NAMESPACES file: >importFrom(gsubfn,strapp

[Rd] R command to refresh graphical output?

2008-01-23 Thread Parker Jones
Hello, Is there are an R command to refresh the graphical output? On a linux system I'm sending commands to R through a named pipe. The R server is an infinite loop that listens on the pipe and executes received R code. But I am having a problem refreshing the graphics output. If I send a