Create a file called .Renviron in the directory given by Sys.getenv('R_USER')
and save it with the line TMP = '<your-desired-tempdir>'
.
write("TMP = '<your-desired-tempdir>'", file=file.path(Sys.getenv('R_USER'), '.Renviron'))
More Related Contents:
- How to make plots from distributed data from R
- Rcpp package doesn’t include Rcpp_precious_remove
- data.table vs dplyr: can one do something well the other can’t or does poorly?
- Nested facets in ggplot2 spanning groups
- ggplot2: histogram with normal curve
- Add a month to a Date [duplicate]
- How to run R on a server without X11, and avoid broken dependencies
- How should I deal with “‘someFunction’ is not an exported object from ‘namespace:somePackage'” error? [closed]
- R apply function with multiple parameters
- Printing newlines with print() in R
- data.table and parallel computing
- Making a stacked area plot using ggplot2
- Convert string to date, format: “dd.mm.yyyy”
- Recommendations for Windows text editor for R [closed]
- Seeking workaround for gtable_add_grob code broken by ggplot 2.2.0
- Control the height in fluidRow in R shiny
- Multiple time series in one plot
- Perform multiple paired t-tests based on groups/categories
- What is about the first column in R’s dataset mtcars?
- R – ggplot2 issues with date as character for x-axis
- Using If/Else on a data frame
- dplyr / R cumulative sum with reset
- ggplot2: Setting geom_bar baseline to 1 instead of zero
- Remove ‘search’ option but leave ‘search columns’ option
- Plot background colour in gradient
- Wrap text around plots in Markdown
- Handling errors before warnings in tryCatch
- Calculating peaks in histograms or density functions
- Unable to convert Month-Year string to Date in R
- Is there a way to `source()` and continue after an error?