boxr (version 0.3.6)

box_setwd: Get/set Box default working-directory

Description

Similar to getwd() and setwd(), these functions get and set the folder ID of the working directory at box.com.

This folder ID is also stored in boxr_options().

Usage

box_setwd(dir_id)

box_getwd()

Arguments

dir_id

numeric or character, folder ID at Box.

Value

box_getwd()

numeric, ID for working folder at Box.

box_setwd()

invisible(NULL), called for side-effects.

See Also

box_ls() to list files in a Box directory, box_fetch()/box_push() to download/upload directories from/to Box