From: Sparapani, R. <rsp...@mc...> - 2007-09-17 15:38:18
|
>> Sys.setenv(DISPLAY=3D":0.0") >> schools.sim <- bugs (data=3Ddata, > + inits=3Dinits, > + parameters.to.save=3Dparameters, > + model.file=3D"schools.txt", > + n.chains=3D3, > + n.iter=3D1000, > + bugs.directory=3D"/Applications/WinBUGS14", > + debug=3DFALSE) >=20 Doesn't work: sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found sh: line 1: no: command not found Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, = na.strings, :=20 scan() expected 'a real', got 'WinBUGS' And you are correct. /Applications is the standard place to install GUI = applications such as R. Command-line only applications can be installed anywhere. Rodney |