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"
> x
[1]Error: invalid multibyte string


-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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

______________________________________________
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.

Reply via email to