Displaying 1 result from an estimated 1 matches for "calculateion".
Did you mean:
calcuation
2008 Aug 26
1
Potential Error/Bug?: addition of NULL during arithmetic
...an error that does not make sense to me given my reading
of the documentation and does not appear to be referenced in the list
archives or online. The error occurred when a function received a NULL
value rather than a numeric value as a parameter and then attempted to
use the NULL value in the calculateion. The error: "Error during wrapup:
nothing to replace with" can be easily recreated with the following code:
> 1 + NULL # note that the opperation succeeds and returns a numeric vector with dim(NULL)
numeric(0)
> bar <- 1
> bar
[1] 1
> foo <- 1 + NULL
> foo
numeric...