set_java_tmp_dir

0th

Percentile

Set Java Temp Directory

Java sets the java temp directory to `/tmp` by default. However, this is usually not desirable in R. As a result, this function allows changing that behavior. Further, this function is fired on package load to ensure all temp files are written to the R temp directory.

Usage
set_java_tmp_dir(tmp_dir = tempdir())

get_java_tmp_dir()

Arguments
tmp_dir

optional. The new temp directory. Defaults to the R temp directory

Details

On package load, we use `getOption("xlsx.tempdir", tempdir())` for the default value, in case you want to have this value set by an option.

Value

The previous java temp directory (prior to any changes).

Aliases
  • set_java_tmp_dir
  • get_java_tmp_dir
Documentation reproduced from package xlsx, version 0.6.3, License: GPL-3

Community examples

Looks like there are no examples yet.