similar to: problem with png()

Displaying 20 results from an estimated 3000 matches similar to: "problem with png()"

2012 Jun 05
2
par and complex graph
Dear R-Users, I'd like to have some tips about printing graph. I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5)); par(mar=c(0.5,4, 0.5, 0.5)) But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can I print more than one graph per page, when I work with this "elaborated" graph?Many
2008 Jul 08
2
Change in behaviour of sd()
Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstrate my problem. > a <- array(c(1,2,3,4,5,6,rep(NA,6)),dim=c(6,2)) > apply(a,2,sd,na.rm=T) In R2.6.0 this gives (which is what I would like) [1] 1.870829 NA In R2.7.1 it gives the following error
2008 Oct 02
1
possible bug in function 'var' in R 2.7.2?
Dear R-Help, I have used R2.6.0 until I recently installed also R2.7.2 (see details below) In R 2.6.0, the following script using the function 'var' (cor(stats)): x.test <- c(NA, NA, NA, NA) var(x.test, na.rm=T) gives the output: NA In R2.7.2 the output of the same script generates an error message and stops R: 'Error in var(x.test, na.rm = T)
2005 Dec 08
3
Finding all possible partitions of N units into k classes
Dear useRs! I would like to generate a list of all possible (unique) partitions of N units into k classes. For example, all possible partitions of 4 units into 2 classes are (I hope I have not missed anyone): 1,1,1,2 (this can be read as {1,2,3},{4}) 1,1,2,1 1,2,1,1 2,1,1,1 1,1,2,2 1,2,1,2 1,2,2,1 The partitions 1,1,2,2 and 2,2,1,1 are the same and are therefore not two unique
2007 Nov 08
2
centile reference chart / clildren growth chart - what package/method to use
We are constructing growth charts (age/weight and age/length) for children with diagnosis that impacts weight/length. But we we don't know how to use R for producing growth charts. We are collection data of Age, Weight and Length. The data are used to produce diagnosis-specific Growth charts (like the CDC Growth Charts:
2004 Apr 20
1
FW: Aligning different trellis plots
All -- I am trying to combine trellis plots and having a couple of small problems. I'm trying to combine two trellis plots that display data of different kinds. Each has a single row of plots, and I'd like to display them over one another. So I use print(plot1, split = c(1,1,2,1), more = TRUE) print(plot2, split = c(1,2,1,2)) I end up with two minor issues. First, I'd like to
2007 Oct 31
1
reversing the scale on ggplot
Dear All, I am trying to build a simple ggplot, but where the scale is reversed, i.e. the largest numbers are on the bottom. An example of the code I am using is > plotdata<-data.frame(x=1:10, y=runif(10)) > plot<-ggplot() > plot<-plot+layer(data=plotdata, mapping=aes_string(x='x',y='y'), geom='point', stat='identity', size=4) >
2007 Nov 21
1
R 2.6.0 Error in X11() : could not find X11 fonts
All- I have rhel4 and just installed R2.6.0. The error suggests it cant find the font library. I have failed to trouble shoot. Can anyone help me? Thanks James Correia Jr Post Doc PH: 372-6463 james.correia at pnl.gov "Wisdom. Strength. Courage. Generosity. Each of us are born with one of these. We must find the other three inside of us." -from "Into the West"
2008 Feb 04
1
r-release Windows x86_64
I was just looking at the daily checks and it seems the "r-release Windows x86_64 (32-bit)" column is running R2.6.0. Is that correct? Possibly related, an error is being flagged in that column for TSMySQL, which appears to be a problem that should be caught in the other columns too. It is something that has been fixed in my sources for awhile. (I think it was fixed in the
2007 Dec 10
1
help with fatal error message
Dear helper, After some cleaning, I found out that I cannot open my R2.6.0 console with message: "Fatal error: unable to restore saved data in .Rdata", and every time I retry it just kick me off. I am wondering if I still be able to retrieve the data that I've been working for a month. I have installed the new R2.6.1 and it has no problem to open, only there is nothing in it I also
2007 Nov 01
1
ggplot2 - expand range?
Dear UserRs, I am trying to use systematically ggplot2 for most of my plots, but I am fighting some lack of documentation, which I try to overcome. I want to build a scatterplot where the axes cross exactly at (0,0). I tried using scale_y_continuous(limits=c(0,10)), but I always get an extra space at the bottom of the axes. The code I used is below. > plotdata<-data.frame(x=1:10,
2007 Nov 14
2
adding in missing values in a sequence
Hi, I have a data frame with two columns of data, one an indexing column and the other a data column. My issue is, this data frame is incomplete and there are missing lines. I want to know how I can find and add data into these missing lines. See example below ## Example data data <- data.frame(index=c(1:4,6:10), data=c (1.5,4.3,5.6,6.7,7.1,12.5,14.5,16.8,3.4)) index data 1 1
2012 Oct 24
6
Rebuilding indexes fails on inconsistent mdbox
Hello all, I have a problem with an incosistent mdbox: Oct 24 10:43:23 two dovecot: imap-login: Login: user=<...>, method=PLAIN, rip=..., lip=..., mpid=4977, TLS Oct 24 10:43:23 two dovecot: imap(listen at mjh.name): Error: mdbox map .../mdbox/storage/dovecot.map.index corrupted: Unexpectedly lost INBOX uid=638 map_uid=809891 Oct 24 10:43:23 two dovecot: imap(listen at mjh.name): Error:
2010 Aug 25
5
lattice help required
hello, i want to stack two lattice plots beneath each other using one x-axis and sharing the same text-panels, like: ##################################################################### library(lattice) y1 <- rnorm(100,100,10) y2 <- rnorm(100,10,1) facs<-expand.grid(Sites=rep(c("Site I","Site II"),25),Treatment=c("A","B")) pl1<-dotplot(y1 ~
2010 Feb 18
1
Graphics Question
Hello All, I'm having some issues controlling graphics in R. I was wondering if anyone may help me tackle this problem: Given a data frame "X" with variables "Year", "Factor" (w/ n groups), and "Freq" How do I create a single graphic with the following plots aligned in a vertical stack? 1. box plot in the fashion Freq~Year|Factor 2. box plot
2007 Dec 14
1
RODBC, optimizing memory, "Error: cannot allocate vector of size 522 Kb".
I am using RODBC and "odbcConnect". I have successfully used odbcConnect to extract "modest" amounts of data from SQL. For convenience, (and maybe speed?) I wish, if possible, to extract larger amounts of data in a single query. (I am running R2.6.0 under a machine running Windows Small Business Server with 3mb of RAM. I run gc() prior to attempting the query. I have
2008 Apr 28
1
tips to speed up sqlSave with MS SQL Server?
I am using R2.6.0 on “Windows Small Business Server 2003”. I apologize if the answer to my question is available…I have searched but have not found anything that I thought helped me. I have a dataframe that contains ~4.5 million rows and 5 columns. (see memory and df details below). I am trying to save the dataframe to a MS SQL Server database, using the “sqlSave” function. The code
2008 Jun 16
3
Apache rewrites with mongrel
I?m knew to rewrites on apache in combination with mongrelcluster. It?s urgend for me, because the server has an loadaverage about 10 :-((((( Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer ist apache I think, that my rewrites are not correct. Please can anybody check my rewrites ? That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf <Proxy
2008 Oct 05
2
trouble with character \u00e2
Greetings R-wizards: For historical reasons I have filenames with the character "?" and have successfully used "\u00e2" in its place, with the hoped-for result on all my on-screen plots. However since R2.7.0 I have trouble with savePlot() when the file name includes that character as it does in this example: savePlot(paste("diagnostic ? vs a ", file.label,
2018 Sep 13
1
dovecot + centos 7 + internal ca + hostname change
Not sure if this is dovecot or not but can find very little ie no info around on this ... and added the pem file into /etc/pki/ca-trust/source/anchors and run udpate-ca-trust .. all works ok .. (this is on centos 7 btw) So wanted to change the hostname away from ip-x-x-x-x to something a little bit more descriptive .. but then kaboom .. doesnt work any more and the following errors are seen.