Thank you. That answers my question.
-- Bert
On Fri, Jun 7, 2013 at 7:09 AM, Prof Brian Ripley wrote:
> On 07/06/2013 14:49, Bert Gunter wrote:
>>
>> Folks:
>>
>> Feel free to provide me a link or reference instead of an answer.
>>
>> Preamble:
>>
>> f <- function() function(x)rnorm(x)
>> g <- f
On 07/06/2013 14:49, Bert Gunter wrote:
Folks:
Feel free to provide me a link or reference instead of an answer.
Preamble:
f <- function() function(x)rnorm(x)
g <- f()
g(3)
## [1] -0.4448492 -0.2379978 -0.4537394
## But
rnorm <- function()1 ## nasty nasty
g(3)
## Error in rnorm(x) : unused a
2 matches
Mail list logo