[R-SIG-Mac] rgl 0.80

Kenneth Knoblauch ken.knoblauch at inserm.fr
Thu Jul 24 19:36:12 CEST 2008


Hi Duncan,

Just to mention that the temporary fix that you proposed
for rgl version 0.8-0, indicated at the very bottom of this
mail, works as well on an Intel Mac, until you have fixed it
in the next version.  Thanks.

I'm forwarding this now to the R-sig-mac list, in case anyone
encounters the same problem.

best,

Ken


Quoting Duncan Murdoch <murdoch at stats.uwo.ca>:

> On 7/23/2008 3:34 PM, kknoblauch at free.fr wrote:
> > Sorry for the delay.  It's dinner time here.
> >
> > Always wise to be sure:
> >
> > % pwd
> > /Users/kenknoblauch/Library/R/2.7/library/rgl/fonts
> >
> > ken
> >
> >
> > Quoting Duncan Murdoch <murdoch at stats.uwo.ca>:
> >
> >> On 7/23/2008 3:02 PM, Ken Knoblauch wrote:
> >> > Hi Duncan,
> >> >
> >> > My normal mail address seems to have a problem (temporary, I hope),
> >> > but here is the response to your queries.  I'm back on the powerpc.
> >> >
> >> > rglFonts("sans")
> >> > $sans
> >> > [1] "/Builds/Rdev-web/QA/Simon/packages/tiger-universal/Rlib/2.7/rgl/
> >> > fonts/FreeSans.ttf"
> >> > [2] "/Builds/Rdev-web/QA/Simon/packages/tiger-universal/Rlib/2.7/rgl/
> >> > fonts/FreeSans.ttf"
> >> > [3] "/Builds/Rdev-web/QA/Simon/packages/tiger-universal/Rlib/2.7/rgl/
> >> > fonts/FreeSans.ttf"
> >> > [4] "/Builds/Rdev-web/QA/Simon/packages/tiger-universal/Rlib/2.7/rgl/
> >> > fonts/FreeSans.ttf"
> >> >
> >> > If you ask me, it looks to be a problem in the path specification.
> >>
> >> Just to confirm:
> >>
> >> /Builds/Rdev-web/QA/Simon/packages/tiger-universal/Rlib/2.7/
> >>
> >> is not where rgl got installed?
> >>
> >> Duncan
> >>
> >> > If I double click on the file FreeSans.ttf, it opens in the Font
> >> > Viewer and
> >> > displays the font.
> >> >
> >> > As far as my permissions,
> >> >
> >> > library/rgl/fonts] kenknobl% ll
> >> > total 2992
> >> > -rw-r--r--   1 kenknobl  kenknobl  292816 Jul 22 09:22 FreeMono.ttf
> >> > -rw-r--r--   1 kenknobl  kenknobl  260792 Jul 22 09:22 FreeSans.ttf
> >> > -rw-r--r--   1 kenknobl  kenknobl  973940 Jul 22 09:22 FreeSerif.ttf
> >> >
> >> > Hope that helps.
> >> >
> >> > best,
> >> >
> >> > Ken
> >> >
> >>
> >>
> >
>
> Okay, I've got it, I think.  I was executing some code at install time
> that should have been executed at load time.  Since binary builds get
> installed on Simon's computer, you got his path, not yours.
>
> You should be able to fix things by executing
>
  rglFonts(serif = rep(system.file("fonts/FreeSerif.ttf", package="rgl"), 4),
                     sans  = rep(system.file("fonts/FreeSans.ttf",
  package="rgl"), 4),
                      mono  = rep(system.file("fonts/FreeMono.ttf",
  package="rgl"), 4),
                      symbol = rep(system.file("fonts/FreeSerif.ttf",
  package="rgl"), 4))

> in your session before trying to open a window.
>
> Duncan
>

-- 
Ken Knoblauch
Inserm U846
Institut Cellule Souche et Cerveau
Département Neurosciences Intégratives
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.sbri.fr



More information about the R-SIG-Mac mailing list