createFile {maDB} | R Documentation |
createFile
This function creates a new file just like the file.create
function from R, but if needed it creates also directories.
createFile(file)
file |
The file name. |
This function creates a file also in a subdirectory, and creates this directory also if needed. If for example as file the string “doc/tables/testtable.txt” is submited, the function creates the directory “doc”, then the directory “tables” into the “doc” directory and finally the file “testtable.txt” in this last sub directory. As file delimiter the “/” has always to be used, also in Windows!
Johannes Rainer