[R] issue with encoding in R-2.8.1 invalid multibyte character
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Dec 30 18:30:28 CET 2008
Well, we don't see what you see. but if ? was hex a7, the message is
entirely correct. If you want to enter that, use "\xa7".
On Tue, 30 Dec 2008, Wijffels, Jan wrote:
> Hi,
>
>
>
> We recently switched from R2.7.0 to R2.8.1 but having problems tracking down this 'invalid multibyte character' encoding issue. Can someone point us how to solve this?
>
>
>
>
>
>> sessionInfo()
>
> R version 2.8.1 (2008-12-22)
>
> x86_64-unknown-linux-gnu
>
>
>
> locale:
>
> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
>
>
>
> attached base packages:
>
> [1] stats graphics grDevices utils datasets methods base
>
>> print("?")
>
> Error: invalid multibyte character in parser at line 1
>
>
>
>
>
>> sessionInfo()
>
> R version 2.7.0 (2008-04-22)
>
> x86_64-unknown-linux-gnu
>
>
>
> locale:
>
> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
>
>
>
> attached base packages:
>
> [1] stats graphics grDevices utils datasets methods base
>
>> print("?")
>
> [1] "\xa7"
>
>
>
> Thanks,
>
>
>
> Jan Wijffels
>
> Statistical Analyst
>
> www.thomascook.be | +32 9 241 1709
>
>
>
>
> [[alternative HTML version deleted]]
>
>
--
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
mailing list