Re: [Rd] Auto-upgrading a package under Windows ?

2009-05-20 Thread Prof Brian Ripley
On Mon, 18 May 2009, Dirk Eddelbuettel wrote: I was trying to be cute with a company-internal package and used if (Sys.info()["sysname"]=="Windows") { update.packages(repos="http://some.where.internal/R";, ask=FALSE) } The commonly used test is .Platform$OS.type == "windows": th

[Rd] install.packages now intentionally references .Rprofile?

2009-05-20 Thread Martin Morgan
A post on the Bioconductor mailing list https://stat.ethz.ch/pipermail/bioconductor/2009-May/027700.html suggests that install.packages now references .Rprofile (?), whereas in R-2-8 it did not. Is this intentional? The example is, in .Rprofile library(utils) install.packages("Biobase",

Re: [Rd] Auto-upgrading a package under Windows ?

2009-05-20 Thread Dirk Eddelbuettel
On 20 May 2009 at 13:54, Prof Brian Ripley wrote: | On Mon, 18 May 2009, Dirk Eddelbuettel wrote: | | > | > I was trying to be cute with a company-internal package and used | > | >if (Sys.info()["sysname"]=="Windows") { | >update.packages(repos="http://some.where.internal/R";, ask=FAL

[Rd] setWinProgressBar() on closed bar crashes R (PR#13709)

2009-05-20 Thread r . d . morey
Full_Name: Richard D. Morey Version: 2.8.1 OS: Windows XP Submission from: (NULL) (129.125.139.114) The following code will crash Rgui in Windows XP. Of course, I know the code shouldn't work, but something more graceful than a Windows application error would be better. #Start R Code bar

Re: [Rd] stringsAsFactors .... in expand.grid() etc

2009-05-20 Thread Rolf Turner
On 20/05/2009, at 1:49 AM, Martin Maechler wrote: "RT" == Rolf Turner on Tue, 19 May 2009 11:02:08 +1200 writes: RT> While we're at it --- would it not make sense to have the RT> stringsAsFactors RT> argument (once it's working) of expand.grid() default to option

Re: [Rd] using a "third party" DLL in my package

2009-05-20 Thread Seija SirkiƤ
Hello again, thank you for the comments, especially this one: Prof Brian Ripley wrote: > My concern would be that there are different cases that fail under > Fortran compiler X and you are just sweeping the problem under the > carpet. It inspired us to go back to search the cause, and we've ma

[Rd] qbinom (PR#13711)

2009-05-20 Thread wolfgang . resch
Full_Name: Wolfgang Resch Version: R 2.8.1 GUI 1.27 OS: OS X 10.4.11 Submission from: (NULL) (137.187.89.14) Strange behavior of qbinom: > qbinom(0.01, 5016279, 1e-07) [1] 0 > qbinom(0.01, 5016279, 2e-07) [1] 16 > qbinom(0.01, 5016279, 3e-07) [1] 16 > qbinom(0.01, 5016279, 4e-07) [1] 16 > qbino

Re: [Rd] Auto-upgrading a package under Windows ?

2009-05-20 Thread Prof Brian Ripley
On Wed, 20 May 2009, Dirk Eddelbuettel wrote: On 20 May 2009 at 13:54, Prof Brian Ripley wrote: | On Mon, 18 May 2009, Dirk Eddelbuettel wrote: | | > | > I was trying to be cute with a company-internal package and used | > | >if (Sys.info()["sysname"]=="Windows") { | >update.package

Re: [Rd] install.packages now intentionally references .Rprofile?

2009-05-20 Thread Prof Brian Ripley
On Wed, 20 May 2009, Martin Morgan wrote: A post on the Bioconductor mailing list https://stat.ethz.ch/pipermail/bioconductor/2009-May/027700.html suggests that install.packages now references .Rprofile (?), whereas in R-2-8 it did not. Is this intentional? Yes. And in fact it did in earli