Displaying 20 results from an estimated 8000 matches similar to: "Lattice: no grid name space"
2018 Sep 04
2
[FORGED] Re: plotmath degree symbol
Hi
Thanks for that, but I still cannot confirm on ...
sudo docker run -v $(pwd):/home/work/ -w /home/work --rm -ti 
rocker/r-ver:3.5.1
Could you please read the comments within the "Cairo Fonts" section of 
the ?X11 help page, in case that offers some explanation.
Paul
On 29/08/18 02:15, Martin M?ller Skarbiniks Pedersen wrote:
> On Fri, 24 Aug 2018 at 19:53, Edzer Pebesma
>
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger,
I can now plot with increased font sizes. However, jpeg still does not
reproduce these, nor does it show up in high quality. What I would like
to do is produce some highresolution jpegs.
Any help would be appreciated
Thanx
Herry
R2.4 on Mandriva 10.2 linux.
Dr Alexander Herr
Spatial and statistical analyst
CSIRO, Sustainable Ecosystems
Davies Laboratory,
University
2018 Aug 24
4
plotmath degree symbol
In plotmath expressions, R's degree symbol, e.g. shown by
plot(1, main = parse(text = "1*degree*C"))
has sunk to halfway the text line, instead of touching its top. In older
R versions this looked much better.
-- 
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48151 Muenster, Germany
Phone: +49 251 8333081
2016 Jun 09
1
cumsum method in Math group
When running
a = runif(10)
class(a) = "foo"
Math.foo = function(x, ...) {
    NextMethod(.Generic)
}
signif(a, 3)
cumsum(a)
I don't understand why cumsum strips the class, but signif does not.
Both claim in the documentation that "These are generic functions:
methods can be defined for them individually or via the ?Math? group
generic."
-- 
Edzer Pebesma
Institute for
2015 Mar 12
2
Understanding why "no metadata object found ... not exported?" warnings from the methods package exist, and what they mean
Hi
 
I am seeking to understand why the methods package (to be specific
`methods:::.findOrCopyClass` when called by `setIs` when called by
`setClass`) emits a warning message such as
 
` class "SpatialLinesNULL" is defined (with package slot 'rgeos') but no
metadata object found to revise subclass information---not exported?  Making
a copy in package 'minweSpatialNULL `
2011 Sep 14
1
S4 method dispatch
List,
In order to get rid of some old, unreadable S3 code in package sp, I'm
trying to rewrite things using S4 methods. Somewhere I fail, and I
cannot sort out why. In order to isolate the problem, I created two
functions, doNothing<- and dosth, and both should do nothing. The issue
is that in most cases they do nothing, but in some cases dosth(obj)
changes the class of obj and breaks with
2008 Oct 10
4
how to convert source code in windows package for linux (ubuntu)
Hi All,
I was wondering if anyone here as successfully converted a package for
windows to one that will work in Linux?
What are the necessary steps if you have the source code?
Thanks,
Josh
2003 Nov 10
4
predict.lm with (logical) NA vector
I was surprised by the following (R 1.8.0):
R> lm.fit = lm(y~x, data.frame(x=1:10, y=1:10))
R> predict(lm.fit, data.frame(x = rep(NA, 10)))
             1              2              3              4              5
-1.060998e-314 -1.060998e-314 -1.060998e-314 -1.060998e-314 -1.060998e-314
             6              7              8              9             10
  0.000000e+00 
