Description Usage Arguments Value Methods (by class)
Returns the contents of a resource referenced by a vessel
object.
1 2 3 4 5 6 7 | fetchVessel(vessel, location = getwd())
## S3 method for class 'fileVessel'
fetchVessel(vessel, location = getwd())
## S3 method for class 'urlVessel'
fetchVessel(vessel, location = getwd())
|
vessel |
|
location |
file path of parent object containing vessel |
character vector of file contents
The character vector resulting from a fileVessel
object will have an attribute, location
, which contains
the path to the original file object.
fileVessel
: Return the text of a file resource
urlVessel
: Return the text of a URL resource
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.