Dear colleagues, I would be grateful if somebody could explain and perhaps help work around the following.
I have .Renviron with, say: AVAR=${APPDATA}/foo/bar Which is a documented way of referring to existing environment variables. Now, with that in R I'm getting: Sys.getenv("APPDATA") # That works OK [1] "C:\\Users\\mbojanowski\\AppData\\Roaming" so OK, but: Sys.getenv("AVAR") [1] "C:UsersmbojanowskiAppDataRoaming/foo/bar" So all the (back)slashes are gone from APPDATA. Does processing ${} removes the backslashes? I could not find anything on that in R Windows FAQ nor on the web. Thanks in advance! Michal ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel