diff --git a/vignettes/igraph.Rmd b/vignettes/igraph.Rmd index 7b81e68a49d..fbb1c38de73 100644 --- a/vignettes/igraph.Rmd +++ b/vignettes/igraph.Rmd @@ -309,7 +309,7 @@ g <- delete_vertex_attr(g, "gender") V(g)$gender ``` -If you want to save a graph in R with all the attributes use the R's standard function `dput()` function and retrieve it later with `dget()`. You can also just save the R workspace and restore it later. +If you want to save a graph in R with all the attributes use `saveRDS()` (and then `readRDS()` to retrieve it). ## Structural properties of graphs diff --git a/vignettes/igraph_ES.rmd b/vignettes/igraph_ES.rmd index a43d3da9a2b..cc601c37014 100644 --- a/vignettes/igraph_ES.rmd +++ b/vignettes/igraph_ES.rmd @@ -321,7 +321,7 @@ g <- delete_vertex_attr(g, "gender") V(g)$gender ``` -Si quieres guardar un grafo en R con todos los atributos utiliza la función estándar de R `dput` y recupéralo más tarde con `dget`. También puedes simplemente guardar el espacio de trabajo de R y restaurarlo más tarde. +Si quieres guardar un grafo en R con todos los atributos utiliza la función `saveRDS()` (y `readRDS()` para recuperarlo más tarde). ## Propiedades estructurales de los grafos