similar to: invalid graphics state using dev.print (fwd)

Displaying 20 results from an estimated 1000 matches similar to: "invalid graphics state using dev.print (fwd)"

2006 May 09
1
2.3.0 problems
Hi, Since the installation of R-2.3.0 I have the following problems: 1. Startup .First() produces ------------------ Started in /home/woodstock/hoffmann/Projects/RtoZ/Windwurf/R with '~/R/.Rprofile' edited on 2006-04-28, 11:08 During startup - Warning messages: 1: use of NULL environment is deprecated 2: use of NULL environment is deprecated 3: use of NULL environment is
2004 Jun 16
1
start-up problems
Hi, After some reading and experimentation I found that I cannot solve this problem: 1. I am starting R and check: > system("pwd") /home/woodstock/hoffmacw/R/test > system("echo $HOME") /home/woodstock/hoffmacw > system("echo $R_PROFILE") /home/woodstock/hoffmacw/R > system("ls $R_PROFILE/.Rprofile") /home/woodstock/hoffmacw/R/.Rprofile
2004 Jun 16
1
dev() error
I don't know what I have done!! When I try to invoke a display function via plot(), image() or whatever, my X11 window doesn't appear. I have tried to type X11() but the following error message is displayed: > x11() Error in X11(display, width, height, pointsize, gamma, colortype, maxcubesize, : unable to start device X11 In addition: Warning message: unable to open connection
2004 Jan 07
1
Sweave and X11 on OSX 10.3
Hi - I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I find that, if Apple's X11 application is not running, Sweave gives an error when it wants to create a pdf or eps figure. E.g., in the package's own example-1.Snw file a boxplot is created at chunk 2: <<fig=TRUE,echo=FALSE>>= boxplot(Ozone ~ Month, data = airquality) @ Normally this will create
2005 Jul 19
1
S4 Dispatching
Is it possible for S4 to (continue) dispatch to a class created during dispatching? The code below doesn't work; is this not possible or have I ommitted something? Concept was to create a SEXP with R_AllocatePtr, give it a class attribute, and continue dispatch. Example code below omits multiple parameters that can be different types. Essentially, any parameter would be converted to an
2000 Jul 18
5
X11 & dev2bitmap
Hi, I am trying to put some graphics I have generated from R on a webpage using dev2bitmap to create a bitmap, .BMP, file. When I look at my notes from 2 or 3 months ago I was successfully able to put the ACTIVE device plot result into a bitmap file using a command such as: dev2bitmap("InsectSpray.BMP") Job done! Now when I try the same command, I get the following: >
2009 Mar 24
1
segfault when running heatmap()
Hi, I was wondering if someone in the mailing list has any insight into this segfault error that I consistently find when running a script containing heatmap() in R 2.8.1 and 2.8.0 on a Linux 64-bit machine. Some points: 1. This occurs when running heatmap(). 2. Interestingly, if I source() the script or copy and paste the script in its entirety, this error occurs. However, if I run the
2004 Sep 21
2
png problem
Dear R-users, I have a small problem with the function png(), when used with the argument colortype="pseudo.cube". > png("toto.png", colortype="pseudo.cube") > image(matrix(rnorm(10000), 100, 100)) > dev.off() R is blocked at the last command (R does not print any prompt after the last command). Nothing is written in the file (Gimp indicates that the
2005 Oct 18
1
RMySQL problems
I get the following error trying to connect to a MySQL database: > library(RMySQL) Loading required package: DBI > drv<-dbDriver("MySQL") > con<-dbConnect(drv, user="hothand", password=xxx, host="localhost", dbname="hh03"); Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not connect hothand at localhost on dbname
2006 Apr 19
2
par(tmag) question
Dear list, I'm trying to understand the graphical parameters by a systematic exploration of the par() function (if you are interested by the result it's here http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in french but it's pure R code under Sweave). I have a problem with par(tmag) illustrated by the following code:
2006 Mar 09
1
lsa and Rstem?
Dear r-helpers, I can't get lsa to run because: > library(lsa) Loading required package: Rstem Error in library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) : 'Rstem' is not a valid package -- installed < 2.0.0? In addition: Warning message: cannot create HTML package index in: make.packages.html() > install.packages('Rstem') Warning in
2006 Mar 16
3
sub returns garbage (PR#8687)
Full_Name: Todd Bailey Version: 2.1 OS: Mac OS-X 10.4.3 Submission from: (NULL) (87.112.79.124) sub returns garbage in some strings when replacing something with nothing and fixed=TRUE. For example: > a=c('hello','hello'); sub('lo','',a,fixed=TRUE) [1] "hel" "hel\0\0" > a=c('hello','hello');
2005 Oct 26
1
Pb encountered with demos
Hi all, I've just installed R on my Mac & PC. The base demo run fine.. But I'm encountering several pb with some packages (installed using CRAN binaries using the menu) - Lattice: > demo(lattice,package='lattice') demo(lattice) ---- ~~~~~~~ Type <Return> to start : > require(grid) [1] TRUE > old.prompt <- grid.prompt(TRUE) > old.settings
2005 Oct 29
1
dyn.load() error: bad external relocation length
R-helpers, Is there an easy way to call an external (C) program using .C or .Call without including the code in a package. I know how to do it using system(), but that doesn't seem to be a permanent or portable solution. Initially I tried: .Call('filepath.to.c.function', arg1) and got this error: Error in .Call("filepath.to.c.function", "arg1", :
2000 Apr 07
1
x11 colortype problems ('gray' is broken?) (PR#512)
Hi, I occasionally run out of color in my X11 terminal. At this point, R will issue this error message: Error: X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray". An immediate x11(colortype="pseudo.cube") doesn't work as the colortype seems to be shared among the different x11 plotting windows. So I have
2005 Jul 13
1
unexpected par('pin') behaviour
hi everybody, I noticed the following: in one of my scripts 'layout' is used to generate a (approx. square) grid of variable dimensions (depending on no. of input files). if the no. of subplots (grid cells) becomes moderately large (say > 9) I use a construct like ###layout grid computation and set up occurs here### ... opar <- par(no.readonly = T);
2005 May 18
1
source-only package, but still: Error: package 'simple' was built for powerpc-apple-darwin7.9.0
I have a number simple R functions written for the biologists I work with. These functions will evolve, and the documentation will get steadily better. I hope to put them in a package on a local webserver, along with lots of help files, so that the users can easily update their installation. The functions are pure R, with no compiled code, but alias, I cannot figure out how to build this
2006 Feb 01
1
R CMD check barfs at 'suggested' package
I have been running R CMD check for the first time on of our own packages, which otherwise builds, installs and runs just fine. The package depends on package akima and suggests package multtest; suggesting multtest is indicated because a) it loads a lot of other Bioconductor packages, very slowly, and b) it is only needed for one specific subroutine, which executes require(multtest)
2006 May 23
2
multiple plots with par mfg
Hi, I'm trying to add points to 2 plots on the fly using par(mfg=vector) so switch between them. However, the appropriate scales aren't switched when changing from one plot to another, e.g. par(mfcol=c(2,1)) plot(1,1, col="blue") # blue plot plot(1.2,1.2, col="red") # red plot points(1.1,1.1) # appears to bottom left of red point par(mfg=c(1,1)) #
2005 May 19
1
Problems installing wxRuby on Mac OS X 10.3.9
I tried to install wxRuby on my Mac, but I get the following error. g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags`    -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I.   -x objective-c++  -c htmleasyprinting.cpp htmleasyprinting.cpp: In static member function `static VALUE    WxHtmlEasyPrinting::PrinterSetup(int, VALUE*,