Re: [Rd] Option to set permissions on directories and files after package installation

2012-11-25 Thread Warnes, Gregory
I second the request to allow specification of the permissions to use when installing packages, preferably controllable via a site-wide configuration file. On 11/25/12 4:57 PM, "Dirk Eddelbuettel" wrote: > >The R package on Debian (and hence Ubuntu) has had a default for close to >a >decade to

Re: [Rd] Suggest adding a 'pivot' argument to qr.R

2012-09-11 Thread Warnes, Gregory
On 9/7/12 2:42 PM, "peter dalgaard" wrote: > >On Sep 7, 2012, at 17:16 , Tim Hesterberg wrote: > >> I suggest adding a 'pivot' argument to qr.R, to obtain columns in the >> same order as the original x, so that >> a <- qr(x) >> qr.Q(a) %*% qr.R(a, pivot=TRUE) >> returns x. > >That would come s

Re: [Rd] Need to tell R CMD check that a function qr.R is not a method

2012-09-07 Thread Warnes, Gregory
On 9/7/12 12:55 PM, "Uwe Ligges" wrote: >On 07.09.2012 17:05, Tim Hesterberg wrote: >> When creating a package, I would like a way to tell R that >> a function with a period in its name is not a method. > >You can't. There are few exception for historic names (S definitions) >hardcoded in R. >

Re: [Rd] if(--as-cran)?

2012-09-06 Thread Warnes, Gregory
On 9/6/12 7:41 AM, "Duncan Murdoch" wrote: > >If Martin or I added a new environment variable _R_CHECK_LEVEL_, and >perhaps support code to let you set it in R CMD check or elsewhere, and >support functions to let you read it without the work of calling >Sys.getenv(), and documentation for its p

Re: [Rd] if(--as-cran)?

2012-09-04 Thread Warnes, Gregory
On 9/4/12 3:58 PM, "Duncan Murdoch" wrote: >On 04/09/2012 3:44 PM, Terry Therneau wrote: >>ly in >> On 09/04/2012 01:57 PM, Duncan Murdoch wrote: >> > On 04/09/2012 2:36 PM, Warnes, Gregory wrote: >> >> On 9/4/12 8:38 AM, "Duncan Murdoch"

Re: [Rd] if(--as-cran)?

2012-09-04 Thread Warnes, Gregory
On 9/4/12 8:38 AM, "Duncan Murdoch" wrote: >On 04/09/2012 8:20 AM, Terry Therneau wrote: >> >> On 09/04/2012 05:00 AM, r-devel-requ...@r-project.org wrote: >> > The issue is not just about "CRAN" vs "off CRAN". >> > It is good to think about a more general scheme of >> > "light testing" vs "nor

Re: [Rd] chown, chgrp?

2012-08-15 Thread Warnes, Gregory
setgid, at least, can be useful for non-root users who wish to share files with folks in a different group than is their default... -- Gregory Warnes, Ph.D. Sr. Expert Modeler Modeling and Simulation CA Phone: +1 617 871-8498 gregory.war...@novartis.com On 8/15/12 11:56 AM, "Barry Rowlin

Re: [Rd] Convenience function to get unevaluated ... function arguments

2012-07-27 Thread Warnes, Gregory
I'll be glad to add it to the gtools package if it doesn't (immediately) go into one of the core packages. Sent from my iPhone On Jul 26, 2012, at 7:35 AM, "Bert Gunter" wrote: > Indeed! > > -- Bert > > On Wed, Jul 25, 2012 at 3:59 PM, David Winsemius > wrote: >> >> On Jul 24, 2012, at 4:

Re: [Rd] RFC: Add 'postinstall' hook to R CMD INSTALL ?

2008-06-10 Thread Warnes, Gregory
The changes that Dirk is suggesting would help for several packages I maintain, particularly rpy. -G On 6/8/08 1:05 PM, "Dirk Eddelbuettel" <[EMAIL PROTECTED]> wrote: > > > Brian, > > On 6 June 2008 at 07:33, Dirk Eddelbuettel wrote: > | > | On 6 June 2008 at 13:13, Prof Brian Ripley wrote: >

Re: [Rd] heatmap.2 in gplots (PR#8587)

2006-02-13 Thread Warnes, Gregory R
Nitin Jain and I are the maintainers of gplots. We'll look over the details of this bug report and correspond with Shane directly. -G > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] > Sent: Saturday, February 11, 2006 9:52 AM > To:

Re: [Rd] natural sorting

2006-01-18 Thread Warnes, Gregory R
Good idea. Done. -G > -Original Message- > From: Martin Maechler [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 4:02 AM > To: Warnes, Gregory R > Cc: Andrew Piskorski; R Development Mailing List > Subject: Re: [Rd] natural sorting > > > >&g

Re: [Rd] natural sorting

2006-01-17 Thread Warnes, Gregory R
The 'mixedsort' function in the 'gtools' package does this. It is probably slower than the c version you point to, but it is already working in R. -G > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andrew Piskorski > Sent: Thursday, January 12, 2006

Re: [Rd] Problems with Windows Cross compile

2005-12-20 Thread Warnes, Gregory R
Thanks, the default version of R here is 2.1.0, so that must have been the problem. Everything is working now. -Greg > -Original Message- > From: Jun Yan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005 1:07 PM > To: Warnes, Gregory R > Cc: R-devel (E

[Rd] Problems with Windows Cross compile

2005-12-20 Thread Warnes, Gregory R
Well, I'm finally getting around to setting up a cross-compiler for Windows on my local Linux box. I'm using the Yan & Rossini's docuimentation and the latest 'http://cran.r-project.org/doc/contrib/Makefile-rcb' , which is working of the R-2.2.0 sources. After discovering that "cp -p" doesn'

Re: [Rd] access to R parse tree for Lisp-style macros?

2005-10-04 Thread Warnes, Gregory R
FWIW, the latest version of the 'gtools' package includes a slightly enhanced version of Thomas's 'defmacro' function, as well as the 'strmacro' function that does string-based macro processing. Feel free to take a look at them and suggest enhancements (via patches :^) -Greg > -Original Mes

Re: [Rd] R CMD check example problem (PR#8113)

2005-09-01 Thread Warnes, Gregory R
bracket-normal > > > > I do not know whether this qualifies as a bug, but for > simplicity let's say: > "Don't use \code{} in an Example section where it does not make sense > anyway." > > Best, > Uwe > >

[Rd] R CMD check example problem (PR#8113)

2005-08-31 Thread Warnes, Gregory R
[Automatic forwarding from R-bugs failed. This message has been manually forwarded.] Hi all! I'm trying to add Thomas Lumley's defmacro() function Lumley T. "Programmer's Niche: Macros in {R}", R News, 2001, Vol 1, No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools pa

[Rd] Email failure for forwards from [EMAIL PROTECTED] to r-de vel

2005-08-31 Thread Warnes, Gregory R
I just sent a bug report to [EMAIL PROTECTED] Unfortunately, the message forwarding to r-devel failed. It appears that this occurred due an interaction between the forwarding setup and SPF: 1) The forwarded message had From as [EMAIL PROTECTED], 2) Pfizer has SPF records in