Re: [Rd] Sligthly OT Re: Makefile for embedding OpenBUGS in R package

2007-08-08 Thread Hin-Tak Leung
Tobias Verbeke wrote: > Actually, I think Hin-Tak is right about the absolute path. Even when > the R code will call the executable that resides in that directory, R > will call it from any directory and that (current) directory will be > resolved (at least that is what I observe experimentally

Re: [Rd] Sligthly OT Re: Makefile for embedding OpenBUGS in R package

2007-08-08 Thread Tobias Verbeke
Thank you very much for your input. In the meantime I was -- thanks to the pointer to the Rserve Makefile by Professor Ripley -- able to have a Makefile that built the package correctly: SFILE = ../inst/OpenBUGS/linbugs.c XFILE = ../inst/OpenBUGS/linbugs SOFILE = ../src/linbugs.so all: $(XFILE)

Re: [Rd] SWF animation method

2007-08-08 Thread Mike Lawrence
Thanks to Max & Romain for noting alternative methods. As mentioned in my original post, I've tried the png->imagemagick- >gif solution and was displeased with quality of the results (using default quality values at least). Additionally, I disliked the idea (shared with the menconder method)

Re: [Rd] SWF animation method

2007-08-08 Thread Kuhn, Max
Also, I've used ImageMagick's convert utility to make animated gifs. Generate a series of files (I used png) and then convert -delay 50 -page +0+0 im01.png -page +0+0 im01.png -page +0+0 im01.png -loop 0 mov.gif Max > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: [Rd] SWF animation method

2007-08-08 Thread Romain Francois
Hello Mike, You might want to give "mencoder" a try. It usually comes with mplayer. I did play with it a while ago and was fairly happy with the results. Basically, the idea was to create many jpg files somewhere, which is not too hard using the %03d substitution described in ?jpeg. The rest is

Re: [Rd] SWF animation method

2007-08-08 Thread Ted Harding
On 08-Aug-07 13:52:59, Mike Lawrence wrote: > Hi all, > > Just thought I'd share something I discovered last night. I was > interested in creating animations consisting of a series of plots and > after finding very little in the usual sources regarding animation in > R directly, and dislikin

Re: [Rd] SWF animation method

2007-08-08 Thread bryan rasmussen
I suppose what is really wanted is a way to associate a the parts of a graph with a timeline a la gapminder. Cheers, Bryan Rasmussen On 8/8/07, Mike Lawrence <[EMAIL PROTECTED]> wrote: > Hi all, > > Just thought I'd share something I discovered last night. I was > interested in creating animation

[Rd] SWF animation method

2007-08-08 Thread Mike Lawrence
Hi all, Just thought I'd share something I discovered last night. I was interested in creating animations consisting of a series of plots and after finding very little in the usual sources regarding animation in R directly, and disliking the imagemagick method described here (http://tolstoy

[Rd] Use of __FUNCTION__ and__PRETTY_FUNCTION__ is not portable

2007-08-08 Thread Prof Brian Ripley
These are C/C++ extensions found in several packages[1]. They are non-standard: the C99 standard has __func__ which should be used in C in place of either. If you really want back compatibilty, try something like #if __STDC_VERSION__ < 199901L # if __GNUC__ >= 2 # define __func__ __FUNCTION__

Re: [Rd] Sligthly OT Re: Makefile for embedding OpenBUGS in R package

2007-08-08 Thread Uwe Ligges
Hin-Tak Leung wrote: > Prof Brian Ripley wrote: >> OpenBUGS is distributed under GPL2, so this seems not to apply. >> It is distributed as source and as binaries: the difficulty is that it >> is written in Object Pascal for which a compiler is not readily available. > > Argh, I just thought of