[R] Hershey fonts for musical notation?

From: Atte Tenkanen <attenka_at_utu.fi>
Date: Wed 03 Jan 2007 - 08:17:06 GMT


I'd like to know if it is possible to use Hershey vector fonts to create very primitive musical notation. If I can hang some whole notes on these lines

plot(0,0, xlim=c(0,10), ylim=c(0,10))
# Staves:
for (i in c(seq(from=2,to=2.8,by=0.2),seq(from=4,to=4.8,by=0.2))) {


it is enough.

Best wishes,

Atte Tenkanen
University of Turku, Finland

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

R-help@stat.math.ethz.ch 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. Received on Thu Jan 04 07:41:55 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 04 Jan 2007 - 06:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.