If we want to write file paths that work in every operating system, like Linux, OS, Microsoft, we can work with the file.path()
command. Let’s say that I want to add a directory called models under my current working directory:
file.path(getwd(),"models")