Thanks fcosaid . I was using R-2.15.1 and your suggestion worked very well for me , on Windows 7 Professional . Incidentally I did not do an R Install , but just copied the R folders from my previous Windows XP install . But rather than create R_HOME etc,. I just set the environment variable in code as you suggested.
↧