[Rd] SSD() documentation (PR#7993)

2005-07-06 Thread arnima
There are a couple of harmless typos in the documentation for the stats::SSD function, where "varianve" should be "variance" "followint" should be "following" Arni R 2.1.1pat 2005-07-04 on WinXP __ R-devel@r-project.org mailing list https://sta

[Rd] write.csv (PR#7992)

2005-07-06 Thread arnima
The write.csv() function is currently implemented as function (..., col.names=NA, sep=",", qmethod="double") { write.table(..., col.names=NA, sep=",", qmethod="double") } Surely, it should be function (..., col.names=NA, sep=",", qmethod="double") { write.table(..., col.

[Rd] still confused about vnsprintf, log1p, exp1m

2005-07-06 Thread Charles Geyer
I posted a question quite a while back about vsnprintf and Brian Ripley replied that R always makes sure it's available, so I needn't worry. A look at the source code shows the same for log1p and exp1m. But I am still confused. Right now my code compiles and runs fine when using the approved CFLA

Re: [Rd] Problem with dyn.load...or else...

2005-07-06 Thread Thomas Lumley
On Wed, 6 Jul 2005, [iso-8859-1] Marie-H?l?ne Ouellette wrote: And try to use the function: > K_MEANSR(tab,centers=c(2,4)) [1] "AA" [1] "AAA" [1] "A" [1] "B" Error in .C("K_MEANSC", xrows = as.integer(xrows), xcols = as.integer(xcols), : "C" function name not in load table Hmm. Stra

[Rd] Problem with dyn.load...or else...

2005-07-06 Thread Marie-Hélène Ouellette
Hi everybody, I'm working on Mac OS X and R-2.1.0 (by the way, sorry for the multiple emails last time, had a technical problem, and thanks for the constructive comments.) I have a .R function which calls a .C function. The R function's name is K_MEANSR.R and the other is K_MEANSC.C. I compi

Re: [Rd] upgrading an R installation to next versoin

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: > > > On 6/30/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > > > >>On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: > >> > >>>Gabor Grothendieck wrote: > >>> > On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: >

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: > > > On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > >>Gabor Grothendieck wrote: > >> > >> > >>>On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: > >>> > >>> > >"Gabor" == Gabor Grothendieck <[EMAIL PR

Re: [Rd] R_alloc problems in R v1.11

2005-07-06 Thread Kjell Konis
On 6 Jul 2005, at 22:06, Uwe Ligges wrote: > Marie-Hélène Ouellette wrote: > >> I'm using the R v1.11 on Macintoch and I seem to have a problem >> with the >> > > There is no version 1.11, and there never was. Current is 2.1.1 > anything > older than 2.x.y is unsupported these days. The lates

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Duncan Murdoch
Uwe Ligges wrote: > Gabor Grothendieck wrote: > > >>On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: >> >> >>>Gabor Grothendieck wrote: >>> >>> >>> On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: >>"Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> >> on W

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Uwe Ligges
Gabor Grothendieck wrote: > On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > >>Gabor Grothendieck wrote: >> >> >>>On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: >>> >>> >"Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> > on Wed, 6 Jul 2005 08:24:49 -0400 writes: >

Re: [Rd] R_alloc problems in R v1.11

2005-07-06 Thread Peter Dalgaard
Marie-Hélène Ouellette <[EMAIL PROTECTED]> writes: > Dear Dr. Ripley, Believe it or not, there are several people on this list who are not Dr.Ripley. In fact, I suspect that he is temporarily absent these days. Had he been present he would likely have explained that none of us need to read the sa

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: > > > On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: > > > >>>"Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> > >>>on Wed, 6 Jul 2005 08:24:49 -0400 writes: > >> > >> ... > >>

Re: [Rd] upgrading an R installation to next versoin

2005-07-06 Thread Uwe Ligges
Gabor Grothendieck wrote: > On 6/30/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > >>On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: >> >>>Gabor Grothendieck wrote: >>> On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: >>> >>>... >>> >>> >I keep a separate directory ...\R\libr

Re: [Rd] R_alloc problems in R v1.11

2005-07-06 Thread Thomas Lumley
On Wed, 6 Jul 2005, [iso-8859-1] Marie-Hélène Ouellette wrote: Dear Dr. Ripley, Or possibly other people on the list. I'm using the R v1.11 on Macintoch Unlikely. There is no R v1.11, and R 1.1.1 (following the most common misspelling) wasn't available for the Mac.

Re: [Rd] R_alloc problems in R v1.11

2005-07-06 Thread Uwe Ligges
Marie-Hélène Ouellette wrote: > Dear Dr. Ripley, This is R-devel, among hundreds of other readers, Prof. Ripley is perhaps listening as well. There is no reason to send dozens of messages. Please read the posting guide. > I'm using the R v1.11 on Macintoch and I seem to have a problem with t

Re: [Rd] dyn.load in linux: missing libraries?

2005-07-06 Thread Uwe Ligges
Tyler Smith wrote: > ah, that's better. For an immediate fix I just changed .dll to .so, and No, change it to .Platform$dynlib.ext or do as already recommended: use library.dynam() Uwe Ligges > it appears to work perfectly. I will read through Writing R Extensions > to make sure I unders

[Rd] R_alloc problems in R v1.11

2005-07-06 Thread Marie-Hélène Ouellette
Dear Dr. Ripley, I'm using the R v1.11 on Macintoch and I seem to have a problem with the function R_alloc. It crashes when using the following .C function (only an example): /// # include void Hello(int *n) { int i,x; for(i=1;1< *n ; i++) { Rprintf('salut!!!\

[Rd] R_alloc problems in R v1.11

2005-07-06 Thread Marie-Hélène Ouellette
Dear Dr. Ripley, I'm using the R v1.11 on Macintoch and I seem to have a problem with the function R_alloc. It crashes when using the following .C function (only an example): /// # include void Hello(int *n) { int i,x; for(i=1;1< *n ; i++) { Rprintf('salut!!!\

[Rd] R_alloc problems in R v1.11

2005-07-06 Thread Marie-Hélène Ouellette
Dear Dr. Ripley, I'm using the R v1.11 on Macintoch and I seem to have a problem with the function R_alloc. It crashes when using the following .C function (only an example): /// # include void Hello(int *n) { int i,x; for(i=1;1< *n ; i++) { Rprintf('salut!!!\

[Rd] R_alloc problems in R v1.11

2005-07-06 Thread Marie-Hélène Ouellette
Dear Dr. Ripley, I'm using the R v1.11 on Macintoch and I seem to have a problem with the function R_alloc. It crashes when using the following .C function (only an example): /// # include void Hello(int *n) { int i,x; for(i=1;1< *n ; i++) { Rprintf('salut!!!\

[Rd] R_alloc problems in R v1.11

2005-07-06 Thread Marie-Hélène Ouellette
Dear Dr. Ripley, I'm using the R v1.11 on Macintoch and I seem to have a problem with the function R_alloc. It crashes when using the following .C function (only an example): /// # include void Hello(int *n) { int i,x; for(i=1;1< *n ; i++) { Rprintf('salut!!!\

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Uwe Ligges
Gabor Grothendieck wrote: > On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: > >>>"Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> >>>on Wed, 6 Jul 2005 08:24:49 -0400 writes: >> >> ... >> ... >> >> Gabor> I have cleaned up my batch file

[Rd] More efficient code?

2005-07-06 Thread Gavin Simpson
Dear List, I have some code (as part of a larger package I intend to submit to CRAN) that implements a permutation test of a method known as Co- correspondence Analysis [1]. The code has to perform n permutations (default n = 99) for each axis of the method. In the example below, there are 29 axes

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation..}

2005-07-06 Thread Torsten Hothorn
> > > > No! {We have been here before, and I had explained before that} > > this is really undesired: ".Rbuildignore" should contain what is > > ignored by build, but not by "check". > > It does make sense to have extra code and / or checks for 'R CMD check' > > that I as package developer want

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Martin Maechler <[EMAIL PROTECTED]> wrote: > > "Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> > > on Wed, 6 Jul 2005 08:24:49 -0400 writes: > > ... > ... > >Gabor> I have cleaned up my batch files (somewhat) and posted them t

[Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Martin Maechler
> "Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> > on Wed, 6 Jul 2005 08:24:49 -0400 writes: ... ... Gabor> I have cleaned up my batch files (somewhat) and posted them to Gabor> CRAN. See my recent post: Gabor> https://www.st

Re: [Rd] dyn.load in linux: missing libraries?

2005-07-06 Thread Tyler Smith
ah, that's better. For an immediate fix I just changed .dll to .so, and it appears to work perfectly. I will read through Writing R Extensions to make sure I understand what I'm doing! Thanks! Tyler Peter Dalgaard wrote: >Tyler Smith <[EMAIL PROTECTED]> writes: > > > >>Hi, >> >>I've just ab

Re: [Rd] upgrading an R installation to next versoin

2005-07-06 Thread Gabor Grothendieck
On 6/30/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: > > Gabor Grothendieck wrote: > > > On 6/30/05, J. Hosking <[EMAIL PROTECTED]> wrote: > > > > > ... > > > > >> I keep a separate directory ...\R\library for nonstandard packages, > > >> wit

Re: [Rd] dyn.load in linux: missing libraries?

2005-07-06 Thread Peter Dalgaard
Tyler Smith <[EMAIL PROTECTED]> writes: > Hi, > > I've just about got myself transferred from windowsXP to Linux (Mepis > 3.3.1-1). I've got R 2.1.1, emacs, and ess running from the debian > repositories. Of course, there is a hitch. I have a bit of C code in one > of my personal functions. I