Description Usage Arguments Value Examples
Lower level function that reads data and capture the file information within dependency object
1 |
file.info |
file information list |
read.fcn |
function for reading the file |
source_info |
source information list |
... |
arguments passed to read.fcn |
object read from files
1 2 3 4 5 6 7 8 9 10 | ## Not run:
source_info <- create_source_file_dir("adaprHome","tree_controller.R")
testfile <- file.path(source_info$data.dir,"test.csv")
write.csv(cars,testfile)
fileinfo <- createFileInfo(dirname(testfile),basename(testfile),"cars dataset")
Read.cap(fileinfo,read.csv,source_info)
file.remove(file.path(source_info$data.dir,"test.csv"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.