ScpFileResourceGetter | R Documentation |
SCP file resource getter
SCP file resource getter
A R6 object of class ScpFileResourceGetter
Access a file that is stored on a server accessible through SSH. Credentials apply.
resourcer::FileResourceGetter
-> ScpFileResourceGetter
new()
Creates a ScpFileResourceGetter instance.
ScpFileResourceGetter$new()
The ScpFileResourceGetter object.
isFor()
Check that the provided resource is a file accessible by SCP: the resource URL scheme must be "scp".
ScpFileResourceGetter$isFor(resource)
resource
The resource object to evaluate.
A logical.
downloadFile()
Download the file described by the resource over an SSH connection.
ScpFileResourceGetter$downloadFile(resource, ...)
resource
The resource that identifies the file.
...
Additional parameters (not used).
The "resource.file" object.
clone()
The objects of this class are cloneable with this method.
ScpFileResourceGetter$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.