aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/pkg/R/install.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/R/install.R b/R/pkg/R/install.R
index 987bac7beb..ff81e86835 100644
--- a/R/pkg/R/install.R
+++ b/R/pkg/R/install.R
@@ -212,7 +212,7 @@ hadoop_version_name <- function(hadoopVersion) {
# adapt to Spark context
spark_cache_path <- function() {
if (.Platform$OS.type == "windows") {
- winAppPath <- Sys.getenv("%LOCALAPPDATA%", unset = NA)
+ winAppPath <- Sys.getenv("LOCALAPPDATA", unset = NA)
if (is.na(winAppPath)) {
msg <- paste("%LOCALAPPDATA% not found.",
"Please define the environment variable",