similar to: Rgraphviz: how to read a "dot" file?

Displaying 20 results from an estimated 600 matches similar to: "Rgraphviz: how to read a "dot" file?"

2011 May 17
1
R crashes if "toFile" given "~/" in Linux envirnonment
I was running some sample code from a help page tonight and wished to redirect the sample output to my Desktop under Linux (Mint-Debian 64 if it makes a different). I was surprised to find that file name expansion using the ubuquitious "~/" was not recognized, in fact it caused R to crash. Is this expected behavior? See my output below and sessionInfo(). Also, not shown, but
2017 Sep 08
3
file.copy(from=Directory, to=File) oddity
When I mistakenly use file.copy() with a directory for the 'from' argument and a non-directory for the 'to' and overwrite=TRUE, file.copy returns FALSE, meaning it could not do the copying. However, it also replaces the 'to' file with a zero-length file. dir.create( fromDir <- tempfile() ) cat(file = toFile <- tempfile(), "existing file\n")
2012 Aug 27
1
matrix.csr %*% matrix --> matrix
When a sparse matrix is multiplied by a regular one, the result is usually not sparse. However, when matrix.csr is multiplied by a regular matrix in R, a matrix.csr is produced. Is there a way to avoid this? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://truepeace.org
2012 Oct 15
0
what to use for sna/graphs?
What do people use for SNA/graph analysis in R? So far I have been using igraph (it implements the Louvain community detection algorithm as multilevel.community, which is the killer feature for me). However, igraph is severely lacking in visualization, which I also need. graphviz & gephi are alleged to be good at visualization, but, apparently, not so for analysis (specifically, community
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
From: Hung-chi Lihn <hlihn at google.com> The current Lua.c32 does not enable io.read() due to some missing library functions. However, this strongly limits the Lua script from getting user inputs and reading files (even in pxelinux via TFTP). This patch enables io.read() in Lua.c32 with some restrictions: 1. the io.read("*line") is fully supported. 2. the
2012 Feb 10
2
the value of the last expression
Is there an analogue of common lisp "*" variable which contains the value of the last expression? E.g., in lisp: > (+ 1 2) 3 > * 3 I wish I could recover the value of the last expression without re-evaluating it. thanks -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://camera.org http://ffii.org
2017 Sep 11
0
file.copy(from=Directory, to=File) oddity
>>>>> William Dunlap via R-devel <r-devel at r-project.org> >>>>> on Fri, 8 Sep 2017 09:54:58 -0700 writes: > When I mistakenly use file.copy() with a directory for the 'from' argument > and a non-directory for the 'to' and overwrite=TRUE, file.copy returns > FALSE, meaning it could not do the copying. However, it also
2012 Oct 07
2
a merge() problem
I know it does not look very good - using the same column names to mean different things in different data frames, but here you go: --8<---------------cut here---------------start------------->8--- > x <- data.frame(a=c(1,2,3),b=c(4,5,6)) > y <- data.frame(b=c(1,2),a=c("a","b")) >
2012 Apr 04
2
plot with a regression line(s)
I am sure a common need is to plot a scatterplot with some fitted line(s) and maybe save to a file. I have this: plot.glm <- function (x, y, file = NULL, xlab = deparse(substitute(x)), ylab = deparse(substitute(y)), main = NULL) { m <- glm(y ~ x) if (!is.null(file)) pdf(file = file) plot(x, y, xlab = xlab, ylab = ylab, main = main) lines(x, y =
2004 Mar 24
1
rsync --files-from with symlink in path
Here is what I have been doing with rsync(This is condinced version of the main script that runs): #!/usr/local/bin/bash SSH=/usr/local/bin/ssh RSYNC=/usr/local/bin/rsync SED=/usr/bin/sed USER=vmladmin ROLLLISTDIR=/home/vmladmin/rolllists/ ROLLFILE=${ROLLLISTDIR}rollfile.${CELERITYID} EXCLUDEFILE=${ROLLLISTDIR}rollfile.exclude RSYNC_OPT="-zrc --delete"
1999 Jul 23
2
Getting R graphics into MS Word (more)
Further to my earlier question. Thank you to: John Maindonald, Ramon Diaz-Uriarte, Brian Ripley, Alvaro Novo, Simon Bond and David Scott for your helpful replies. I have looked at the problem in some more detail. I am using Rgui.exe Version 0.64.2 (July 3, 1999) running under Windows NT To demonstrate the problem, I run the program: > win.graph(width=5, height=3) > data(women) >
2006 May 11
3
cannot turn some columns in a data frame into factors
Hi, I have a data frame df and a list of names of columns that I want to turn into factors: df.names <- attr(df,"names") sapply(factors, function (name) { pos <- match(name,df.names) if (is.na(pos)) stop(paste(name,": no such column\n")) df[[pos]] <- factor(df[[pos]]) cat(name,"(",pos,"):",is.factor(df[[pos]]),"\n")
2009 May 06
1
[Fwd: loading SPOT file]
-------------- next part -------------- An embedded message was scrubbed... From: Barbara Cegielska <barceg at ibch.poznan.pl> Subject: loading SPOT file Date: Wed, 06 May 2009 16:48:35 +0200 Size: 1151 URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090506/e35e3f7e/attachment-0002.eml>
2007 Jul 30
3
SortHelper problem
I have TableA with name, description, start time displayed on one page. TableB has name, comment, file path and is displayed on another page. I''m using the SortHelper2 helper to help me sort the columns of these tables, however I''m experiencing a problem whereby if I sort TableA by description and then go ahead and view TableB I get an error message saying SQL Command Failed,
2004 Sep 22
1
Rgraphviz compilation error
Hi, I am installing Rgraphviz at Linux Fedora Core 2 with 32 bit AMD athlon with 512 RAM. I have installed graphviz version: graphviz-1.16-1.src.rpm installed already on system. I am doing: $ R CMD INSTALL -l /usr/local/lib/R/library Rgraphviz_1.4.0.tar.gz --------------------------------- * Installing *source* package 'Rgraphviz' ... ** libs gcc -I/usr/local/lib/R/include
2011 Jul 25
1
Rgraphviz installation problem
Dear experts I installed Rgraphviz with the following command: source("http://www.bioconductor.org/biocLite.R") biocLite("Rgraphviz") But had a problem when I tried to load it. This says that libcdt-4.dll is missing in your computer and the following message in R window: > library("Rgraphviz") Loading required package: graph Loading required package:
2012 Jun 24
1
rgraphviz problem
Hello I desperately need help with installing the Rgraphviz package under windows 7. Please forget my ignorance of basic topics, I’m a psychiatrist trying to use text mining to analyse psychiatric reports for criminal courts, statistics and machine learning are within my reach but R environnement subtleties not really... I have read existing posts on rgraphviz installation problems that I have
2009 Dec 23
1
Rgraphviz on mac 10.6.2
Rgraphviz Install works fine (http://www.bioconductor.org/packages/release/bioc/html/Rgraphviz.html) Latest version of graphviz is installed as well however I get following error when loading Rgraphviz (on Mac 10.6.2) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Users/jb/Library/R/2.9/library/Rgraphviz/libs/i386/Rgraphviz.so':
2008 Jul 12
1
How to build a package which loads Rgraphviz (if installed)...
Dear List, I use Rgraphviz for display of graphs in some packages. Since Rgraphviz is no longer on CRAN it needs to be installed from Bioconductor and that is fine, but I have trouble figureing out the following: I create a plot method which - if Rgraphviz is installed - uses Rgraphviz for displaying and otherwise does nothing. This is implemented as: if (!("package:Rgraphviz" %in%
2009 Aug 24
0
r23 committed - Changed build.xml to use correct directory slashes
Revision: 23 Author: ajturner Date: Sun Aug 23 19:48:12 2009 Log: Changed build.xml to use correct directory slashes http://code.google.com/p/mapstraction/source/detail?r=23 Modified: /trunk/build.xml ======================================= --- /trunk/build.xml Sun Aug 16 17:18:10 2009 +++ /trunk/build.xml Sun Aug 23 19:48:12 2009 @@ -75,7 +75,7 @@ </path> <sequential>