Permalink
Browse files

fixes #107

  • Loading branch information...
piccolbo committed Jul 25, 2012
1 parent 11f4df3 commit 5818cd4dd54e75d7b38bae049dd40866cd241dcb
Showing with 1 addition and 1 deletion.
  1. +1 −1 rmr/pkg/R/mapreduce.R
View
@@ -840,7 +840,7 @@ invisible(lapply(libs, function(l) library(l, character.only = T)))
hadoop.command,
stream.mapred.io,
paste.options(backend.parameters),
- paste.options(list(cacheArchive = paste("hdfs:///user/antonio/", basename(R.prefix), ".jar#R", sep = ""),
+ paste.options(list(cacheArchive = paste(file.path("hdfs:///user", Sys.getenv("USER"), basename(R.prefix)), ".jar#R", sep = ""),
cmdenv=paste("LD_LIBRARY_PATH=", R.prefix, "/lib64/R/lib", sep = ""))),
input,
output,

0 comments on commit 5818cd4

Please sign in to comment.