The following two recipes are quoted from chapter 1 and chapter 7 from "R Cookbook", HTH: <pre> 1.1 Downloading and Installing R Problem . . .