[R] intToUtf8

Christian Hennig chrish at stats.ucl.ac.uk
Fri Sep 19 15:32:42 CEST 2008


Hi there,

any explanation for this?

> intToUtf8(66)
Error in intToUtf8(66) : argument 'x' must be an integer vector
> intToUtf8(c(66,55))
Error in intToUtf8(c(66, 55)) : argument 'x' must be an integer vector
> intToUtf8(c(66,55),multiple=TRUE)
Error in intToUtf8(c(66, 55)) : argument 'x' must be an integer vector

Errr... 66 and c(66,55) are as integer vectorish as anything can be, aren't 
they?

> version
                _
platform       i686-pc-linux-gnu
arch           i686
os             linux-gnu
system         i686, linux-gnu
status
major          2
minor          6.0
year           2007
month          10
day            03
svn rev        43063
language       R
version.string R version 2.6.0 (2007-10-03)

Thanks,
Christian

*** --- ***
Christian Hennig
University College London, Department of Statistical Science
Gower St., London WC1E 6BT, phone +44 207 679 1698
chrish at stats.ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche



More information about the R-help mailing list