openWorkspace,character-method {flowWorkspace} | R Documentation

## Open/Close a flowJo workspace

### Description

Open a flowJo workspace and return a `flowJoWorkspace` object. Close a flowJoWorkspace, destroying the internal representation of the XML document, and freeing the associated memory.

### Usage

    ## S4 method for signature 'character'
    openWorkspace(file, options = 0, ...)

    ## S4 method for signature 'flowJoWorkspace'
    closeWorkspace(workspace)

### Arguments

`file` | Full path to the XML flowJo workspace file.
`options` | xml parsing options passed to `xmlTreeParse`
`...` | other arguments passed to `xmlTreeParse`
`workspace` | A `flowJoWorkspace`

### Details

Open an XML flowJo workspace file and return a `flowJoWorkspace` object. The workspace is represented using a `XMLInternalDocument` object. Close a flowJoWorkpsace after finishing with it. This is necessary to explicitly clean up the C-based representation of the XML tree. (See the XML package).

### Value

a `flowJoWorkspace` object.

### Examples

    ## Not run:
    	file<-"myworkspace.xml"
    	ws<-openWorkspace(file);
    	class(ws); #flowJoWorkspace
    	closeWorkspace(ws);

    ## End(Not run)

[Package flowWorkspace version 3.28.2 Index]