However, sysadmins might like to install R from scripts, and the following command-line flags are available for use with the installer.A successful installation has exit code 0: unsuccessful ones may give 1, 2, 3, 4 or 5. We have some facilities for building a customized installer, in particular to add packages to the installer.See the ‘R Installation and Administration’ manual in the subsection ‘Building the installers’.

Current binary versions of R run on Windows XP or later, including on 64-bit versions: See Can I use R on 64-bit Windows? The last version known to run on Windows 2000 was 2.12.2.

We only test on versions of Windows currently supported by Microsoft, mainly 64-bit Windows 7 and Server 2008.

Your file system must allow case-honouring long file names (as is likely except perhaps for some network-mounted systems). If you want to be able to build packages from sources, we recommend that you choose an installation path not containing spaces.

(Using a path with spaces in will probably work, but is little-tested.) Users of Vista/Windows 7/8/Server 2008/2012 installing for a single user using an account with administrator rights area and to set all the optional registry entries; otherwise you will only be able to install R in your own file area.

If you want to set up another project, make a new shortcut or use the existing one and change the ‘Start in’ field of the Properties.

You may if you prefer run R from the command line of any shell you use, for example a ‘Command Prompt’ or a port of a Unix shell such as .

(The command line can be anything you would put in the Target field of a shortcut, and the starting directory will be the current working directory of the shell.

You may need to confirm that you want to proceed with installing a program from an ‘unknown’ or ‘unidentified’ publisher.

After installation you should choose a working directory for R.