[R] unicode only works with a second one

Paul Murrell p.murrell at auckland.ac.nz
Sun Apr 5 22:37:01 CEST 2009


Hi


Thomas Steiner wrote:
> Hi Greg and Paul,
> 
> I tried several things, but I did not succeed:
> 
> * I could not find the library(EBImage) on CRAN in Austria to open an
> png image in R.
> 
> * I could not import the image via pixmap (read.pnm) as described on
> http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:translucency
> because my GIMP cannot write pnm format.
> 
> * I could not manage use the 'grImport' package to trace the svg:
>> readPicture("Aries.svg")
> Fehler in readPicture("Aries.svg") :
>   Version mismatch: RGML file needs to be recreated with PostScriptTrace()


Yep, you need to convert to PostScript (ImageMagick or InkScape ought to
do it) before you can import it.  See
http://www.stat.auckland.ac.nz/~paul/R/grImport/import.pdf
for a thorough description of how the package works.

Paul


> * I gave up modifiying the svg code from wikipedia to make it an R
> array (structure) as you greg described it above.
> 
> If you have any hint for me please let me know. I am willing to
> contribute something to TeachingDemos (although I am not sure if this
> is not a license problem as I trace the (public domain) images from
> wikimedia.
> 
> Otherwise I am happy with the Hershey fonts so far.
> Thomas

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/




More information about the R-help mailing list