| iofile | R Documentation |
Get file names for data import/export
iofile(x = NULL)
x |
File or directory name Quite often we need to import and export data (especially bulky files) into a directory other than the local file. This function is a shortcut to get full names of import/export files. The function first determines whether the option If the value does not exist yet, the function
tries to use a folder named The steps above guarantees that there is an option named The parameter |
Character string, the full path to the data directory (when x
is NULL) or the full file path(s) within the data directory.
setDataDir(system.file("extdata", package="ribiosIO"))
dir(iofile())
readLines(iofile("test.gct"), n=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.