This file is indexed.

/usr/share/doc/r-cran-sp/tests/spplot.Rout.save is in r-cran-sp 1:1.0-15-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(sp)
> xy = expand.grid(x = 1:4, y = 1:4)
> xy.sp = SpatialPoints(xy)
> gridded(xy.sp) = T
> # deselect 1 row and 2 col:
> tst = xy.sp[-c(2,6,10,14,9,11,12)]
> tst
Object of class SpatialPixels
Grid topology:
  cellcentre.offset cellsize cells.dim
x                 1        1         4
y                 1        1         4
SpatialPoints:
      x y
 [1,] 1 1
 [2,] 3 1
 [3,] 4 1
 [4,] 1 2
 [5,] 3 2
 [6,] 4 2
 [7,] 1 4
 [8,] 3 4
 [9,] 4 4
Coordinate Reference System (CRS) arguments: NA 
> # convert to SpatialPixelsDataFrame:
> tst = SpatialPixelsDataFrame(tst, data.frame(xx = rnorm(9)))
Warning messages:
1: In points2grid(points, tolerance, round) :
  grid has empty column/rows in dimension 1
2: In points2grid(points, tolerance, round) :
  grid has empty column/rows in dimension 2
> spplot(tst["xx"], main = "empty row + col")
>