closeAll {slinky} | R Documentation

## closeAll

### Description

Close any open HDF5 (gctx) file connections.

### Usage

    closeAll(x)

    ## S4 method for signature 'Slinky'
    closeAll(x)

### Arguments

`x` | a Slinky Object

### Value

None. Called for side effect of closing connections.

### Examples

    # for build/demo only.  You MUST use your own key when using the slinky
    # package.
    user_key <- httr::content(httr::GET('https://api.clue.io/temp_api_key'),
                              as='parsed')$user_key
    sl <- Slinky(user_key,
                     system.file('extdata', 'demo.gctx',
                          package='slinky'),
                     system.file('extdata', 'demo_inst_info.txt',
                         package = 'slinky'))
    closeAll(sl)

[Package slinky version 1.6.0 Index]