[Rd] putting binary files in a package

2007-06-22 Thread Ben Bolker
I have some binaries I would like to distribute with a package (I am not the original author; I have the source code but can't distribute it because it contains _Numerical Recipes_ code. The long-term solution is to replace the code with new code written in R, or in clean C, but in the meantim

[Rd] Boxplot issues (formerly posted to R-help in error)

2007-06-22 Thread S Ellison
Boxplot and bxp seem to have changed behaviour a bit of late (R 2.4.1). Or maybe I am mis-remembering. An annoying feature is that while at=3:6 will work, there is no way of overriding the default xlim of 0.5 to n+0.5. That prevents plotting boxes on, for example, interval scales - a useful thi

Re: [Rd] two bessel function bugs for nu<0

2007-06-22 Thread Martin Maechler
Thank you both, Hiroyuki and Robin, > "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Tue, 19 Jun 2007 10:25:27 +0100 writes: Robin> I can reproduce both these bugs and confirm that the suggested fix Robin> agrees with Mathematica and Maple for a few trial values. Robin

Re: [Rd] R 2.5.0 - Typo in commandArgs.Rd

2007-06-22 Thread Martin Maechler
Merci bien, François!! This is now fixed also for the 2.5.1 release candidate. Martin > "FrPi" == François Pinard <[EMAIL PROTECTED]> > on Fri, 22 Jun 2007 10:04:50 -0400 writes: FrPi> Hi, people. FrPi> commandArgs.Rd has these lines (a bit before \examples): FrPi> If \c

[Rd] R 2.5.0 - Typo in commandArgs.Rd

2007-06-22 Thread François Pinard
Hi, people. commandArgs.Rd has these lines (a bit before \examples): If \code{trailingOnly=TRUE}, a character vector of those arguments (if any) supplied after \code{==args}. It should likely be: ... \code{--args}. -- François Pinard http://pinard.progiciels-bpi.ca _

Re: [Rd] Cross-platform check for internet connection

2007-06-22 Thread Prof Brian Ripley
On Fri, 22 Jun 2007, hadley wickham wrote: > On 6/22/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: >> On Fri, 22 Jun 2007, hadley wickham wrote: >> >> > What's the recommended way to check if an internet connection is >> > available across platforms? I was using is.null(nsl()) but this does >

Re: [Rd] Cross-platform check for internet connection

2007-06-22 Thread hadley wickham
On 6/22/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Fri, 22 Jun 2007, hadley wickham wrote: > > > What's the recommended way to check if an internet connection is > > available across platforms? I was using is.null(nsl()) but this does > > not work on windows. > > I don't know a way to d

Re: [Rd] Cross-platform check for internet connection

2007-06-22 Thread Prof Brian Ripley
On Fri, 22 Jun 2007, hadley wickham wrote: > What's the recommended way to check if an internet connection is > available across platforms? I was using is.null(nsl()) but this does > not work on windows. I don't know a way to do this on Windows without a possible very long hang. It's complicat

Re: [Rd] Compile error on a 'scratch' linux distro

2007-06-22 Thread Hin-Tak Leung
Don't do that - if you are using gcc 4.x, you should be using gfortran 4.x, rather than g77 3.x... Dan Bolser wrote: > Here are the details... > > uname -a > Linux yellow 2.6.16.1.i686.1 #23 SMP Mon Aug 28 15:36:14 CEST 2006 > i686 GNU/Linux > > gcc --version > gcc (GCC) 4.2.0 > > g77 --versio

Re: [Rd] Compile error on a 'scratch' linux distro

2007-06-22 Thread Prof Brian Ripley
On Fri, 22 Jun 2007, Dan Bolser wrote: > Here are the details... > > uname -a > Linux yellow 2.6.16.1.i686.1 #23 SMP Mon Aug 28 15:36:14 CEST 2006 > i686 GNU/Linux > > gcc --version > gcc (GCC) 4.2.0 > > g77 --version > GNU Fortran (GCC) 3.4.4 You need a matching gcc set: the gcc4 support routine

[Rd] Compile error on a 'scratch' linux distro

2007-06-22 Thread Dan Bolser
Here are the details... uname -a Linux yellow 2.6.16.1.i686.1 #23 SMP Mon Aug 28 15:36:14 CEST 2006 i686 GNU/Linux gcc --version gcc (GCC) 4.2.0 g77 --version GNU Fortran (GCC) 3.4.4 What else should I post that may help debug this problem? Below is the text of the error... make[3]: Entering

[Rd] Cross-platform check for internet connection

2007-06-22 Thread hadley wickham
What's the recommended way to check if an internet connection is available across platforms? I was using is.null(nsl()) but this does not work on windows. Thanks, Hadley __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-dev