similar to: controlling the edge linewidth in Rgraphviz

Displaying 20 results from an estimated 1100 matches similar to: "controlling the edge linewidth in Rgraphviz"

2008 Feb 12
0
[Fwd: Re: controlling the edge linewidth in Rgraphviz]
Hi Adrian, even better would be this: 1.) Install the latest Rgraphviz devel version 2.) Use the new API for graph rendering: library(Rgraphviz) example(randomEGraph) x <- layoutGraph(g1) graph.par(list(edges=list(lwd=2))) # if you want to set lwd=2 for the whole session # or if you just want to change this for your one graph: renderGraph(x, graph.pars=list(edges=list(lwd=2))) There is a
2007 Oct 04
1
linewidth in Rgraphviz
I'm an Rgraphviz newbie trying to figure out how to do some things/whether they are possible. Apparently graphviz does allow you to modify line widths of edges: see https://mailman.research.att.com/pipermail/graphviz-interest/2001q2/000051.html (although it looks a little obscure even in graphviz). [As discussed in the thread above, the "weight" parameter in Rgraphviz sets the
2007 Nov 30
1
dataframe does not expand as.Dates objects (PR#10481)
Full_Name: Adrian Dragulescu Version: 2.6.0 OS: Windows Submission from: (NULL) (216.99.178.65) > data.frame(x=1:10, y="A") # expands fine x y 1 1 A 2 2 A 3 3 A 4 4 A 5 5 A 6 6 A 7 7 A 8 8 A 9 9 A 10 10 A > > data.frame(x=1:10, z=as.Date("2007-01-01")) # get an error Error in data.frame(x = 1:10, z = as.Date("2007-01-01")) :
2001 Jan 09
1
Setting fontsize in dev.copy2eps
I have a figure on screen with a legend. I want to copy this image to EPS, and use: dev.copy2eps(file="file1.eps", width=5, height=5) The legend that looks OK on screen doesn't look OK in the PostScript image: the text extends out of the box. I try adding a fontsize command: dev.copy2eps(file="file1.eps", width=5, height=5, pointsize=5) This options seems to
2006 May 08
1
persp or wireframe 3D plot: how can I independently adjust linewidth of the 'surface' and framebox?
It is a trivial matter to adjust the linewidth of the axes and plot line in a 2D plot: x <- 1:10; y <- 1:10; par(lwd=2); # axis (and others) linewidth plot(x,y,"l",lwd=6); # plot linewidth Is there anything comparable to this for persp or wireframe? I've tried a number of ways, and the framebox/axes seem to be linked to the linewidth used in generating the
2006 Jul 25
5
greek letters, text, and values in labels
Hello, I want to have a title that will look something like: "Results for \theta=2.1", given that I have a variable theta=2.1, and \theta should show on the screen like the greek letter. I've tried a lot of things: theta <- 2.1 plot(1:10, main=expression(paste("Results for", theta, "=", eval(theta)))) or using bquote plot(1:10, main=paste("Results for
2006 Oct 19
1
ROracle error in Windows. Memory could not be read.
I've seen from earlier posts that other people had problems installing ROracle under Windows. I run R-2.3.1. I got the Windows binaries for ROracle from http://stat.bell-labs.com/RS-DBI/download/index.html Here is my session: > require(ROracle) Loading required package: ROracle Loading required package: DBI [1] TRUE > drv <- dbDriver("Oracle") > drv
2004 Apr 29
3
memory problems with lm
Hello list, I've seen the recent discussions documenting problems with lm. I have encountered the following problem. I use WinXP Pro with service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM. > eff.fro std.dev mean NSTRDSP 7.403749e-01 1.215686e-01 CPFGEP 9.056763e+00 1.815686e+00 WSWOLF 4.703588e+05 1.112832e+05 NPILGRIM 1.017640e+06 2.134335e+05
2005 Feb 17
2
dumping the summary of lm to a text file
Hello list, I have a linear regression ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69) group <- gl(2,10,20, labels=c("Ctl","Trt")) weight <- c(ctl, trt) reg <- lm(weight ~ group) sreg <- summary(reg) and I would like to dump exactly what I see on the console with
2009 Nov 04
3
inconsistent behavior for logical vectors when using apply (" TRUE")
Hello, > X <- data.frame(letters=letters[1:3], flag=c(TRUE, FALSE, TRUE)) > X letters flag 1 a TRUE 2 b FALSE 3 c TRUE > apply(X, 1, as.list) [[1]] [[1]]$letters [1] "a" [[1]]$flag [1] " TRUE" [[2]] [[2]]$letters [1] "b" [[2]]$flag [1] "FALSE" [[3]] [[3]]$letters [1] "c" [[3]]$flag [1] " TRUE"
2009 Jul 09
1
merge performace degradation in 2.9.1
I have noticed a significant performance degradation using merge in 2.9.1 relative to 2.8.1. Here is what I observed: N <- 100000 X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N)) X$mon <- as.character(X$mon) Y <- data.frame(mon=month.abb, letter=letters[1:12]) Y$mon <- as.character(Y$mon) Z <- cbind(Y, group=1:12) system.time(Out
1997 Sep 08
1
R-alpha: Re: lwd, cex and par(.) issues [was "... windows quirks .."]
[[yet another discussion brought from R-core to R-devel]] >>>>> "RG" == Robert Gentleman <rgentlem@stat.auckland.ac.nz> writes: RG> Peter, there is some code for line types and widths in all the RG> drivers. With windows there is the well known limitation that you RG> can't have patterened lines with lwd larger than 1 (unless you
2004 Feb 20
1
Does pdf() not work on Trellis graphics?
Hello, I have the following example. testpdf <- function(x,y){ pdf() #plot(x,y) xyplot(x~y) dev.off() } source("testpdf.R") x=1:1000 testpdf(x,x) with "xyplot", the output is a file that can not be read because it has no pages. With "plot" it works fine. If I do it manually (from the GUI menu), it works even for "xyplot". How can I save
2006 Jul 06
1
Rgraphviz: Setting the edge width
I create an undirected graph with Rgraphviz (see code below). I would like to make the edges thicker. Can anyone help on this?? Regards S?ren V <- c("A","B","C","D") E <- list(c("A","B"),c("B","C"),c("C","D"),c("D","A"),c("A","C")) Eidx
2006 Aug 28
1
Rgraphviz - neato layout - edge weights do not have an effect
Dear all, neato makes layouts according to a physical model in which the length of the edges is determined by springs. The weight of the edge is the strength of the spring. However, I was not able to find any influence of edge weight on the layout. In the http://www.graphviz.org/Documentation/neatoguide.pdf the attribute "len" is another parameter of the neato layout. set.seed(31)
2007 May 26
3
learning lattice graphics
Hi, I've just produced my first lattice plot - the graphic is very impressive, but I only partly understand how it works. I crimped from examples in MASS and the help pages to get most of what I want done. Howver, I find both MASS and the help pages are a little too terse for my needs as a beginner. Can anyone suggest web or print resources for lattice graphics that provide a more thorough
2008 Nov 06
1
problem packaging S4 class that contains a slot of jobjRef class
Hello, I'm trying to package some source files that link R to a broker using a Java API and the rJava package. I am successful doing the connection and operate on it using my R code. I would like to package the files and release the package. I created some S4 classes to hold several Java objects. I use WinXP and R 2.7.1. I've searched RSeek and the Wiki for help, but could not find a
2000 Feb 15
1
rpois gives a large number repeatedly (PR#439)
Full_Name: Kjetil Kjernsmo Version: 0.65.1 OS: Digital UNIX 4.0 Submission from: (NULL) (129.240.28.172) I'm experiencing problems with rpois. Occasionally, it draws a very high number. Yeah, I know, this is statistics, things like that does happen, but this really strange because a poisson distribution with a parameter of 3 shouldn't see the number 1932 very often, but the same,
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
2018 Dec 14
2
[WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports
On Thu, Dec 13, 2018 at 08:25:32PM -0500, Lyude Paul wrote: > The current way of handling refcounting in the DP MST helpers is really > confusing and probably just plain wrong because it's been hacked up many > times over the years without anyone actually going over the code and > seeing if things could be simplified. > > To the best of my understanding, the current scheme