search for: layouttyp

Displaying 2 results from an estimated 2 matches for "layouttyp".

Did you mean: layouttype
2011 May 17
1
R crashes if "toFile" given "~/" in Linux envirnonment
...clusterData(ng, 1, c("bgcolor")) <- c("blue") clusterData(ng, 2, c("bgcolor")) <- c("red") ############################################ # and now 2 usually equivalent ways to specify the location for output file, with the second way crashing: toFile(ng, layoutType="dot", filename="/home/mkimpel/Desktop/g1_11_dot.ps", fileType="ps") NULL toFile(ng, layoutType="dot", filename="~/Desktop/g1_11_dot.ps", fileType="ps") ~/Desktop/g1_11_dot.ps: No such file or directory Process R exited abnormally with c...
2010 Jun 03
1
Memory leak using Rgraphviz
...utGraph() and wrote the following short function that reproduces the problem: foo <- function () { library(Rgraphviz) set.seed(123) V <- letters[1:26] M <- 1:2 g1 <- randomGraph(V, M, 0.5) edgemode(g1) <- "directed" x <- layoutGraph(g1,name="foo",layoutType="twopi", recipEdges="distinct") } I expected that any memory allocated by this function would be freed when it returns, but that's not the case. Is there something that I need to be doing to to clean up after using layoutGraph? Thanks, Andreas