Non-standard R names must be quoted in Sys.setenv: see the
  examples.  Most platforms (and POSIX) do not allow names containing
  "=".  Windows does, but the facilities provided by R may not
  handle these correctly so they should be avoided.  Most platforms
  allow setting an environment variable to "", but Windows does
  not, and there Sys.setenv(FOO = "") unsets FOO.
There may be system-specific limits on the maximum length of the values
  of individual environment variables or of all environment variables.
  Windows has a limit of 32,767 characters on the environment block, and
  cmd.exe has a limit of 2047 (Windows 2000) or 8192 characters
  (XP and later) for each value.