Learn R Programming

PAMpal (version 1.4.4)

addBinaries: Add Binaries to a PAMpalSettings Object

Description

Adds more binary files to the "binaries" slot of a PAMpalSettings object. Interactively asks user to supply folder location if not provided.

Usage

addBinaries(pps, folder = NULL, verbose = TRUE)

Value

the same PAMpalSettings object as pps, with the binary files contained in folder added to the "binaries" slot. Only binary files for Click Detector and WhistlesMoans modules will be added, since these are the only types PAMpal currently knows how to process

Arguments

pps

a PAMpalSettings object to add binary files to

folder

a folder of binaries to add, all subfolders will also be added

verbose

logical flag to show messages

Author

Taiki Sakai taiki.sakai@noaa.gov

Examples

Run this code

# not recommended to create PPS like this, for example only
pps <- new('PAMpalSettings')
binFolder <- system.file('extdata', 'Binaries', package='PAMpal')
pps <- addBinaries(pps, binFolder)
pps

Run the code above in your browser using DataLab