R Statistical Data (RData) Array as Raster Reader/Writer

R is a language and environment for statistical computing and graphics. R files store data as binary or ASCII workspace files that may store a number of objects.

The reader/writer only works with R files that contain a numeric vector object. The numeric vector will be mapped to raster geometry as follows:

  • the first dimension corresponds to the number of columns
  • the second dimension corresponds to the number of rows
  • the third dimension corresponds to the number of bands

Georeferencing is stored in numeric vector attributes named "lon" and "lat" (for geographic coordinate systems) or "x" and "y" (for projected coordinate systems) that are defined for the raster object. The dimensions of these attributes must correspond to the number of columns and rows in the raster, respectively.

RDATARASTER Product and System Requirements

Format

FME Platform

Operating System

Reader/Writer

FME Form

FME Flow

FME Flow Hosted

Windows 64-bit

Linux

Mac

Reader

Yes

Yes

Yes

Yes

Yes

Yes

Writer

Yes

Yes

Yes

Yes

Yes

Yes

Reader Overview

FME considers a single R file to be a dataset. A single numeric vector object in a file will be mapped to an FME raster feature.

Writer Overview

FME considers a dataset to be a folder name. The writer distinguishes duplicate output files by appending numbers to the filenames.

FME Raster Features

FME raster features represent raster data and use several concepts that are unlike those used in the handling of vector data.

For comprehensive information about how FME processes raster data, see Rasters.

R supports rasters with an arbitrary number of Real64 bands.