I was re-running some code that I hadn't run in a couple of months to make barplots in R. I didn't change a single thing in the script, but the plots wouldn't work this time around. The plot itself (the bars and axes) will graph in the window, but no text appears. In the console it says I have a number of errors, all of which say "no font could be found for family 'Arial'". I have not knowingly changed anything in R and I would like to be able to make barplots with labels and titles again. Does anyone know how to fix this? Thank you! -- View this message in context: http://r.789695.n4.nabble.com/no-font-could-be-found-for-family-Arial-tp3233322p3233322.html Sent from the R help mailing list archive at Nabble.com.
Please do read the posting guide: what OS, what version of R, what graphics device .... At a guess this was Mac OS X (and this was the wrong list) and you need to repair your Mac OS fonts. There are threads on R-sig-mac about that every couple of months, including this month. On Sun, 23 Jan 2011, emmats wrote:> > I was re-running some code that I hadn't run in a couple of months to make > barplots in R. I didn't change a single thing in the script, but the plots > wouldn't work this time around. The plot itself (the bars and axes) will > graph in the window, but no text appears. In the console it says I have a > number of errors, all of which say "no font could be found for family > 'Arial'". > I have not knowingly changed anything in R and I would like to be able to > make barplots with labels and titles again. Does anyone know how to fix > this? > > Thank you! > -- > View this message in context: http://r.789695.n4.nabble.com/no-font-could-be-found-for-family-Arial-tp3233322p3233322.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
I hope the original poster fixed this a long time ago, but I had the same problem and here is how I fixed it: - go to the application Fontbook - check if the Arial font has duplicates, and delete them, even if they are set to "Off" - restart the computer. emmats wrote> > I was re-running some code that I hadn't run in a couple of months to make > barplots in R. I didn't change a single thing in the script, but the > plots wouldn't work this time around. The plot itself (the bars and axes) > will graph in the window, but no text appears. In the console it says I > have a number of errors, all of which say "no font could be found for > family 'Arial'". > I have not knowingly changed anything in R and I would like to be able to > make barplots with labels and titles again. Does anyone know how to fix > this? > >-- View this message in context: http://r.789695.n4.nabble.com/no-font-could-be-found-for-family-Arial-tp3233322p4639257.html Sent from the R help mailing list archive at Nabble.com.