Displaying 1 result from an estimated 1 matches for "ncolv".
Did you mean:
ncol
2008 Jan 14
0
illegal data frame produced by [<-.data.frame (PR#10574)
...e = FALSE) :
corrupt data frame: columns will be truncated or padded with NAs
In S-PLUS, the first warning is given, then a legal data frame
is produced, using only the first column of value.
The following change to R's "[<-.data.frame" gives that behavior.
Change:
else if (ncolv > p)
warning(gettextf("provided %d variables to replace %d variables",
ncolv, p), domain = NA)
to:
else if (ncolv > p) {
warning(gettextf("provided %d variables to replace %d variables",
ncolv, p), domain = NA)
new.c...