Re: [Rd] Documentation for taper in spec.taper (PR#8871)

2006-05-17 Thread Prof Brian Ripley
Thanks, reworded in R-patched (and later). On Wed, 17 May 2006, [EMAIL PROTECTED] wrote: > Full_Name: Michael Stein > Version: Version 2.1.1 > OS: linux > Submission from: (NULL) (128.135.149.112) > > > The documentation for spec.taper says > > p: The total proportion to be tapered, either

Re: [Rd] 'R CMD config' doesn't work on Windows

2006-05-17 Thread Prof Brian Ripley
On Wed, 17 May 2006, Seth Falcon wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: >> What is "config"? > >Usage: R CMD config [options] [VAR] > >Get the value of a basic R configure variable VAR which must be >among those listed in the 'Variables' section below, or the header >a

Re: [Rd] prcomp: problem with zeros? (PR#8870)

2006-05-17 Thread juha . heljoranta
Prof Brian Ripley wrote: >>Error in svd(x, nu = 0) : infinite or missing values in 'x' > > Why do you say that? Without a reproducible example, we cannot judge > what is going on. If you called prcomp with scale=TRUE on a matrix that > has a completely zero (or constant) column, then this is

Re: [Rd] 'R CMD config' doesn't work on Windows

2006-05-17 Thread Seth Falcon
Duncan Murdoch <[EMAIL PROTECTED]> writes: > What is "config"? Usage: R CMD config [options] [VAR] Get the value of a basic R configure variable VAR which must be among those listed in the 'Variables' section below, or the header and library flags necessary for linking again

Re: [Rd] install.packages bug (PR#8873)

2006-05-17 Thread Duncan Murdoch
On 5/17/2006 5:45 PM, [EMAIL PROTECTED] wrote: > Hello, > > I've been using R for about 3 years now and I'm pretty sure this is a bug. > I'm using R 2.2.0. The latest release is 2.3.0 and 2.3.1 has been announced. Please try R-patched (which will become 2.3.1 in a couple of weeks), and see if

Re: [Rd] 'R CMD config' doesn't work on Windows

2006-05-17 Thread Duncan Murdoch
On 5/17/2006 5:51 PM, Seth Falcon wrote: > Herve Pages <[EMAIL PROTECTED]> writes: >> I'd like to report this problem I have on Windows with R 2.2.1, R 2.3.0, >> R-2.3.0 patched (r38086) and R 2.4.0 devel (r37925): >> D:\hpages>R\bin\R CMD config CC >> Can't open perl script "D:\hpages\R-2.

[Rd] Noncentral dt() with tiny 'x' values (PR#8874)

2006-05-17 Thread meredith
Full_Name: Mike Meredith Version: 2.3.0 OS: WinXP SP2 Submission from: (NULL) (210.195.228.29) Using dt() with a non-centrality parameter and near-zero values for 'x' results in erratic output. Try this: tst <- c(1e-12, 1e-13, 1e-14, 1e-15, 1e-16, 1e-17, 0) dt(tst,16,1) I get: 0.2381019 0.238

[Rd] ?hist and $density explanation

2006-05-17 Thread François Pinard
Hi, people. Within ?hist (using R 2.3.0), one reads: density: values f^(x[i]), as estimated density values. If 'all(diff(breaks) == 1)', they are the relative frequencies 'counts/n' and in general satisfy sum[i; f^(x[i]) (b[i+1]-b[i])] = 1, where b[i] = 'breaks[i]'.

[Rd] install.packages bug (PR#8873)

2006-05-17 Thread tdhock
Hello, I've been using R for about 3 years now and I'm pretty sure this is a bug. I'm using R 2.2.0. The way R is set up to get packages from CRAN using install.packages is really convenient --- if you are installing to your system's main package directory. However, I observe the following pro

Re: [Rd] 'R CMD config' doesn't work on Windows

2006-05-17 Thread Seth Falcon
Herve Pages <[EMAIL PROTECTED]> writes: > I'd like to report this problem I have on Windows with R 2.2.1, R 2.3.0, > R-2.3.0 patched (r38086) and R 2.4.0 devel (r37925): > D:\hpages>R\bin\R CMD config CC > Can't open perl script "D:\hpages\R-2.3.1/bin/config": No such file > or directory

[Rd] 'R CMD build' ignoring segfaults occuring during the vignettes creation

2006-05-17 Thread Herve Pages
Sorry for erroneous subject of my previous post. Here it goes again. Hi, Something else I'd like to report. If a segmentation fault occurs during the "creating vignettes" step, then 'R CMD build' ignores the problem and

[Rd] 'R CMD ' doesn't work on Windows

2006-05-17 Thread Herve Pages
Hi, Something else I'd like to report. If a segmentation fault occurs during the "creating vignettes" step, then 'R CMD build' ignores the problem and end up building the source package anyway: /loc/biocbuild/1.9d/R/bin/R CMD build RMAGEML * checking for file 'RMAGEML/DESCRIPTION' ... OK

[Rd] 'R CMD config' doesn't work on Windows

2006-05-17 Thread Herve Pages
Hi everybody, I'd like to report this problem I have on Windows with R 2.2.1, R 2.3.0, R-2.3.0 patched (r38086) and R 2.4.0 devel (r37925): D:\hpages>R\bin\R CMD config CC Can't open perl script "D:\hpages\R-2.3.1/bin/config": No such file or directory Best, H. -- -

Re: [Rd] Convention difference in tseries.maxdrawdown (PR#8872)

2006-05-17 Thread Gabor Grothendieck
Regarding the upwardly compatible comment, the dollar drawdown that corresponds to the maximum fractional drawdown is not necessarily the maximum dollar drawdown. For example, in this situation the maximum fractional drawdown is from 100 to 75 but the maximum dollar drawdown is from 200 to 160. >

[Rd] Convention difference in tseries.maxdrawdown (PR#8872)

2006-05-17 Thread rproject
Full_Name: Brian K. Boonstra Version: 2.2.1 OS: WinXP, OSX Submission from: (NULL) (63.172.178.137) The maxdrawdown function in tseries defines the maximum drawdown in terms of absolute dollars (or whatever units the input is in). Industry convention is to do this in percentage terms. I have wr

[Rd] Documentation for taper in spec.taper (PR#8871)

2006-05-17 Thread stein
Full_Name: Michael Stein Version: Version 2.1.1 OS: linux Submission from: (NULL) (128.135.149.112) The documentation for spec.taper says p: The total proportion to be tapered, either a scalar or a vector of the length of the number of series. Details: The cosine-bell tape

Re: [Rd] prcomp: problem with zeros? (PR#8870)

2006-05-17 Thread Jari Oksanen
On 17 May 2006, at 22:02, [EMAIL PROTECTED] wrote: > On Wed, 17 May 2006, [EMAIL PROTECTED] wrote: >> >> prcomp has a bug which causes following error >> >>Error in svd(x, nu = 0) : infinite or missing values in 'x' >> >> on a valid data set (no Infs, no missing values). The error is most >>

Re: [Rd] prcomp: problem with zeros? (PR#8870)

2006-05-17 Thread ripley
On Wed, 17 May 2006, [EMAIL PROTECTED] wrote: > Full_Name: Juha Heljoranta > Version: R 2.1.1 (2005-06-20) Not a current version of R. > OS: Gentoo Linux > Submission from: (NULL) (88.112.29.250) > > prcomp has a bug which causes following error > >Error in svd(x, nu = 0) : infinite or missi

[Rd] prcomp: problem with zeros? (PR#8870)

2006-05-17 Thread juha . heljoranta
Full_Name: Juha Heljoranta Version: R 2.1.1 (2005-06-20) OS: Gentoo Linux Submission from: (NULL) (88.112.29.250) prcomp has a bug which causes following error Error in svd(x, nu = 0) : infinite or missing values in 'x' on a valid data set (no Infs, no missing values). The error is most lik

[Rd] Non-ASCII chars in R code

2006-05-17 Thread Prof Brian Ripley
The report on R_help about problems loading package irr (in a UTF-8 locale, it seemed) prompted me to look a little deeper. There are quite a few packages with Latin-1 chars in their .R files, and a couple in UTF-8. Apart from non-ASCII chars in comments, this is a problem as the code concern

Re: [Rd] optim "CG" bug w/patch proposal (PR#8786)

2006-05-17 Thread murdoch
On 5/17/2006 11:07 AM, Martin Maechler wrote: >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Tue, 16 May 2006 08:34:06 -0400 writes: > > Duncan> On 5/16/2006 4:56 AM, [EMAIL PROTECTED] > Duncan> wrote: > >> Probably I included too much at once in my bug report. I >

Re: [Rd] R CMD SHLIB

2006-05-17 Thread Prof Brian Ripley
On Wed, 17 May 2006, Bill Dunlap wrote: > On Wed, 17 May 2006, Martin Maechler wrote: > >>> "TL" == Thomas Lumley <[EMAIL PROTECTED]> >>> on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: >> >> TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: >>>> It is possible to do things li

Re: [Rd] protect/unprotect howto in C code

2006-05-17 Thread Thomas Lumley
On Wed, 17 May 2006, Michael Dondrup wrote: > Thank you very much, Thomas! > > Thanks to the explanation, I think I could almost track down that bug. May I, > just for clarification, ask a further bunch of questions (sorry). From what > you say, did I get it right: > > - 'error in unprotect: stac

Re: [Rd] optim "CG" bug w/patch proposal (PR#8786)

2006-05-17 Thread ripley
On Wed, 17 May 2006, [EMAIL PROTECTED] wrote: > >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Tue, 16 May 2006 08:34:06 -0400 writes: > >Duncan> On 5/16/2006 4:56 AM, [EMAIL PROTECTED] >Duncan> wrote: >>> Probably I included too much at once in my bug report. I >

Re: [Rd] R CMD SHLIB

2006-05-17 Thread Bill Dunlap
On Wed, 17 May 2006, Martin Maechler wrote: > > "TL" == Thomas Lumley <[EMAIL PROTECTED]> > > on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: > > TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: > >> It is possible to do things like > >> > >> env PKG_LIB="-L/opt/foo/l

Re: [Rd] protect/unprotect howto in C code

2006-05-17 Thread Michael Dondrup
Thank you very much, Thomas! Thanks to the explanation, I think I could almost track down that bug. May I, just for clarification, ask a further bunch of questions (sorry). From what you say, did I get it right: - 'error in unprotect: stack imbalance' is only a warning, it will not cause ter

Re: [Rd] optim "CG" bug w/patch proposal (PR#8786)

2006-05-17 Thread maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Tue, 16 May 2006 08:34:06 -0400 writes: Duncan> On 5/16/2006 4:56 AM, [EMAIL PROTECTED] Duncan> wrote: >> Probably I included too much at once in my bug report. I >> can live with an unfulfilled wishlist and thank y

Re: [Rd] protect/unprotect howto in C code

2006-05-17 Thread Thomas Lumley
On Wed, 17 May 2006, Michael Dondrup wrote: > Hi, > > Im currently trying to debug a 'error in unprotect: stack imbalance' problem > and I am curious about two basic questions on the use of PROTECT and > UNPROTECT, which I could not figure out: > > - which objects have to be protected, namely, if

[Rd] R 2.3.1 scheduled for June 1

2006-05-17 Thread Peter Dalgaard
We plan to release R version 2.3.1 on June 1, in order to clean up a couple of embarrasments and platform-specific build issues 2.3.0. Beta releases will be available starting this Friday. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatisti

Re: [Rd] str() with attr(*, "names") is extremely slow for long vectors

2006-05-17 Thread Gerhard Thallinger
> "MartinM" == Martin Maechler maechler at stat.math.ethz.ch >Sat, May 13 2006 15:16:19 +0200 writes: MartinM> But have you looked at R 2.3.0-patched at all? MartinM> MartinM> I did acknowledge that str() had become MartinM> unacceptably slow, and had implemented a simple pa

[Rd] protect/unprotect howto in C code

2006-05-17 Thread Michael Dondrup
Hi, Im currently trying to debug a 'error in unprotect: stack imbalance' problem and I am curious about two basic questions on the use of PROTECT and UNPROTECT, which I could not figure out: - which objects have to be protected, namely, if the code is something like: SEXP fun, e; /* get the ex