.add.extension {ProjectTemplate} | R Documentation |
Associate a reader function with an extension.
Description
This function will associate an extension with a custom reader function.
Usage
.add.extension(extension, reader)
Arguments
extension |
The extension of the new data file. |
reader |
The function to use when reading the data file. It should
accept three arguments: |
Value
No value is returned; this function is called for its side effects.
Warning
This interface should not be considered as stable and is likely to be replaced by a different mechanism in a forthcoming version of this package.
See Also
Examples
## Not run: .add.extension('foo', foo.reader)
[Package ProjectTemplate version 0.11.0 Index]