Re: [Rd] Suggestions for 'diff.default'

2013-01-28 Thread Suharto Anggono Suharto Anggono
--- On Mon, 28/1/13, Suharto Anggono Suharto Anggono wrote: > From: Suharto Anggono Suharto Anggono > Subject: Suggestions for 'diff.default' > To: r-de...@lists.r-project.org > Date: Monday, 28 January, 2013, 5:31 PM > I have suggestions for function > 'diff.default' in R. > > > Suggestion

Re: [Rd] R-forge, package dependencies

2013-01-28 Thread Peter Ruckdeschel
Am 15.01.2013 21:37, schrieb Paul Gilbert: > I'm surprised this works on Windows and Mac, since RMonetDB does not > seem to be on CRAN. I thought it was still a requirement that > dependencies need to be on CRAN (which makes development difficult for > related packages like this). Sorry for my so

Re: [Rd] bug in help: R-devel pre 3.0

2013-01-28 Thread Duncan Murdoch
On 13-01-28 4:01 PM, mark.braving...@csiro.au wrote: G'day There's a bug in R-devel help() when something is documented in multiple places. Eg library( gmp) ?apply The browser window then contains: Error in length(packages):"Help on topic '%s' was found in the following package:" : NA/

Re: [Rd] bug in help: R-devel pre 3.0

2013-01-28 Thread Duncan Murdoch
On 13-01-28 4:01 PM, mark.braving...@csiro.au wrote: G'day There's a bug in R-devel help() when something is documented in multiple places. Eg library( gmp) ?apply The browser window then contains: Error in length(packages):"Help on topic '%s' was found in the following package:" : NA/

[Rd] bug in help: R-devel pre 3.0

2013-01-28 Thread Mark.Bravington
G'day There's a bug in R-devel help() when something is documented in multiple places. Eg > library( gmp) > ?apply The browser window then contains: Error in length(packages):"Help on topic '%s' was found in the following package:" : NA/NaN argument Also, the *next* time 'help' or '?' is

Re: [Rd] Minor issue in code of 'diffinv.vector' in R 2.15.2

2013-01-28 Thread Martin Maechler
> Suharto Anggono Suharto Anggono > on Sun, 27 Jan 2013 23:54:50 -0800 writes: > In R 2.15.2 (and not before), in the definition of > function 'diffinv.vector' in package stats, there is > difference <- as.integer(differences) > I believe > differences <- as.inte

Re: [Rd] incorrect import?

2013-01-28 Thread ONKELINX, Thierry
Dear Joris, Thank for your comments. Changing importFrom("zoo", rollmax) to importFrom("zoo", rollmax, rollmax.default) solved the problem. Best regards, Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitsz

[Rd] Suggestions for 'diff.default'

2013-01-28 Thread Suharto Anggono Suharto Anggono
I have suggestions for function 'diff.default' in R. Suggestion 1: If the input is matrix, always return matrix, even if empty. What happens in R 2.15.2: > rbind(1:2)# matrix [,1] [,2] [1,]12 > diff(rbind(1:2)) # not matrix integer(0) > sessionInfo() R version 2.15.2 (2012-10

[Rd] incorrect import?

2013-01-28 Thread ONKELINX, Thierry
Dear all, I'm not getting what I'm doing wrong. The line below from my read.fsa.bin function throws an error when just loading my AFLP package and disappears when I load the zoo package as well. #the line that throws the error Index <- which(Peak == rollmax(Peak, k = 1 + 2 * floor((min(diff(Siz