R: my "modify-in-place" tricks are going haywire...

Bug #1133770 reported by Gábor Csárdi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Fix Released
High
Gábor Csárdi

Bug Description

library(igraph)

gOrg <- erdos.renyi.game(15, 1/10, directed = TRUE)
g = set.graph.attribute(gOrg, "mode", list(a=1, b=2))
g$mode
# $a
# [1] 1
# $b
# [1] 2

g$mode$a = 3
g$mode$XXX = 4
g$mode
# $a
# [1] 3
# $b
# [1] 2

description: updated
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Fixed in commit #3100 (0.6-main) and #3134 (0.7-main).

Changed in igraph:
milestone: none → 0.6.5
assignee: nobody → Gábor Csárdi (gabor.csardi)
status: Confirmed → Fix Committed
Changed in igraph:
status: Fix Committed → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/133

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.