Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_java_tmp_dir

Set Java Temp Directory


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

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


xlsx

Read, Write, Format Excel 2007 and Excel 97/2000/XP/2003 Files

v0.6.5
GPL-3
Authors
Adrian Dragulescu [aut], Cole Arendt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.