Displaying 1 result from an estimated 1 matches for "rscalar".
Did you mean:
scalar
2002 Aug 08
1
Ops.data.frame fails with second arg a list (PR#1889)
...nu
Submission from: (NULL) (130.95.16.114)
Comparison of a data frame with a list fails with an error that
looks to be due to a typo in Ops.data.frame:
> d <- data.frame(1:10)
> d > list(5)
Error in Ops.data.frame(d, list(5)) : Object "scalar" not found
Code has:
rscalar <- length(e2) <= 1
if (isList(e2)) {
if (scalar)
and hence 'Object "scalar" not found'. Should it be 'rscalar'?
Baz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci....