removeBinaries {PAMpal}R Documentation

Remove Binaries from a PAMpalSettings Object

Description

Remove a binary folder and associated files from the "binaries" slot in a PAMpalSettings object.

Usage

removeBinaries(pps, index = NULL)

Arguments

pps

a PAMpalSettings object to remove binaries from

index

index indicating which binary folders to remove. Can be a vector if you want to remove multiple folders. If missing user is prompted to select a folder from a list, will only show up to the first 20. You can easily remove all of the folders with a large index like 1:1000

Value

the same PAMpalSettings object as pps, with the binary folders and files associated with those folders removed from the "binaries" slot.

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples


exPps <- new('PAMpalSettings')
exPps <- addBinaries(exPps, system.file('extdata', 'Binaries', package='PAMpal'))
removeBinaries(exPps,index = 1)
if(interactive()) removeBinaries(exPps)


[Package PAMpal version 1.2.1 Index]