similar to: xyplot {lattice} bug causes crash (PR#2370)

Displaying 20 results from an estimated 20000 matches similar to: "xyplot {lattice} bug causes crash (PR#2370)"

2004 Jul 05
1
date Axes and formats in lattice plots
All, I have some data of animal movements that I'm plotting using xyplot() from lattice. I want to have the date (class POSIXct object) on the Y-axis and the animals longitude on X-axis. Eg. xyplot(date ~ longitude, groups = animal, data = my.data) with data like: animal ptt year month day lon date 125 03P0014 13273 2003 7 10 150.38 2003-07-10 14:03:48 126
2004 Apr 16
7
Turning windows screen buffering on and off
All, Does anyone know if there is an option I can set to turn screen-buffered output on and off with the win32 rgui? (Apart from the point and click method). I am running some simulations where it is useful to watch output but it gets mildly tiresome having to manually switch things on and off via the gui. Thanks Toby. > version _ platform i386-pc-mingw32 arch
2004 Aug 10
1
date axes and formats in levelplot
Hi all (and particularly Deepayan), A while back Deepayan helped me with the query in the text below (thanks again). Specifically it was about changing the way that dates plotted on the axes of lattice plots. While this works using xyplot, everything comes apart when I use levelplot. The axis labels on the date axis are shown as the integer representation of the date (number of seconds since
2003 Aug 25
1
ODBC Oracle access
Hi all, I'm having trouble connecting to an oracle database using RODBC under winXP. Unfortunately I can't really send a reproducable error as the initial call to odbcConnect seems to hangs R and I have to kill the session. I have been using RODBC to sucessfully connect to an MS Access DB that has tables linked through to the oracle database in question and that seems to work OK but it
2004 Sep 14
2
R CMD SHLIB setup problem...
All, When I try and compile a shared library (on WinXP) I get the following error: E:\data\proj>R CMD SHLIB toy_dll.c Makevars:1: *** missing separator. Stop. Has someone else had this error and fixed it? This code compiles and works fine on Linux (fedora core 2). Everything was working fine under R1.8.1 but I've broken something when I upgraded to R1.9.1. So I am assuming
2003 Feb 03
2
plot.gam for glm objects.
All, I was wondering if someone had come across the problem of producing partial regression plots for glm objects in R? When using Splus in the past I have passed glm objects to the plot.gam function. To my knowledge this functionality isn't included in R ( I would be happily corrected here) and if someone had some code floating around to do this it would save me re-inventing wheels etc.
2002 Aug 20
1
Jpeg files dynamically but multiple figures (e.g xyplot (grid/lattice))...
Dear List, Some days ago, it was posted in this list a question regarding "How to generate graphics (jpeg) files dynamically". Although it was responded, there is a particular case in which I do not find the rigth solution. My question also goes in the same direction but for the particular case of generating jpeg/bmp or png files when using xyplot (grid/lattice libraries) and the
2008 May 13
0
add horizontal line "(ABLINE(V=))" to xyplot lattice
> In a lattice plot like this: > > win.graph() > xyplot(tmx~frequ|as.factor(as.numeric(spf)),groups=as.factor(blm), > data=tmx,type="l",pch=16,xlab="frequency (N)",ylab="Area held (ha)", > auto.key=list(blm,points=F,lines=T,title="Blm factor",cex.title=0.7, > cex=0.7,corner=c(1,1)),main="Mangroves target=1573ha",layout=c(2,3))
2007 Jul 12
3
Basic_auth questions
How do you make get the page when using basic_auth? Below is code, I am getting a 401 error. I am not sure if the basic _auth comes before the agent.get. I will appreciate any help. require ''mechanize'' require ''logger'' agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) } page = agent.get(''https://brewx.qualcomm.com/developer'' )
2004 Sep 20
1
findInterval in compiled code.
Hi all, I am writing some C code where I want to use the findInterval function documented in "Writing R extensions/Utility functions". i.e. the C-version not the R version. It all compiles but the shared library is causing seg-faults and I'm obviously stuffing something up. Has anyone got any examples of calling this function they'd be will to share? I've searched through
2006 Oct 13
3
Adding per-panel text to panel strips in lattice xyplot
I would like to add auxiliary information to the bottom of two strips on each panel that comes from a table look-up using the values of two variables that define the panel. For example I might panel on sex and race, showing 3 randomly chosen time series in each panel and want to add (n=100) in the bottom strip to indicate the 3 curves were sampled from 100. Is there a not-too-hard way to do
2003 Jan 10
3
Message Command
From the smb.conf help document regarding the "message command" field:- >You could make this command send mail, or whatever else takes your fancy. >Please let us know of any really interesting ideas you have. First, my question:- Does Samba do anything in particular with the standard output of the program specified here? What would it take to have it WinPopUp-ed back to the
2002 Apr 17
1
No output from (lattice) xyplot called within loops
Hello >From the following script I received a grafic output when I called: - xyplot.test( 'green3' ) - call.xyplot.test( 'blue3' ) I did NOT receive a grafic output when I called: - loop.xyplot.test( 'red3' ) What's the Problem? NB: I am using R 1.4.1 on Linux. --------- START OF SCRIPT ---------------- n <- 1000 x <- seq( 1, n ) y <- rnorm( n )
2010 Oct 17
1
lattice xyplot - formatting of multiple Y variables when using subgroups
Hi all, Using xyplot I want to print to Y variables (y1, y2) versus X, conditional on the group. How can I obtain a line (type="l") for one relationship (ie. y1 ~ x) and points (type="p") for the other (y2 ~ x) ? library(lattice) # create some sample data df<-data.frame(group=as.factor(c(rep("a",4), rep("b",4))), # grouping variable for conditional
2006 Jul 04
1
coloring individual points in lattice xyplot
If I wish to color groups in xyplot I can do this: library(lattice) x <- 1:10 y <- cbind(x, x+1) xyplot(y ~ rep(x,2), group = col(y), col = 1:2) How do I color different points differently within a group. For example, I want to produce this plot (except that I only want to have two groups, not 11): xyplot(y ~ rep(x,2), group = c(rep(1, 10), 2:11), col = 1:11) I am
2006 May 12
1
superpose two variables in lattice/xyplot
Dear R users, I try to use xyplot() to display two different response variables from the same dataframe per panel, but don't succeed: xyplot(ptot.seaslog ~ vmcwit | seas, data=reeks, as.table=TRUE, panel = function(x,y){ panel.xyplot(x, y, ylim=c(0,1)) panel.superpose(x=reeks$vmcwit, y=reeks$ptotbin, panel.groups = "panel.xyplot",
2007 Oct 09
2
lattice/xyplot: horizontal y-axis labels with scales(relation="free")
I would like to create an xyplot with varying y-axis limits and horizontal labels at the y-axis tickmarks. The following does not seem to work, although I think it should, going by the documentation for par. R version 2.5.1, Windows XP Prof. Thanks for a clue. Andreas Krause library(lattice) # axis labels for y-axis are horizontal xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris) #
2003 Sep 09
2
lattice.xyplot: adding grid lines
Hallo, I'd like to add grid lines to a lattice graph having 2 series of Y data. See these 2 examples: data(iris) [1] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", ) [2] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales =
2008 Aug 08
1
Lattice: regression lines within grouped xyplot panels
Dear community, I am looking for a possibility to draw 'regression lines' instead of 'smooth' lines in grouped xyplots. The following code should give you a small example of the data structure. library(lattice) data(Gcsemv, package = "mlmRev") # Creates artificial grouping variable ... Gcsemv$Groups <- ifelse(as.numeric(as.character(Gcsemv$school))>65000,
2012 Mar 10
1
Help on subgraphs in xyplot of lattice library
Dear All, I would like to ask a question on how to do overlay plots in each subgraph of xyplot. 1. I did simulations for m=1000, 2500, 5000, 10000, as the sample sizes. 2. for each sample size value m, 4 graphs are generated; each graph contains overlayed comparisons between 4 methods, 3. now I want put them into a 4-by-4 plot by xyplot, i.e., 4 sample size values, each of which has 4 plots.