Skip to content

Commit

Permalink
no writing to user dir anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbossek committed Dec 20, 2017
1 parent 02a23a6 commit 6d246cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/writeGP.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
#' g = addWeights(g, generator = addWeightsRandom, method = runif, min = 5, max = 100, to.int = TRUE)
#' g = addWeights(g, generator = addWeightsRandom, method = runif, min = 10, max = 100, to.int = TRUE)
#' \dontrun{
#' writeGP(g, file = "myGraph.graph")
#' g2 = readGP(file = "myGraph.graph")
#' filename = tempfile()
#' writeGP(g, file = filename)
#' g2 = readGP(file = filename)
#' unlink(filename)
#' do.call(gridExtra::grid.arrange, c(plot(g), plot(g2), list(nrow = 2)))
#' }
#' @rdname writeGP
Expand Down
6 changes: 4 additions & 2 deletions man/writeGP.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d246cf

Please sign in to comment.