Groups: Add, delete, or list Group record(s)

GroupsR Documentation

Add, delete, or list Group record(s)

Description

These functions attempt to add or delete a Group record

Usage

addGroup(name, con = hiveConnection(), verbose = getOption("GeneHive.verbose"))

deleteGroup(
  name,
  con = hiveConnection(),
  verbose = getOption("GeneHive.verbose")
)

listGroups(con = hiveConnection(), simplify = TRUE)

Arguments

name

A character string specifying the name of a Group record to be added or deleted

con

A hiveConnection object; if not provided, a new connection will be established

verbose

A logical value specifying whether messages should be printed

simplify

A logical value specifying whether to return the listing as a data frame

Value

addGroup

If the operation is successful, a hiveGroup object (invisibly).

deleteGroup

A logical value stating whether the operation was successful.

listGroups
If simplify = TRUE

A data frame containing one row per record and one column per field.

If simplify = FALSE

A SimpleList object containing one hiveGroup object per record.

All functions

If an error is encountered, the function terminates with a message.

Author(s)

Adam C. Gower agower@bu.edu


agower/GeneHive documentation built on April 14, 2022, 5:08 a.m.