Has anybody else experienced something like the example below? Any clues about where I could start looking? Thank you in advance, Giovanni> version_ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 6.2 year 2003 month 01 day 10 language R> library(lattice) > example(xyplot)xyplot> data(quakes) xyplot> Depth <- equal.count(quakes$depth, number = 8, overlap = 0.1) xyplot> xyplot(lat ~ long | Depth, data = quakes) Bus error -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph: (479) 575-6324, 575-8630 (fax) ] [ http://definetti.uark.edu/~gpetris/ ] [__________________________________________________]
>>>>> "Giovanni" == Giovanni Petris <GPetris at uark.edu> >>>>> on Mon, 3 Feb 2003 08:36:06 -0600 (CST) writes:Giovanni> Has anybody else experienced something like the example below? not recently. Could it be that your version of the `grid' package (which is loaded by `lattice') or `lattice' are incompatible (i.e. older than) to your R version? After library(lattice), use .path.package() to see where it was loaded from. Giovanni> Any clues about where I could start looking? If it's not the above, and since you are on a unix system, start R inside the debugger. You then will hopefully see in which call the problem occurs: R -d gdb run library(lattice) ## .... The "Bus error" should leave you inside gdb, where you can enter `bt' to get the [b]ack[t]race of function calls. More details on using the debugger are in the R-FAQ and "Writing Extensions.." Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <><
> From: Martin Maechler [mailto:maechler at stat.math.ethz.ch] > > >>>>> "Giovanni" == Giovanni Petris <GPetris at uark.edu> > >>>>> on Mon, 3 Feb 2003 08:36:06 -0600 (CST) writes: > > Giovanni> Has anybody else experienced something like the > example below? > not recently. > Could it be that your version of the `grid' package (which is > loaded by `lattice') or `lattice' are incompatible (i.e. older > than) to your R version? > After library(lattice), use > .path.package() > to see where it was loaded from.This brings up (IIRC) a topic that was discussed on R-devel a while ago: Version checks for required packages. Is this feasible? Seems quite worthwhile to me... [...] Cheers, Andy ------------------------------------------------------------------------------
On Mon, 3 Feb 2003, Liaw, Andy wrote:> > From: Martin Maechler [mailto:maechler@stat.math.ethz.ch] > > > > >>>>> "Giovanni" == Giovanni Petris <GPetris@uark.edu> > > >>>>> on Mon, 3 Feb 2003 08:36:06 -0600 (CST) writes: > > > > Giovanni> Has anybody else experienced something like the > > example below? > > not recently. > > Could it be that your version of the `grid' package (which is > > loaded by `lattice') or `lattice' are incompatible (i.e. older > > than) to your R version? > > After library(lattice), use > > .path.package() > > to see where it was loaded from. > > This brings up (IIRC) a topic that was discussed on R-devel a while ago: > Version checks for required packages. Is this feasible? Seems quite > worthwhile to me...It's not feasible. If package A is upgraded and makes package B need an upgrade, there is no way for package B's maintainer to anticipate this. Now one could be conservative and have B require exactly one version of A, but then upgrading A makes B unusable. (The latter is what has happened a few times with ghostscript and gsview/windvi.) I have suggested before that grid be more closely integrated with R, and become a base package. Then grid would only be changed when the R version changes, and the critical incompatibility goes away. Brian -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595