selex.setwd {SELEX} | R Documentation

## Set or change the working directory

### Description

A function that changes the current working directory.

### Usage

    selex.setwd(path)

### Arguments

`path` | Physical location on disk for the current working directory. The full system path must be specified.

### Details

The working directory must be specified for every selex.run. This directory is used to store the output of all analyses performed by the selex package. If a certain calculation has already been performed in the given working directory, the previously computed values are returned. If the specified path does not exist, `selex.config` will attempt to create it.

### Value

Not applicable

### See Also

`selex.config`

### Examples

    workDir = file.path(".", "SELEX_workspace")
    # Change the current working directory
    selex.setwd(path=workDir)

[Package SELEX version 1.12.0 Index]