From: Sparapani, R. <rsp...@mc...> - 2007-09-20 00:17:20
|
One more time ... env /usr/bin which [1] "no wine in /usr/bin /bin /usr/sbin /sbin /usr/local/bin" > findUnixBinary(x=3D"winepath") env /usr/bin which [1] "no winepath in /usr/bin /bin /usr/sbin /sbin /usr/local/bin" I guess that's where it's barfing. It's getting "no" as the command = name. -----Original Message----- From: Gregor Gorjanc [mailto:gre...@bf...] Sent: Wed 9/19/2007 10:38 AM To: Sparapani, Rodney Cc: bug...@li... Subject: Re: MacOS and wine and bugs.directory arguments =20 Sparapani, Rodney wrote: >> findUnixBinary(x=3D"wine") > env > WINE > "/Applications/Darwine/Wine.bundle/Contents/bin/wine" >> findUnixBinary(x=3D"winepath") > env > WINEPATH > "/Applications/Darwine/Wine.bundle/Contents/bin/winepath" >> .Platform$OS.type > [1] "unix" >=20 That is weird. When you used Sys.setenv(WINE=3D...) Sys.setenv(WINEPATH=3D...) Sys.setenv(DISPLAY=3D":0.0") schools.sim <- bugs (data=3Ddata, ... it worked, when you used Sys.setenv(DISPLAY=3D":0.0") schools.sim <- bugs (data=3Ddata, ... you got an error something like "sh: line 1: no: command not found", but findUnixBinary(x=3D"wine") and findUnixBinary(x=3D"winepath") works. = This=20 can not be the case, as findUnixBinary is used when WINE/WINEPATH is=20 NULL. Are you sure your reports are OK? Do you have WINE and WINEPATH=20 variables set by default? --=20 Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty www: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department blog: http://ggorjan.blogspot.com Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale fax: +386 (0)1 72 17 888 Slovenia, Europe tel: +386 (0)1 72 17 861 ---------------------------------------------------------------------- |