Learn R Programming

synapseClient (version 1.14-0)

getFileLocation: getFileLocation

Description

function to get the location of the attachment to a File

Usage

getFileLocation(fileObject)

Arguments

Details

Returns a string which is the path to the file attached to a File object. If the File 'links' to an external URL (not downloaded to the local file system), returns the URL itself.

See Also

File synGet synStore

Examples

Run this code
## Not run: 
# file<-synGet("syn123456")
# filePath<-getFileLocation(file)
# ## End(Not run)

Run the code above in your browser using DataLab