SciDrive.delete {SciServer}R Documentation

Delete file or container.

Description

Deletes a file or container (directory) in SciDrive.

Usage

SciDrive.delete(path)

Arguments

path

path of the directory in SciDrive.

Value

Returns TRUE if the file or container (directory) was deleted successfully. Throws an exception if the user is not logged into SciServer (use Authentication.login for that purpose). Throws an exception if the HTTP request to the SciDrive API returns an error.

Author(s)

Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://www.scidrive.org/scidrive
http://www.github.com/sciserver/SciScript-R

See Also

SciDrive.upload.

Examples

  response = SciDrive.delete("path/to/SciDrive/file.csv")

[Package SciServer version 2.0.0 Index]