set_java_tmp_dir: Set Java Temp Directory

Description Usage Arguments Details Value

View source: R/utilities.R

Description

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

1
2
3

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).


xlsx documentation built on Nov. 10, 2020, 3:52 p.m.