This function opens a finder window with directory files in MacOS X. It has not been tested in Windows. In linux, it just returns the list of files in directory. By defaut, it uses the current working directory.
openwd(directory = getwd())
The directory you want to open
A vector with the list of files.
openwd will open a finder window with current working directory