Re: [Rd] package Geneland / Rgui under windows

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Mon, 15 Oct 2007 19:13:14 +0100

I don't have 'genuine' windows, but I have been running win32 R under wine from time to time for a couple of years (among other reasons, for testing cross-compilation of our R package - snpMatrix in

http://www-gene.cimr.cam.ac.uk/clayton/software/), and your package
(fields_3.5.zip  Geneland_2.0.8.zip  RandomFields_1.3.30.zip)
works fine with win32 R 2.6.0 Rgui under wine.

However, I notice an anomaly - You are using printf() instead of Rprintf() - and these messages:


get sent to the parent terminal controlling wine, rather than going into Rgui's console. (we made a similiar mistake in an early version of snpMatrix).

Consider replacing printf() with Rprintf() . This is an FAQ in the R-windows FAQ web page. That might be why Rgui hangs in XP but Rterm works.

Gilles GUILLOT wrote:
> I forgot to say that I was the package author.
> I suspected a bug of R as Geneland worked fine for two
> years and the problem popped up
> with the release of R 2.6.0
> And I can't see any explanation.
> So, any clue would help.
>
> gilles
>
>

>> Gilles GUILLOT wrote:
>>> Hi,
>>> I experienced a problem with the package Geneland under R 2.6.0
>>> with  windows XP professional.
>>>
>>> The commands below should simulate a dataset,
>>> then make an MCMC simulation stored in tempdir().
>>>
>>> It works with R 2.5.1 (both GUI and command line)
>>> It works with the command line of R 2.6.0
>>> but not with the R GUI of 2.6.0: no output file is created in tempdir()
>>> and R remains frozen.
>>> I reported it as a bug
>>> (PR#9964)  but did not get any feed back.
>> I think the general rule-of-thumb is to contact the package author for
>> problems with individual packages.  Many package authors read this list,
>> but there are probably some that do not.  Sometimes problems with
>> individual packages are actually bugs in R, but I would say that this is
>> not usually the case.  However, the package author is probably the best
>> person to make this judgment.
>>
>> Sean
>>

>
>
> _________________________________________________________________
> Gilles GUILLOT
> INRA MIA Paris - FRANCE
>
> Now working from Matematisk Statistik
> Chalmers University of Technology,
> S-412 96 Göteborg, SWEDEN
> Rum: 3079
> tel: +46 31 772 5338,
> Email: guillot_at_math.chalmers.se
> http://www.inapg.inra.fr/ens_rech/mathinfo/personnel/guillot/welcome.html
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 15 Oct 2007 - 18:16:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:37:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.