Hi Patrick,

I don't have an answer for you.
But thought it might be worth to have a look at this:
http://www.r-bloggers.com/getting-data-from-an-image-introductory-post/

Also, there was someone who presented a really simple GUI system in
useR2010.  Where his code gave a GUI based on R base graphics, where it
added buttons above an image, and allowed to act on the buttons to induce an
action.  I wasn't able to find his talk on the website, but it exists and
might help you with some of the coding.

Lastly I would add that I would be curious to see how you would solve your
issue.  If you happen to solve it by yourself, please consider posting it
back here.

Cheers,
Tal



----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Fri, Jul 30, 2010 at 12:30 PM, Patrick Schorderet <
patrick.schorderet@epfl.ch> wrote:

>
> Hello,
>
> I am trying to import an .eps file created with Adobe Illustrator and
> plot it in a Quartz window (I am using R 2.11.1 GUI 1.34 Leopard build
> 32-bit (5589) on MacOSx.5.8).
> I thought of using the PostScriptTrace() to convert my .eps file to
> RGML,  and then use readPicture to plot the file, but the first step
> already fails (cf below).
> I also had a look at the add.image( ) example, which does work on my
> screen.
> Ultimately, I would like to plot my picture and let the user click on
> different parts to run different actions.
> Thanks for any help or alternative ways to do this,
>
> Patrick
>
>
> PostScriptTrace("test.eps")
> /bin/sh: gs: command not found
> Erreur dans PostScriptTrace("test.eps") :
>   status 32512 in running command 'gs -q -dBATCH -dNOPAUSE -
> sDEVICE=pswrite -sOutputFile=/dev/null -sstdout=test.eps.xml
> capturetest.eps'
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

