\name{createFile}
\alias{createFile}
\title{Create a file and all needed directories}
\description{
  \code{createFile} This function creates a new file just like the \code{file.create} function from R, but if needed it creates also directories. 
}
\usage{
createFile(file)
}
\arguments{
  \item{file}{The file name.}
}
\details{
This function creates a file also in a subdirectory, and creates this directory also if needed. If for example as file the string \dQuote{doc/tables/testtable.txt} is submited, the function creates the directory \dQuote{doc}, then the directory \dQuote{tables} into the \dQuote{doc} directory and finally the file \dQuote{testtable.txt} in this last sub directory. As file delimiter the \dQuote{/} has always to be used, also in Windows!
}
\author{Johannes Rainer}

\seealso{
	\code{\link{createDirs}}
}

\keyword{data}