Dear useRs, When I executed help.search(), I got nothing other than the following warning message. R> help.search("print") Error in help.search("print") : (converted from warning) removing all entries with invalid multi- byte character data I am using Leopard 10.5.4 and R-2.7.1. How to solve the above problem? Best, Dong-hyun Oh
On Mon, 11 Aug 2008, Dong-hyun Oh wrote:> Dear useRs, > > When I executed help.search(), I got nothing other than the following warning > message. > > R> help.search("print") > Error in help.search("print") : > (converted from warning) removing all entries with invalid multi-byte > character data > > I am using Leopard 10.5.4 and R-2.7.1. > > How to solve the above problem?Remove the packages which have non-UTF-8 data. But why did you convert a warning to an error? There are some (CRAN and other) packages which do not have correct declarations for their encoding, and this causes such warnings. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, 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
On Tue, 12 Aug 2008, Prof Brian Ripley wrote:> On Mon, 11 Aug 2008, Dong-hyun Oh wrote: > >> Dear useRs, >> >> When I executed help.search(), I got nothing other than the following >> warning message. >> >> R> help.search("print") >> Error in help.search("print") : >> (converted from warning) removing all entries with invalid multi-byte >> character data >> >> I am using Leopard 10.5.4 and R-2.7.1. >> >> How to solve the above problem? > > Remove the packages which have non-UTF-8 data. But why did you convert a > warning to an error? > > There are some (CRAN and other) packages which do not have correct > declarations for their encoding, and this causes such warnings.On my system those packages are FracSim distributions kappalab rindex survrec all of which appear to be in Latin-1 but do not have a declared encoding. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, 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