From stefano.iacus at unimi.it  Sat Feb 21 14:55:51 2004
From: stefano.iacus at unimi.it (stefano iacus)
Date: Sat Feb 21 14:56:01 2004
Subject: [Rd] Math Symbols in plots under Darwin/Panther
In-Reply-To: <21F6DBC3-6470-11D8-BAB3-000A959F327E@math.uni-augsburg.de>
References: <BC5799F7-627E-11D8-A1DC-000A95C87F66@unimi.it>
	<21F6DBC3-6470-11D8-BAB3-000A959F327E@math.uni-augsburg.de>
Message-ID: <A8AF2542-6475-11D8-8365-000A95C87F66@unimi.it>


On Feb 21, 2004, at 2:16 PM, Simon Urbanek wrote:

> On Feb 19, 2004, at 2:55 AM, stefano iacus wrote:
>
>> I've just committed a new version of the quartz device to R-devel.
>> This seems to fix the problem with displaying math symbols in plots 
>> under Panther.
>
> I gave it a shot on a Jag machine (darwin 6.8), here are my results.
>
>> I can't not more test R under Jaguar (at least not these days). In 
>> case you have the opportunity to do that, please send me a report if 
>> it brokes everything under Jaguar (or eventually say "it's ok")
>
> Do we have the chicken-and-egg problem again?
> during the build, while building R_X11.so:
> ld: can't locate framework for: -framework R
>

this should not happen. Now we only change this in the installed 
version of R not in build dir. Do you have another R in the path 
breaking up things?


> I thought this was fixed a while ago: you can't use -framework R when 
> building R modules, because R is not installed as a framework yet. I 
> had proposed the fake framework for building or different flags for 
> initial build and packages build, but I don't remember which solution 
> was used in the end - and it seems like none is used in the current 
> R-devel :P

what we do now is:
* nothing in build dir of R, because of the problem above.
* we changed etc/Makeconf in the R.framework only after R.framework 
installation
could you please try to see what yo have in etc/Makeconf and bin/SHLIB 
inside your build dir? I mean, did you happen to have -framework R 
somewhere? ($LIBR)

stefano


> (I was away for a week so I didn't test R-devel in the meantime and I 
> strongly suspect that this is not Jag-dependent)

ehm and surely you have done the build on a fresh (and cleaned) 
rysinced version of R-devel :)

>
>> A couple of test as example(plotmath) and demo(plotmath) should 
>> suffice to see if things go smoothly.
>
> Well, define "smoothly" - on the Jag machine I tested the font face is 
> constant and all math symbols and operators appear as boxes - i.e. the 
> font is not changed, but no errors or crashes.
>

so, it doesn't work at all. This means that, that patch should not be 
applied on Jaguar and further means that I have to identify which 
version of OSX is running.

thanks Simon,

stefano


[Rd] Math Symbols in plots under Darwin/Panther
stefano iacus