Learn R Programming

SELEX (version 1.4.0)

selex.setwd: 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.

Value

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.

See Also

selex.config

Examples

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

Run the code above in your browser using DataLab