Ellen
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
Scanning ttf files in C:\WINDOWS\Fonts ... Extracting .afm files from .ttf files... C:\WINDOWS\Fonts\arial.ttfError in system2(ttf2pt1, c(args, shQuote(ttfiles[i]), shQuote(tmpfiles[i])), : CreateProcess failed to run 'C:\PROGRA~1\R\R-215~1.0\library\Rttf2pt1\exec\ttf2pt1.exe -G fAe "C:\WINDOWS\Fonts\arial.ttf" "C:\DOCUME~1\Elpape\LOCALS~1\Temp\Rtmp42TjjM/fonts/arial"'
I do not understand what the problem is?
Maybe you can help me?
Thanks!
Ellen
> install.packages('extrafont')
also installing the dependencies ‘extrafontdb’, ‘Rttf2pt1’
trying URL 'http://cran.ma.imperial.ac.uk/bin/macosx/leopard/contrib/2.15/extrafontdb_1.0.tgz'
Content type 'application/x-gzip' length 6234 bytes
opened URL
==================================================
downloaded 6234 bytes
trying URL 'http://cran.ma.imperial.ac.uk/bin/macosx/leopard/contrib/2.15/Rttf2pt1_1.0.tgz'
Content type 'application/x-gzip' length 93086 bytes (90 Kb)
opened URL
==================================================
downloaded 90 Kb
trying URL 'http://cran.ma.imperial.ac.uk/bin/macosx/leopard/contrib/2.15/extrafont_0.9.tgz'
Content type 'application/x-gzip' length 25663 bytes (25 Kb)
opened URL
==================================================
downloaded 25 Kb
The downloaded binary packages are in
/var/folders/rg/9nvd_h115qv1x7zsxnq8tl8h0000gn/T//Rtmp7pKKwN/downloaded_packages
> library(extrafont)
> font_import()
Importing fonts may take a few minutes, depending on the number of fonts and the speed of the system. Continue? [y/n] y
Scanning ttf files in /Library/Fonts ...
Extracting .afm files from .ttf files...
Error in which_ttf2pt1() : ttf2pt1 not found in path.
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] grid stats graphics grDevices utils datasets methods base
other attached packages:
[1] extrafont_0.9 scales_0.2.1 ggplot2_0.9.1
loaded via a namespace (and not attached):
[1] colorspace_1.1-1 dichromat_1.2-4 digest_0.5.2 labeling_0.1 MASS_7.3-18
[6] memoise_0.1 munsell_0.3 plyr_1.7.1 proto_0.3-9.2 RColorBrewer_1.0-5
[11] reshape2_1.2.1 Rttf2pt1_1.0 stringr_0.6 tools_2.15.1