
This is the R code of the new unfolding program.
(essentially the 2005 version, never officially released before,
practically identical to the one distributed to the mailing list
of the Alliance Conference on Unfolding held in Hamburg in May 2010).

These are the basic instructions to run the demo code
(the one I use in seminars):

 - install R from http://www.r-project.org/
   (Debian/Ubuntu users can do with "sudo apt-get install r-base") 

 - from inside this directory invoke R with the command "R"
   (and read the initial informations, including how to quit)

 - from the R console run the demo script by the command
        source("demo_fast_loop.R")
   [using the mouse you can enlarge the R graphics window]

 - then you might want to run the second script (using_history.R)
   to learn how to have access to the sampling history: 
        source("using_history.R")

Giulio D'Agostini, October 2010
