anchor.diff:  )
   
   IF NOT DEFINED ROOT_DIR (
  -	SET "ROOT_DIR=C:\R-src"
  +	SET "ROOT_DIR=%USERPROFILE%\R-src"
   )
   
   if NOT DEFINED RTOOLS_DIR (
  
positive.code: REM This script installs R-devel from source on Windows.
  REM Update the variables up here as new versions of R are released;
  REM we attempt to build from tarballs.
  REM
  REM This script assumes you have 'wget' on your path, as it
  REM is used to download. You can find a binary here:
  REM
  REM     https://eternallybored.org/misc/wget/wget64.exe 
  REM
  REM Ensure that this is run from a command prompt with administrator
  REM privileges! Otherwise, files can be created _without_ read permissions
  REM and all manner of weird failures can and will happen.
  REM
  REM If you find that the build is failing for strange reason, ensure that
  REM everyone has access to the source tree with
  REM
  REM     icacls "." /grant Everyone:(F) /T
  REM
  REM to just indiscriminately give everyone full access to the folder.
  
  REM ---------------------------------
  REM - BEGIN CONFIGURATION VARIABLES -
  REM ---------------------------------
  
  IF NOT DEFINED WGET (
  	SET "WGET=wget"
  )
  
  IF NOT DEFINED SVN (
  
negative.code: move mingw64 %RTOOLS_DIR%\gcc492_64
  
  REM Download the R sources. Get the latest R-devel sources using SVN.
  svn checkout https://svn.r-project.org/R/trunk/
  cd trunk
  
  REM Copy in the 'extras' for a 64bit build. This includes tcltk
  REM plus some other libraries. Note that the R64 directory should
  REM have been populated by the RTools installation.
  REM xcopy /E /Y C:\R %R_HOME%\trunk\
  rmdir /S /Q %R_HOME%\Tcl
  xcopy /E /Y C:\R64 %R_HOME%\
  
  REM Ensure the temporary directory exists.
  if not exist "%TMPDIR%" (
  