Skip to content

R: rename operators in V() and E() #22

Closed
@gaborcsardi

Description

@gaborcsardi

From @gaborcsardi on May 13, 2014 13:52

To avoid situations like this:

library(igraph)
g <- graph.ring(10)
nei <- 1:10
V(g)[ nei == 1 ]
# Error in nei == 1 : 
#   comparison (1) is possible only for atomic and list types

If they start with a dot, then this is much less likely to happen.

Copied from original issue: igraph/igraph#617

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions