similar to: followup to graphics bug #414

Displaying 20 results from an estimated 6000 matches similar to: "followup to graphics bug #414"

1999 Feb 16
1
Missing tick marks bug on alpha solved
On some systems (alpha), tick marks don't appear on plots. The easiest way to see the problem is something like: > plot(0:1,axes=FALSE) > axis(1,1:2) The problem is in X11_Line(...) from .../src/unix/devX11.c, which is so short I've included the whole function below: static void X11_Line(double x1, double y1, double x2, double y2, int coords, DevDesc *dd) {
2000 Feb 07
0
graphics bugs: steep slopes and large values beyond ylim (PR#414)
Some of my students have uncovered some apparent graphics bugs in R. I think they may manifest slightly different on different platforms/ with different display devices (they sometimes report a Windows graph that looks OK but odd results on printing). I'm able to replicate similar problems on my Linux (RH 6.0) system. 1. abline() plots nothing, or a wrong line, when the slope is too
1999 Feb 16
3
graphics bug: type="l" (PR#120)
The following commands illustrate a problem with graphing relatively large data sets using the "line" option to plot: temp <- runif(200000) # or whatever other numbers you like; # same thing happens with a sine wave plot(1:200000, temp) # everything fine plot(1:200000, temp, type="l") # data gets cut off The number of points isn't crucial. The cutoff point
2001 Nov 15
3
pdf() behavior (PR#1174)
--0__=88256B050063F04C8f9e8a93df938690918c88256B050063F04C Content-type: text/plain; charset=us-ascii The attached script produces "Error in plot.xy ... negative length vectors are not allowed" when using pdf() but not when using postscript (). platform sparc-sun-solaris2.8 arch sparc os solaris2.8 system sparc, solaris2.8 status major 1 minor 3.1 year 2001 month
1998 Nov 11
0
Clipping and (device)_Text
I observed that my graphapp device (the one I used under Windows) behaves in a different way from the X11 device when a text(...) command is issued. My first example was using the Brian Ripley's tree package under Windows. After > data(iris) > ir.tr <- tree(Species~.,iris) > plot(ir.tr) > text(ir.tr) I had a "setosa" on the left with only half of the first 's'
2007 Jun 08
1
Location of xgraphics routines
Hi I have an application that uses the Xwindows graphics library. Things like XOpenDisplay XDrawLine XCreateSimpleWindow XDrawString and many more Under all the CENTOS 4.X systems these were automatically loaded. I dont have these loaded under my CENTOS 5 system. I get a heap of undefined references when I compile the code. Could someone tell me, point me, where these routines now reside on
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
I am currently attempting to install R (v0.62.3) on our DEC Alpha computer, and have solved one problem but now am having another: When issuing the 'make' (after ./configure), I get the error shown at the end of this output: ============================================================================ ======= cd main; make make[3]: Entering directory `/usr/local/src/R-0.62.3/src/main'
2007 Feb 11
1
Graphics driver test script?
Hi, 1. I started work on a metapost graphics driver a week or so ago and it is gradually taking shape. I'm building up my own test cases into a script as I go, but figured you may have a "canonical testing script" of cases a driver must handle? 2. The clipping function looks like being a tricky problem. It seems to me that the callers of the driver assume that clipping affects all
2004 Aug 19
1
Clipping of display in Lattice graphics
I'm baffled as to how the Lattice package achieves clipping. Would someone mind explaining this to me? Firstly, my attempt using "just" the grid package: x<-seq(0,3,by=0.3)/2.8 y<-seq(0,1,by=0.1) grid.newpage() grid.rect(gp=gpar(fill="pink")) vp<-viewport(width=0.8, height=0.8) pushViewport(vp) grid.rect(gp=gpar(fill="white")) grid.xaxis()
2012 Feb 03
1
ordering of factor levels in regression changes result
I was surprised to find that just changing the base level of a factor variable changed the number of significant coefficients in the solution. I was surprised at this and want to know how I should choose the order of the factors, if the order affects the result. Here is the small example. It is taken from 'The R Book', Crawley p. 365. The data is at
2001 Feb 25
2
Few questions concerning clipping
I noticed that clipping occurs in lossy audio compression even if there is no clipping in the original file (though the original file has peaks that are just below the maximum). I know that this happens due to all the filtering involved during compression, but I'm wondering just how audible this clipping is because I don't hear anything wrong. I mean, as things are now, is it safe to say
2001 Jul 29
2
Trellis graphics and clipping
Hi again folks, I seem to have got the trellis (lattice + grid) business working basically OK, in that I can get my 5x5 array of histograms laid out as they should be. However, there is a behaviour I can't see my way round. Even when displayed in the R Graphics Window, there is some clipping (the extreme top, bottom, left and right edges are not there, so that labels, and parts of numerical
2005 Aug 03
5
make error: X11/Intrinsic.h: No such,,,
Hi all, I'm trying to build R 2.1.1 on Ubuntu 5.04 i686-SMP. Configure goes well with: ./configure --with-BLAS --with-readline=no but once I run 'make', I get the following error: In file included from devX11.c:64: devX11.h:57:74: X11/Intrinsic.h: No such file or directory Any ideas? Thanks in advance, Jake
2007 Jul 24
4
Possible Bug
I''m trying to test some code that has validates each and I''ve got a very strange failure Mock ''Book_1027'' expected :store_with_privacy? with (#<Clip:0x1a99b96 @name="Clip_1025">) but received it with (#<Clip:0x1a99b96 @name="Clip_1025">) The Spec it "should check that a book can save a clip" do @user =
2006 Sep 05
4
Two submitted packages
## This example runs in R 2.3.1 and does not run in R 2.4.1. I am ## raising it here for two questions: one on how to debug functions ## inside a namespace, the other on how to control clipping. tmp <- data.frame(x=1:5, y=1:5, a=factor(c(1,1,1,1,1), levels=1:4)) xyplot(y ~ x, data=tmp, ylim=c(1.5,4.5), panel=function(x,y, ...) { cpv <- current.viewport()
2009 Mar 06
1
questions
Hello, I have some questions about the library. First, I would like to be able to get how many frames in a movie, skip to a given frame, and render one selected frame. Looking at the API, I see that there are functions for this in swfdec_sprite_movie.h. But I don't see how I can get to those functions starting from a swfdec_player. Second, there are some movies that are collections of
2006 Mar 10
2
Sharing of Libraries (S+ and R)
Hi, Can anyone please advise if there is a neat way to 'share' libraries of (previously developed) S+ code with R? Specifically, within S+ I can use the attach(what = "<Chapter Directory>", pos = 2) command, to retrieve previously developed functions and variables to position 2 in the search list. [Some may be intentionally masked by what's in the current working
2009 Jan 24
2
Is abline misbehaving?
Hi experts, I was graciously offered a function to enhance abline by restricting the extent of the line to less than the plotting region. This seems a useful idea, and it looked like the easiest way to program it was to set up a clipping region with "clip", draw the abline and then restore the previous clipping region. Let us call this function ablineclip. After quite a bit of
2009 Jan 24
2
Is abline misbehaving?
Hi experts, I was graciously offered a function to enhance abline by restricting the extent of the line to less than the plotting region. This seems a useful idea, and it looked like the easiest way to program it was to set up a clipping region with "clip", draw the abline and then restore the previous clipping region. Let us call this function ablineclip. After quite a bit of
2007 Jul 24
11
Mock or Stub strategy for validates_uniqueness_of
Hi, I''m a bit stuck with mocking a unit test of a join model with regards to a validates_uniqueness_of clause. I have class Book < AR:B has_many :clippings various validates_presence_of etc end class Clip < AR:B has_many :clippings various validates_presence_of etc end class Clipping < AR:B belongs_to :book belongs_to :clip validates_uniqueness_of :clip_id,