Re: [Rd] list of operations that preserve attributes

2011-10-19 Thread Prof Brian Ripley
There is a description in the 'Blue Book' (Becker et al, 1988) of when attributes are supposed to be preserved, and R mostly conforms to it. This is discussed somewhere relevant in the R documentation: I would have to search for exactly where, so I leave that to you. On Wed, 19 Oct 2011, Joh

[Rd] list of operations that preserve attributes

2011-10-19 Thread John C Nash
I've been trying to prepare some wrappers for optimization objective functions and gradients that use try() to check for computable functions. I'm also trying to do scaling as per optim() so that a number of methods that are available on CRAN and R-Forge can use parameter and function scaling. T