Skip to content

ximage

0.1.0Package record

Draw Images of Raster Data and Related Adornments

0packages depend
548downloads / year
71.6%test coverage
13/13flavors OK

Overview

About

Draw images easily, set up a plot with an image, specify where that image should be placed. Image plot by default reflects the index of the image data itself, or can be specified in simple extent terms 'xmin,xmax,ymin,ymax'. Numeric matrices, integer arrays, byte arrays, character arrays, and native rasters are (or will be) supported. A combination of image() and rasterImage() from the 'graphics' package with their good features in one place.

Changes in 0.1.0
  • New function xtext() draws matrix values as labels at cell centres, in the same raster-order layout used by ximage() (thanks to a draft in issue #22). Supports vapour and gdalraster reader-output lists.
  • New vignette "Array orientation: raster order and the R matrix" explains the raster-order convention, the byrow = TRUE and as.vector(t(m)) round trip, multi-band aperm() recipes, and the cell-edge extent convention (#14).
  • Now support raw output of fastpng.
  • Now support {gdalraster} output of read_ds(, as_list = TRUE) or raw numeric, thanks to Chris Toney.
  • ximage() now handles breaks argument to go with col (for numeric input).
  • image() now works with list output from gdalnara (same as gdal_raster_image but with nativeRaster).
  • Added suport for xcontour() for the output output of gdal_raster_data() in {vapour}.
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
  • ximage() can now plot sf::gdal_read objects.
  • Fixed default extent for an array/matrix, it was transposed (!).
  • ximage now does what imfun in whatarelief did, i.e. with the output of gdal_raster_data, gdal_raster_dsn, gdal_raster_image do the obvious plot.
  • Add 'mesh_plot' mode to ximage(), not fully implemented.
  • Increase the default colour classes, 12 -> 96.
  • Support 'raster' class as per as.raster.
  • Added xcontour and xrect functions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-22
Advisories

none known

Documentation

Documentation signals are not tracked yet for this package.

Downloads

548
CRAN downloads in the past year
Rank #23,322 · ~2/day · ~46/mo
ximage
Daily download trend is not available in this view yet.
20430 days
54890 days
5481 year
Compare downloads with other packages →
Also on18 r2u1 autocran

Repository

9Stars
1Forks
8Open issues
0Open PRs
0Releases
69Commits
3Commit identities
69 commits · Last activity 2026-08-07 · Default branch at 0.1.0.9002, ahead of CRAN 0.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
881
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/hypertidy/ximage on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-07 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-02-15
    Pull request: opened by its own account
    Commits: 10 by its own account
  • Claude Codefirst seen 2026-07-12
    Named in .Rbuildignore: .claude
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing ximage adds no packages beyond those that come with R.

Depends (1)
R >= 2.10
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Contributor
Releases (1)
  • 0.1.0Latest
    2026-07-21 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-21
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ximage")
Sumner, M. D., & Toney, C. (2026). ximage: Draw Images of Raster Data and Related Adornments (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ximage

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ximage version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy