similar to: Generating EPS figures automatically (like Sweave)

Displaying 20 results from an estimated 1000 matches similar to: "Generating EPS figures automatically (like Sweave)"

2008 Jan 16
1
outer on matrices / arrays
Hi, I would like to evaluate a function f(x,y) taking two vectors as entries on all pairs of X rows and Y rows, where X and Y are n-by-p and m-by-p matrices respectively. Of course, I would like to avoid loops if possible, as the dataset I want to process is quite large. I was not able to find a combination of outer() and apply() to do this -- note that I am fairly new to R. Below is
2012 Jan 22
2
if/else statement without curly brackets gives a problem
Hello, This example seems strange to me: > if (2 > 3) print('Yes'); else print('No') Error: unexpected 'else' in " else" > {if (2 > 3) print('Yes'); else print('No')} Error: unexpected 'else' in "{if (2 > 3) print('Yes'); else" > { + if (2 > 3) print('no') + else print('yes') + }
2009 Dec 29
1
plotting circles with symbols()
Hello, I am not able to plot a circle of a given radius using symbols(). In the example below, the circle appears too large: plot(0, 0, xlim = c(-1, 1), ylim = c(-1, 1)) symbols(0, 0, circles = 1, inches = FALSE, add = TRUE) What's happening? Ery
2006 Nov 02
1
Res: graphics not find source
In ubuntu 6,06 the R normally run, but latter to install the a vesion 6,10 plot this not appearing. computer with problem: /usr/share/X11/fonts$ ls misc Type1 X11R7 In computer OK: /usr/share/X11/fonts$ls 100dpi(*) 75dpi encodings fonts.cache-1 misc Type1 ----- Mensagem original ---- De: Peter Dalgaard <p.dalgaard@biostat.ku.dk> Para: Ricardo Arias Brito
2008 Mar 05
0
EM algorithm
Hi, I am trying to understand how the functions em() and me() from the mclust package work. I cannot make sense of what the algorithm returns. Here is a basic, simple example: ######################################### # two bivariate normals, centered at (-5,0) and (5,0), with Id covariance x1 = cbind(rep(-5, 100), rep(0, 100)) + matrix(rnorm(100*2), 100, 2) x2 = cbind(rep(5, 100),
2001 Jun 13
2
Maybe OT: large fonts in eps-figures
Hi there, if I copy an x11() graphics device to an eps-file (with dev.copy2eps()) the font in the legend is very large and doesn't fit to the legend box in the eps-file (same with a postscript file). I'm not sure if this is a R problem rather than a ghostscript one. But is there a way to solve this problem in R or depends this on my ghostscript installation? System: R Version 1.2.3 on
2012 Feb 09
1
Arial font in eps figures in R
Hi, I am trying to create a graph using Arial font (as required by PLoS One). I have read probably all posts in R-help on this topic, as wells as R-news 2006. The code I have been trying is following: Arial <- Type1Font(family="Arial", metrics=c("ArialMT.afm", "arial-BoldMT.afm", "Arial-ItalicMT.afm",
2009 Jun 01
2
Sweave:Figures from plot (LME output) not getting generated (pdf or eps)
Hi, I seem to be facing a strange problem when I use Sweave for creating a LaTeX document of the R lme() output --- The EPS and PDF figure files get created, but are empty. I have attached a reproducible example below (taken from the R lme() help example). ------------------------------------------------------------------------------------ \documentclass[a4paper,10pt]{article}
2009 Jun 29
1
Lattice and high-resolution tiffs
Hi, I am trying to produce high-resolution (600dpi+) TIFF figures for use in a publication. Everything seems to work well when using the "normal" R-graphics and the relative text size obtained is independent of the output resolution. However, when I try and make lattice plots, the relative size of the text labels changes when I adjust the resolution - they become extremely small at high
2009 May 14
5
Graphical output format
Dear colleagues, Saving a plot with pdf gives a very nice result: pdf("myplot.pdf") par(font=1,family='serif') plot(pressure) dev.off() Doing the very same with other formats (png, jpeg, tiff) gives far worse results. Is there anything to do to make a plot in some other format than pdf look like the pdf? Hardly any journal accepts pdf files for figures, and most do accept png
2013 Jan 14
1
Plotting two graphs on the same figure
I want to add a line that represents the relationship between x and y to a strip chart, I've tried the following functions: par(new=TRUE) points(x,y) lines(x,y) but nothing works, I get the strip chart but line doesn't show up. Here is my function: stripchart(hydfin$exp ~ hydfin$alt, vert = TRUE, pch = 1, method = "jitter", jit = 0.05, xlab = "Elevation", ylab =
2009 Jun 05
5
How run AsyncAGI commands in background
Hi all, I have an external application commanding asterisk by AMI and AsyncAGI. I also have a dialplan like this: ; AsyncAGI extensions exten => _8.,1,Noop(entering in AGI loop at 8 ${EXTEN}); exten => _8.,n,AGI(agi:async); exten => _8.,n,Hangup(); ; Meetme extensions exten => _1.,1,Noop(Conference ${EXTEN} ${CONTEXT}); exten =>
2008 Sep 30
3
question about reports
when a node tries to send a report it drops the following error: err: Reporting failed: undefined method `graph'' for #<Puppet::Transaction::Report:0xb7060948> on the server i have: reports = rrdgraph,store reportdir = /var/www/puppetreports rrddir = /var/www/html/rrd rrdinterval = $runinterval rrdgraph =
2009 Mar 06
2
Highly Connected Nodes in Igraph
Hello R Help Team, I have created graph from weighted adjecency matrix .Is there a way I can find highly connected nodes in Igraph like the Package RBGL does. nathan -- View this message in context: http://www.nabble.com/Highly-Connected-Nodes-in-Igraph-tp22377522p22377522.html Sent from the R help mailing list archive at Nabble.com.
2011 Oct 29
0
samba 3.5.6 & win2k8 r2, session request fails
Hi I've been trying to join a debian6 (IP: 172.16.0.180) box to a win2k8 r2 active directory (ORCHARD, IP: 172.16.0.200), without much success. The settings for samba and kerberos are correct: - and kinit works fine The error string returned is: 'failed to lookup DC info for domain 'ARIAS.INT' over rpc: The network name cannot be found'
2008 Dec 26
2
question about SNA in R, thanks!
Dear colleagues, I'm trying to have a look at the Assortative and Disassortative ( http://en.wikipedia.org/wiki/Assortative_mixing) of the network I have. But it seems that the igraph hasn't mentioned that yet. I have to get the in/out degree of the vertices of each edge and calculate the Pearson's Correlation coefficient which seems to be quite a huge task for me. :( So I wonder if
2011 Oct 13
2
boxplot
hello I want to make a boxplot with diferents rows and also include a column to sort into two groups to each of the other columns my  date set looks like this: 4        5        6        7        8        site 23    56        41      45    63         C 21    89        42      10   63        E 32    45        14      17    96        E 45    74        13      63    41        C    68    32   
2009 Apr 30
3
Curved arrows
I'm trying to draw an arrow with a curved shaft on the graph as a straight one looks messy on a detailed graph. I've looked in arrows but it doesn't seem to give an option. larrows doesn't look much more promising. I had a look in the archive and couldn't find anything. Any thoughts? Thanks Paul -- View this message in context:
2016 Feb 21
3
Streaming MOVE commands
Hello Timo, Timo Sirainen <tss at iki.fi> writes: > Thanks, looks like this was broken with Maildir and mbox formats. It > also caused expunges in some other situations to be lost. Fixed: > > https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b827 Thanks a lot for the fix, testing it now! Is this patch suitable of being backported to 2.2.13? (Debian
2001 Dec 20
3
OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
Hi, Trying to install the Solaris package I made after configure/compilation under Solaris 8. My configure settings --------------------- OpenSSH has been configured with the following options: User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /usr/local/etc Askpass program: /usr/local/libexec/ssh-askpass