Re: [Rd] stats::convolve documentation enhancement

2013-06-24 Thread Hervé Pagès
Hi Michael, There are many issues with stats::convolve() that hopefully one day will be addressed. Full story here: https://stat.ethz.ch/pipermail/r-devel/2007-February/044529.html The user shouldn't have to worry about the lengths of the arguments: convolve() should take care of doing the ze

[Rd] sys.source() does not provide the parsing info to eval()

2013-06-24 Thread Karl Forner
Hello, It seems that the parsing information attached to expressions parsed by the parse() function when keep.source=TRUE is not provided to the eval() function. Please consider this code: path <- tempfile() code <- '(function() print( str( sys.calls() ) ))()' writeLines(code, path) sys.source(p

[Rd] stats::convolve documentation enhancement

2013-06-24 Thread Michael Moers
Hi, the function stats::convolve does not mention efficient usage of the underlying FFT algorithm, such as (a) if type="circular", then length(x)=length(y) should have many factors (e.g. length(x) = length(y) = 2^n) (b) if type="open" or "filter", then length(x)+length(y)-1 should have many fa