Learn R Programming

opusreader2

Copy Link

Version

Install

install.packages('opusreader2')

Version

0.6.8

License

MIT + file LICENSE

Maintainer

Philipp Baumann

Last Published

February 3rd, 2026

Functions in opusreader2 (0.6.8)

set_connection_class

define class of dsn
read_opus_single

Read a single OPUS file
read_unsigned_int

read unsigned integer from binary
read_opus_raw

Read the raw vector of an opus data source
read_signed_int

read signed integer from binary
read_raw.file

method to open the connection for an opus file
read_raw

Dispatch method for the open_connection
opus_test_dsn

Get File Paths of Sample OPUS Files Included in the Package
opus_test_file

Get path of a Selected Sample OPUS File Included in the Package
opus_lapply

List wrapper that reads a list of files (dsn) via read_opus_single() and returns spectra in a list
print.list_opusreader2

Print method for collection of OPUS spectra with class list_opusreader2
read_opus

Read OPUS binary files from Bruker spectrometers
calc_chunk_size

calculate the full chunk size
create_dataset

assign the classes to the dataset list
parse_chunk.data

read chunk method for data
read_opus_parallel_mirai

Read chunks of OPUS files in parallel using {mirai} backend via mirai::mirai_map()
new_list_opusreader2

Construct new class list_opusreader2
parse_chunk.default

read chunk method for default
parse_chunk.text

read chunk method for text
parse_opus

Parse data, parameters and text from raw vector of OPUS file saved after one spectral measurement of a Bruker FT-IR device.
parse_chunk

read chunk method
parse_header

parse the header of the opus file
read_double

read double from binary (double-precision, 64 bits)
parse_chunk.parameter

read chunk method for parameter
calc_parameter_chunk_size

Calculate the parameter chunk size in bytes
read_character

read character from binary
read_float

read float from binary (single-precision, 32 bits)