Typical user cache directories are:
user_log_dir( appname = NULL, appauthor = appname, version = NULL, opinion = TRUE, expand = TRUE, os = NULL )
is the name of application. If NULL, just the system directory is returned.
(only required and used on Windows) is the name of the appauthor or distributing body for this application. Typically it is the owning company name. This falls back to appname.
is an optional version path element to append to the
path. You might want to use this if you want multiple versions
of your app to be able to run independently. If used, this
would typically be
(logical) can be
If TRUE (the default) will expand the
Operating system whose conventions are used to construct the
requested directory. Possible values are "win", "mac", "unix". If
Mac OS X:
~/.cache/<AppName>/log, or under
\env$XDG_CACHE_HOME if defined
C:\Documents and Settings\<username>\Local Settings\Application Data\<AppAuthor>\<AppName>\Logs
On Windows the only suggestion in the MSDN docs is that local settings
go in the
This function appends
Logs to the
value for Windows and appends
log to the user cache dir for Unix.
This can be disabled with the
opinion = FALSE option.
user_log_dir()#>  "~/Library/Logs"