[pkg-bioc] R2WinBUGS

Gregor Gorjanc gregor.gorjanc at gmail.com
Mon Feb 6 20:37:04 UTC 2006


Hi!

I have just tried to build a R2WinBUGS package following instructions at
 [1]. It went all fine. Very impressive. Since R2WinBUGS calls WinBUGS,
which is Windows application, wine should be in Depends field. WinBUGS
works fine with recent wine as installed by description at [2].

One more thing. Recently Ben Bolker and Yun Yan ported code from rbugs
to R2WinBUGS to work with wine. However, R2WinBUGS does not work with
recent wine, but it works with old style of wine config i.e.
~/.wine/config. I will report this to R2WinBUGS maintainers, but I would
like to raise another question related to Debian packaging of this
package. When bugs() function is run, one can give location of wine
binary to argument WINE. Default for this is

WINE = Sys.getenv("WINE"))

and if environmental variable WINE is not set the following code is
issued to locate the binary.

WINE <- system("locate wine | grep bin/wine$", intern = TRUE)

This can take some time and I was wondering if it would make sense to
include setting of WINE variable in "script" of a Debian package. Any
comments on this?

[1] http://wiki.debian.org/DebianCRAN
[2] http://www.winehq.com/site/download-deb

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------






More information about the pkg-bioc-devel mailing list