Detailed Instructions for using process() at home

There are several steps:

See also the Frequently Asked Questions at the bottom of the page.


Installing R

This is relatively straightforward; go to the CRAN mirror and follow the instructions. There are versions for Windows, Macintosh and Unix/Linux.

Tip for Mac users No matter which R "disk image" you download (you should choose the most recent one compatible with your version of the Mac OS), the "R Framework", i.e. the command-line R for use in the Terminal, is always installed by default when you mount the disk image and double-click R.mpkg. You should also get the R GUI Application which gives nice graphical output in an interactive session. Sometimes the R GUI is not installed by default, however you can make sure it is by clicking on "Customize" during the installation procedure and making sure that both "R Framework" and "R GUI" are both selected.


Installing (La)TeX

There are many different (La)TeX "installations" which should work with process() (note: LaTeX is an extension of the original TeX). These days it is probably easier to install one directly from the internet: see Installing TeXLive over the internet for general installation instructions relating to the TeXLive distribution for all platforms (which we recommend). Other TeX distributions exist and may be a bit easier to install: proTeXt for Windows users and MacTeX for Mac users. Also, for many Linux distributions, some form of LaTeX installation should be available in the distribution's package management system. Any basic LaTeX system should be fine for our purposes, as long as a special directory/folder is set up as described below.

Special Folder

Once you have working versions of both R and LaTeX, to use process() successfully your LaTeX needs to be able to find certain style files. These may or may not be in your (La)TeX system and even if they are, your R session may not be able to find them. Hence we recommend that you have a special dedicated process() folder/directory to work in containing the following three LaTeX style files: Sweave.sty, fancyvrb.sty and a4.sty. You might also want to download this small test file to test it all out.


Loading process() into R

Start up R so that your dedicated process() folder is the working directory; this can either be done with the command setwd(...) or if you have a Graphical User Interface version (GUI - available for Windows or the Mac) there is a menu item you can click to browse and select the working directory.

There are at least two ways to load process() into R.


Frequently Asked Questions


Michael Stewart (last edited: 2012-03-12)