[Rd] switch() called with just the EXPR argument causes R to hang (PR#14124)

2009-12-10 Thread sgiannerini
Dear all, switch() called with just the EXPR argument causes R to hang so that the only way to stop it is to kill R. Reproducible example: > switch(EXPR="a") the internal C subroutine behind switch is do_switch located in R/src/main/builtin.c For convenience I reproduce it below. *

[Rd] quantile and IQR do not check for numeric input (PR#13631)

2009-03-30 Thread sgiannerini
This report follows the post http://tolstoy.newcastle.edu.au/R/e6/devel/09/03/0760.html where it is shown that quantile() and IQR() do not work as documented. In fact they do not check for numeric input even if the documentation says = : ?quantile x numeric vectors whose sample quantiles ar

[Rd] Bug in pacf -- Proposed patch (PR#10455)

2007-11-23 Thread sgiannerini
Dear all, following the thread http://tolstoy.newcastle.edu.au/R/e2/devel/07/09/4338.html regarding the bug in the partial autocorrelation function for multivariate time series. I have prepared a web page with patches and relevant information. http://www2.stat.unibo.it/giannerini/R/pacf.htm Pl