domains-methods: List files and subdirectories of a domain

Description Usage Arguments Value Examples

Description

The user needs to give the domain to start in. The search will be non-recursive. I.e., output for domain '/home/jreadey/' will not return the files in '/home/jreadey/HDFLabTutorial/'

Usage

1
2
3
4
5
6
7
domains(object, rootdir)

## S4 method for signature 'HSDSSource,character'
domains(object, rootdir)

## S4 method for signature 'HSDSSource,missing'
domains(object)

Arguments

object

An object of type HSDSSource

rootdir

A slash-separated directory in the HSDSSource file system.

Value

a vector of domains in the rootdir

Examples

1
2
3
4
src.hsds <- HSDSSource('http://hsdshdflab.hdfgroup.org')
src.chan <- HSDSSource('http://h5s.channingremotedata.org:5000', 'h5serv')
domains(src.chan)
domains(src.hsds, '/home/jreadey')

sampoll/rhdf5client2 documentation built on May 24, 2019, 2:47 p.m.