search for: lattice

Displaying 20 results from an estimated 3796 matches for "lattice".

2007 Jan 30
2
lattice: how to get 'lattice.theme'
I'm using lattice 0.14. As of version 0.5 the Changes says there is a global list called 'lattice.theme'. How can I access this? I have tried many ways, including options(lattice.theme) lattice.getOption("lattice.theme") get("lattice.theme", envir = .LatticeEnv) getFromNamespace("...
2004 Oct 06
6
lattice package for R 2.0.0
Dear all, I am trying to install packages with the new R 2.0.0. However for several packages, like MASS, lattice or R2HTML, I get an error like: > library(lattice) Error in library(lattice) : 'lattice' is not a valid package -- installed < 2.0.0? > However, I have just downloaded the latest versions from CRAN. As far as lattice is concerned, it seems that the Windows binary is not the late...
2004 Dec 15
1
RE: Lattice update error (PR#7423)
...of. Thanks. I've cc'ed this to r-bugs in case there is anything they wish to do about it. -- Bert Gunter > -----Original Message----- > From: Deepayan Sarkar [mailto:deepayan@stat.wisc.edu] > Sent: Wednesday, December 15, 2004 12:05 PM > To: Berton Gunter > Subject: Re: Lattice update error > > On Wednesday 15 December 2004 13:51, you wrote: > > Deepayan: > > > > I believe you are the lattice package maintainer and so should > > receive this: > > > > I just received the following error on trying to update the lattice > > pa...
2005 Sep 09
2
adding text to the corner of a lattice plot
Dear R community, I am using R 2.1.1 on Windows XP, package lattice Version 0.12-5, and want to add text (sort of a dat-stamp actually) to the lower left corner of a lattice plot, prefarably _after_ the plot has been created. Here is a simple example what I do in base graphics: # base graphics: > plot(rnorm(100), rnorm(100)) > mtext(as.character(Sys.Date())...
2007 Apr 26
2
evaluation in unattached namespace
Hi, I recently discovered this buglet in lattice: If lattice is _not_ attached, I get > lattice::dotplot(~1:10) Error in eval(expr, envir, enclos) : could not find function "bwplot" This happens because of this: > lattice:::dotplot.formula function (x, data = NULL, panel = "panel.dotplot", ...) { ocall <- ccall...
2008 May 06
2
Lattice problems / cannot load lattice
Hi, My problem is simple: since having updated the lattice package, I cannot load lattice anymore. If I type in the command 'library(lattice)' the loading fails with the following message: --- cut here --- Error in library.dynam(lib, package, package.lib) : shared library 'lattice' not found In addition: Warning messages: 1: In loadNa...
2003 Oct 27
3
Lattice: no grid name space
The following now occurs to me when I try to load lattice (R 1.7.1, debian stable): > library(lattice) Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : package `grid' does not have a name space Error in library(lattice) : package/namespace load failed I did an update.packages() as root recently. Any idea what's wrong?...
2011 Jun 09
1
Install R 2.14 From Source : lattice Error
...elopment version of R on Ubuntu 10.04 Revision: 56096 Last Changed Date: 2011-06-08 and the make command runs for a while, then I get : ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/local/lib64/R/library/lattice/libs/lattice.so': libR.so: cannot open shared object file: No such file or directory Error : package 'lattice' could not be loaded Error: loading failed Execution halted I'm not sure why it is referring to a file in /usr/local since I did ./configure --prefix=/home/darstr/tmp/R-...
2014 Jan 26
1
Trouble installing package in development version of R
Dear R-devel, I'm trying to get practice learning more about the internals of R so am experimenting with the development version. I successfully cloned the SVN repo and built and installed R. I am using 2014-01-23 r64861. However, I cannot seem to install the lattice package. I tried within R using install.packages and got the error sh: 1: 1: not found I then downloaded the tar.gz and tried it as follows: $ sudo R CMD INSTALL lattice_0.20-24.tar.gz * installing to library ‘/home/rjan/R/i686-pc-linux-gnu-library/3.1’ * installing *source* package ‘lattice’ ......
2006 Mar 01
2
lattice-Internal
Hi, The functions prepanel.default.bwplot() and lpretty() are not running in Deepayan's barley example concerning vertical bars with the lattice function barchart(). Why, is there a restricted use for the package lattice-Internal? Urs Simmen mailto:usimmen at dtc.ch
2007 Sep 27
1
crashing R through lattice
I have been crashing R while using lattice. My system consists of a Mac Intel, R 2.5.1, lattice 0.15-5, and I plot through the default quartz. R crashes after plotting several lattice functions. Has anyone else encountered this problem and does anyone know the cause, or a solution? Is this a lattice:mac, lattice:quartz, Lattice:me issue...
2006 Apr 18
1
levelplot
> I'm running debian unstable, and have been happy with the packages > that Dirk provides for unstable so far. update.packages() doesn't seem to > update lattice to 0.13. It's in a special directory (because it's not compatible with R 2.2) that update.packages doesn't know about (I think). > Perhaps email to r-sig-debian? Sounds like the proper way to go, so I'm CC-ing. I realise that this is a tricky situation: there are multiple cop...
2008 Feb 05
2
maps and lattice
Is it possible to place maps onto lattice plots? With basic plotting you can add a map to a plot library(lattice) long<-c(-69.2, -69.5, -70.1, -70.3) lat<-c(41, 41.5, 43.2, 42.8) plot(long, lat) map('state', c("massachusetts"),add=TRUE) but is it possible with lattice? library(lattice) factor<-c(1,1,2,2) xyp...
2008 Jan 18
3
Problems with lattice plot
Hello useRs, I have some problems when I try to plot a lattice. The lattice has 200 columns (X value) and 5 rows (Y value), with a total of 1000 squares. I want to plot this lattice with the squares having different colours according to a variable value. The variable I want to plot is cover value of a shrub, and it has values between 0 and 1. I want to...
2005 Mar 15
2
How to plot points as numbers/strings in lattice
Hello, I would be very grateful if anyone could help with what seems like a simple lattice task. I want to use xyplot, where the symbols for the plotted points are taken from another column in the data frame. So if the data frame looked like: a <- as.data.frame(matrix(data=c(1,1,10,2,2,20,3,3,30), nrow=3, ncol=3, byrow=TRUE)) a V1 V2 V3 1 1 1 10 2 2 2 20 3 3 3 30 you w...
2010 Nov 03
3
Lattice plots for images
Hello UseRs, I need help on how to plot several raster images (such as those obtained from a kernel-smoothed intensity function) in a layout such as that obtained from the lattice package. I would like to obtain something such as obtained from using the "levelplot" or "xyplot" in lattice. I currently use: >par(mfrow=c(3,3) to set the workspace, but the resulting plots leave a lot of blank space between individual plots. If I can get it to the lattice...
2013 Mar 12
2
Specifying point symbol fill colour in lattice xyplot keys
...no longer working for me, and I am wondering whether it's a bug or whether I've misinterpreted the documentation and have been relying on a feature wasn't intended. If the latter, can anyone suggest the correct way to do it? Here's an example of what I am trying to do: library(lattice) print(xyplot(y ~ x, data=data.frame(x=1:10, y=1:10), key=list(points=list(pch=21, col="blue", cex=3, fill="red")))) Only the key is of interest...
2007 Jul 30
1
duplicate DATE at in lattice scale handled differently from base graphics OR lattice numeric scales
When at, label chains contain duplicate at values, axis ticks are dropped. I believe this is handled incorrectly for Date ats in lattice 0.15-4 when compared to how it is handled for numeric, or for dates in base plot. This can result in mis-labelled axes in some circumstances. I have included executable examples. R: 2.5.0 numeric base plot: plot(1:10, axes=F); axis(1, at=c(2,4,4,6), labels=letters[1:4]) shows labels a, b,...
2008 Jan 11
4
lattice color problem with symbols: bug?
Dear useR's, I have a problem with the lattice plotting of some symbols: library(lattice) test<-data.frame(x=c(2,3,1,5),u=c(rep(1,2),rep(2,2)),g=c(rep(c(1,2),2))) xyplot(x~u,groups=g, data=test, par.settings=list( superpose.symbol=list(pch=c(22, 23),cex=c(1.7,1.6),col="black") ), key=list( text=list(c("t1&quo...
2008 Dec 01
1
Help with lattice graphics
Hi, I like the formatting and the appearance of lattice plots. But I have not succeeded in gettting the right format in my plots with the lattice package in one of my applications. In?the code shown below, I start by constructing a general data frame and show my attempts with the lattice package commands. After that, I use the graphics package and show...