[R] Hershey fonts for musical notation?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Jan 3 12:54:58 CET 2007
On Wed, 3 Jan 2007, Atte Tenkanen wrote:
> By the way, right now the demo(Hershey) seems not to work in OSX version R 2.4.1. ...
> I get a message
>> i <- i + 1
> Error in deparse(ei, control = c("showAttributes", "useSource")) :
> invalid multibyte string
But it does should work in R-devel, which deparses differently. The
issue is the use of a UTF-8 locale and the Hershey byte codes are indeed
an invalid string in such a locale. Here is a simple example in UTF-8.
> x <- "\301"
Error: invalid multibyte string
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
More information about the R-help