Displaying 1 result from an estimated 1 matches for "jseq".
Did you mean:
cseq
2013 Feb 20
0
Simultaneously adding rows and columns by '[<-.data.frame' may fail
..., it looks like 'jj' is meant instead of 'j'.
In the code of function '[<-.data.frame', near the end, it looks like 'j' needs to be replaced with 'jj' in the lines marked by # below.
if (has.i)
for (jjj in seq_len(p)) {
jj <- jseq[jjj]
vjj <- value[[jvseq[[jjj]]]]
if (jj <= nvars) {
...
}
else {
x[[jj]] <- vjj[FALSE]
if (length(dim(vjj)) == 2L) {
length(x[[j]]) <- nrows * ncol(vjj) #...