Displaying 20 results from an estimated 10000 matches similar to: "problems writing graphics"
2010 Sep 21
5
Combined plot: Scatter + density plot
Hi,
in order to save space for a publication, it would be nice to have a
combined scatter and density plot similar to what is shows on
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=78
I wonder if anybody perhaps has already developed code for this and is
willing to share. This is the reproducible code for the histogram
version obtained from the site:
def.par <-
2002 Sep 23
3
Problems with tcltk package
Hello listers,
I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to
load the Tcl/Tk package I get this error:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
Can someone help me, please?
Thanks,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2012 Nov 27
1
Plot from a jpeg
Hi all,
I know that I can for instance draw to plots in one using
nf<-layout(matrix(c(1,2),1,2,byrow=FALSE))
Imagine I have 3 files:
plot1.jpeg
plot2.jpeg
plot3.jpeg
Anyone knows if I can read them and put on one colum and three rows reading
directly from the jpeg file?
Many Thanks
[[alternative HTML version deleted]]
2006 Sep 28
3
complex plots using layout()
Dear r-help,
I am trying to plot several scatter plots with marginal histograms on
one page. Ideally, a page is equally divided into 4 figure regions.
Within each figure region, a scatter plot with marginal histograms will
be plotted.
I followed Dr. Paul Murrell's code released online to successfully plot
the scatter plot with marginal histograms. The code applies "layout()"
to
2007 Sep 27
1
windows device transparency issue
I read in a thread in r-help today that the windows device in 2.6 supports
transparency, so I tried an example and had some issues. The density plots
should be filled with transparent color in the following example (similar to
the points), however the color is "fully" transparent. This works in the
Cairo device, but not in the windows device.
Thanks,
--Matt
Matt Austin
2011 Jul 19
1
Lattice plot problem outputting to jpeg
Hi.....I am relatively new to R but was quite pleased with myself at having
generated a series of lattice plots as PDFs. I was very surprised when
plotting these out as jpegs (or png or tiff) that the strip title
information above each lattice plot vanished. The pdf was fine. Has anybody
any ideas? I can't add an image as the information is sensitive.
Many Thanks
Steve Creamer
Here is the
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2003 Oct 01
1
Acces violation ???
Dear R-listers,
I have created a "dll" and I call it from a R function. However R stops and
shows the message:
"Unhandled exception in Rgui.exe (R.DLL): 0xC0000005: Access Violation"
I get this error in other situations and I solved it verifying that all
parameters are called fine. (e.g., double precision -> as.double, integer ->
as.integer,...). I have verify this.
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
Hi,
I have just upgraded from the 1.8.1 to the 1.9.0 version of R, and have some trouble to run RWinEdt from the .Rprofile file (in the
user folder). The script is:
library(MASS)
library(lattice)
cat("Load editor?(y/n default = y): ")
nf <- as.character(readLines(n = 1))
if ((nf=="y")|(nf=="Y")|(nf=="")) {library(RWinEdt)}
rm(nf)
When run at start,
2006 Feb 22
2
[PATCH] don''t require ebtables in the host kernel
The network-bridge script fails when setting a few sysctls
which are only available if ebtables is present in the host
kernel. Fix by ignoring the return value of the sysctl command.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Index: xen/tools/examples/network-bridge
===================================================================
--- xen/tools/examples/network-bridge (revision 991)
2007 Sep 19
3
layout function for several plots
Dear all
I try to print 9 plots on a page, arranged as the code shows below.
nf <- layout(matrix(c(1,0,2,0,0,3,0,4,0,5,0,6,0,0,0,0,7,0,8,9), 10,2))
layout.show(nf)
but when I try to plot, an error message
Fehler in plot.new() : Grafikr?nder zu gro?
appears
to verify p.e. with
plot(runif(10:1))
i tried with plot(runif(10:1), ann=F) to produce more space, but neither.
The second
2002 Jun 11
3
show messages during a long process
Hi,
I have a function which takes some time to execute (20 sec.) and I want to
show the progress of the execution with simple messages such as "10% done",
"20% done", ... (with a simple "cat" function). The problem is that all the
messages appear together when the execution of the function is over. How can
I show each message at their corresponding time?
Thanks,
2016 Feb 26
4
[PATCH 1/5] fat: fix minfatsize for large FAT32
Hi Ady,
Your insightful post prompted me to to a little bit more digging as to
how the Ridgecrop algorithm computed its FAT size, with the result of my
investigations presented below.
NB: For those who don't want to go through this whole part, there's a
TL;DR near the end.
For reference, the computation of the FAT size all done in the
GetFATSizeSectors(), the code of which is at [1]
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
Hi all,
Sorry for the inconvenient about the previous post. The files were not
attached. So I put them here again.
I am a newbie in LLVM and I am trying to replace the function like:
old function || new function
==============================
=========
int haha(int a) { int haha(int a, char* ID) {
===>
}
2011 Mar 12
1
libvirt configuration problem
Hi ,
I am getting errors while configuring libvirt to compile it from source.
There is a error in libnl
checking for UDEV... no
checking whether to compile with macvtap support... yes
checking whether to compile with virtual port support... no
checking for LIBNL... no
configure: error: libnl-devel >= 1.1 is required for macvtap support
I have already installed the libnl library in /lib/
2007 Apr 18
2
[Bridge] Can bridge be 'seen' by ip6tables?
Hello!
Recently,I¡¯m doing a security project based upon ipv6.I have built up a bridge to support a transparent firewall.(my system is Fedora Core 2,kernel 2.6.5).In this system ,the version of the iptables is 1.2.7,which does not support ipv6(I have tried it).Thus,I download a new version and test it.
The iptables functions in bridge mode,but the ipv6 doesn't work well.In the
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
Here is a programming question. The code I am using is quite slow and I
was wondering if there is a way to get rid of the for loop.
I am dealing with "interaction" in 2x2 table, and am using Edwards's G_I
(Likelihood, p. 194).
I label the cells in the table as follows
stim response
"y" "n" total
--------------------------------
y hit miss nsignal
2012 Mar 30
2
error message in logistic regression
Hi
I am trying to do a logistic regression on a small data file yet when i get
up to plotting the first set of graphs instead of 4 I only get one graph,
and some error messages. Yet it still looks like the program is doing
something due to the "blue wheel" of the mouse. Below is the script copied
from R and where I get up to before the message occurs. The data set is
based on how
2008 Dec 10
2
read.*: How to read from a URL?
The question is how to use a URL in place of a file= argument for
read.*.functions that do
not support this internally.
e.g., utils::read.table() and her family all support a file= argument
that can take a URL
equally well as a local file. So, if I have a file on the web, I can
equally well do
> langren <- read.csv("langrens.csv", header=TRUE)
> langren <-
2002 Mar 13
1
win.metafile and multiple plots
I'm having difficulty using the win.metafile command. I'd like to place
three plots in one window and then save the window as a metafile. The
commands I want to use are:
win.metafile("mike.emf",width=3,height=2,pointsize=10)
nf <- layout(matrix(c(1,2,3), 3, 1), heights=c(1,1,1))
layout.show(nf)
plot(rnorm(10))
plot(rnorm(10))
plot(rnorm(10))
dev.off()
However, I get the