getFileLocation: getFileLocation

Description Usage Details See Also Examples

Description

function to get the location of the attachment to a File

Usage

1
getFileLocation(fileObject)

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

1
2
3
4
5
## Not run: 
file<-synGet("syn123456")
filePath<-getFileLocation(file)

## End(Not run)

Sage-Bionetworks/rSynapseClient documentation built on May 9, 2019, 7:04 p.m.