No it's not a bug in R.
Indexing can only occur by integers so there's an automatic conversion
to integer inside of `[`. Your "insert" variable is actually slightly
less than 8 (note as.integer(insert) == 7) by some amount that's too
small to print, but the computer still picks up on.
More concre
Dear community,
I have a little problem filling in a vector with loop output.
I think the problem is the following: I am caluclating the index which
indicates where the loop output should be placed at by a formula. But when I
want to fill in or read out some specific index places this doesn't work
2 matches
Mail list logo