Hello,
I'm going to quote the tempdir() doc page: "By default, tmpdir will be the directory given by tempdir(). This will be a subdirectory of the per-session temporary directory found by the following rule when the R session is started. The environment variables TMPDIR, TMP and TEMP are checked in turn and the first found which points to a writable directory is used: if none succeeds the value of R_USER (see Rconsole) is used. If the path to the directory contains a space in any of the components, the path returned will use the shortnames version of the path." You need to define one of the environment variables listed above. For myself, I did something like TEMP=C:\Users\iris\AppData\Local\Temp On Thu., Sep. 22, 2022, 03:37 Kaitlyn Light, <kel...@bucknell.edu> wrote: > Hello! > I recently downloaded R and RStudio to my windows laptop. I downloaded the > correct version and made sure it was for windows and not mac. However, when > I tried to open RStudio, a message saying " R_tempdir Fatal Error: > Contains Space" would pop-up. The program would open as a blank screen and > usually make the rest of my laptop stall until it was shut off. I tried > uninstalling and reinstalling the programs, however, the issue did not > change. I checked my Microsoft username to make sure it did not "contain > space" (as in spacebars) but it did not. I was hoping I would be able to > get some help moving forward on how to get this fixed. Thank you for your > help! > > Best, > Kaitlyn Light > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.