R: assigning to complex attributes does not work as expected
Bug #1039176 reported by
Gábor Csárdi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Confirmed
|
Medium
|
Gábor Csárdi |
Bug Description
Carl Pearson reported this:
library(igraph)
g <- graph.ring(10)
V(g)$foo <- lapply(1:vcount(g), sample, x=1:100)
V(g)$foo[[5]][1:3] <- 0
V(g)$foo
You are right that
V(g)[9]$foo[1:2] <- -100
does not work and that it should. I consider this a bug, and will fix
it, if possible.
To post a comment you must log in.
We wil postpone this to 0.7, because I need to think over the correct and unambiguous way of handling complex attributes.