2003 Oct 19
2
lattice error
Hello, 
I tried to open lattice, but I get the following error:
> 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 retyped it after loading grid but the same message appeared. 
could it be that it is caused by a recently done
2003 Aug 21
2
levelplot behaviour for panel with constants
In the example:
x = rep(c(0,0,1,1),4)
y = rep(c(0,1,0,1),4)
z = c(1,0,1,0,0,0,1,1,0,1,0,0,1,1,1,1)
f = as.factor(c(rep("a",4),rep("b",4),rep("c",4),rep("d",4)))
levelplot(z~x+y|f,data.frame(x=x,y=y,z=z,f=f))
I noted that the last ("d") plot remains empty. I guess the
reason for this is that the values are constant (1), but I consider
it more
2006 Jun 03
1
default value for cutoff in gstat variogram()
I wonder what is the default value for the argument 'cutoff' when not 
specified in the variogram.formula function of gstat. Computing 
variogram envelops within gstat, I am comparing the results obtained 
with variog in geoR and variogram in gstat, and it took me a while 
before understanding that the cutoff default value is not the maximum 
distance.
Can Edzer tell us about it?
All the
2017 Sep 22
2
S4 method implementation for S3 class
2017-09-22 19:04 GMT+02:00 Michael Lawrence <lawrence.michael at gene.com>:
> The %*% function is a primitive. As it says in the documentation under
> ?Methods_Details
>
>      Methods may be defined for most primitives, and corresponding
>      metadata objects will be created to store them. Calls to the
>      primitive still go directly to the C code, which will
2012 Jan 18
1
how to check all CRAN dependencies for my package, before submitting
Suppose I'm author of a package on which quite a few other packages
depend. When I submit to CRAN, I run R CMD check on it, Kurt does that
too, and if things work out fine, it is accepted. When one or more of
the packages that depend on it break because of my changes, however,
hell breaks loose.
I would like to extend my testing (currently: R CMD check pkg) to
running R CMD check on all
2003 Oct 02
1
Are package maintainers responsible for name-mangling class names?
The following came up when Roger Bivand and I discussed
R's name spaces and overlap in packages, in the bus to the
field trip during StatGIS, last Tuesday:
If two packages create the same class, say "variogram", and both
are loaded, then using a method for an object of class "variogram"
cannot discriminate between them and will call the method in the
package loaded last.
2015 Mar 13
1
Understanding why "no metadata object found ... not exported?" warnings from the methods package exist, and what they mean
On looking more closely, the purpose of finding the class definition is to update the entry for the new relationship, as the warning message suggests.  That requires that the namespace holding the definition be writable.
In the case of subclass information, the original namespace is very likely to be locked, if it's not the package currently being loaded.  Copying the definition in order to
2003 Aug 29
1
levelplot behaviour when "at" cuts the z range
Consider the following examples:
library(lattice)
x = c(1,1,2,2)
y = c(1,2,1,2)
z = 1:4
levelplot(z~x+y,at=c(.5, 1.5, 2.5, 3.5, 4.5)) # correct
levelplot(z~x+y,at=c(.5, 1.5, 2.5))           # ?
The second plot is clearly incorrect. However, I don't know
what correct behaviour is: ignore everything above 2.5 and
issue a warning? Reject at values that do not cover the
data range, and issue an
2004 Oct 07
3
"R CMD check" with R 2.0.0
G'day all,
I am not sure whether I should file this as a bug report, but I
thought that I should make the developers of R aware of the following
feature:
I have just installed R 2.0.0 and when I run "R CMD check" on the
source of some packages, I noticed that the XXX-examples.ps file
contains one page with two graphics overlaid.  This seems to happen
when the first graphic is
2003 Dec 15
2
Error with spdep
Dear useRs:
First of all I would like to thank all the responses.
I've an error with package "spdep".
I am working with a Windows XP machine (AMD-2000-XP RAM-256DDR) and 1.8.0.
R-version and when I try to load spdep appear the following error:
> library(spdep)
Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : 
        There is no package called
2016 Oct 26
2
improve 'package not installed' load errors?
>>>>> Duncan Murdoch <murdoch.duncan at gmail.com>
>>>>>     on Mon, 24 Oct 2016 14:54:16 -0400 writes:
    > On 24/10/2016 1:51 PM, Kevin Ushey wrote:
    >> Hi R-devel,
    >> 
    >> One of the more common issues that new R users see, and become stumped
    >> by, is error messages during package load of the form:
    >> 
   
2016 Oct 24
4
improve 'package not installed' load errors?
Hi R-devel,
One of the more common issues that new R users see, and become stumped
by, is error messages during package load of the form:
> library(ggplot2)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
versionCheck = vI[[j]]) :
  there is no package called 'Rcpp'
Error: package or namespace load failed for 'ggplot2'
Typically, error messages of this form