Skip to content

documentation: maptools, plot bug #54

@carbonmetrics

Description

@carbonmetrics

the documentation refers to maptools but this library has been removed from CRAN.
so, this doesn't work anymore:

library(maptools)
data(wrld_simpl)

apart from this, the line plot(ds, main='Geographic Distance') produces error:

Error in graphics::par(plt = bigplot) : 
  invalid value specified for graphical parameter "plt"

environment:

> sessionInfo()
R version 4.4.3 (2025-02-28)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 22.04.5 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so;  LAPACK version 3.10.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8      
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: Africa/Nairobi
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] maps_3.4.3    dismo_1.3-16  raster_3.6-30 sp_2.2-0     

loaded via a namespace (and not attached):
 [1] codetools_0.2-19   lattice_0.22-5     e1071_1.7-16       magrittr_2.0.3     KernSmooth_2.23-26 classInt_0.4-11    sf_1.0-19          terra_1.8-54       grid_4.4.3         DBI_1.2.3         
[11] proxy_0.4-27       class_7.3-23       compiler_4.4.3     tools_4.4.3        Rcpp_1.0.14        units_0.8-7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions