An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20081230/6df7d5ff/attachment.pl>
cannot load package "splines"
2 messages · Charles Annis, P.E., Brian Ripley
That is not what the message says: the actual error is on the last line. Try 'library(splines)' directly. I suspect the issue is an encoding issue with mh1823, a package not known to us. In particular, do you have any non-ASCII code in your package? Check over the advice on portability issues in 'Writing R Extensions'.
On Tue, 30 Dec 2008, Charles Annis, P.E. wrote:
Greetings R-Helpers: I am trying to help a Chinese colleague who is experiencing difficulty loading my package. He is running WindowsXP and the Chinese version of R2.8.1. As you can see from his screen-copy (below), my package is successfully unpacked but cannot be loaded because splines balks when attempted to be loaded. Package mh1823 requires package survival, which in turn requires splines.
utils:::menuInstallLocal()
package 'mh1823' successfully unpacked and MD5 sums checked updating HTML package descriptions
local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: rcom Loading required package: rscproxy Loading required package: RODBC Loading required package: RColorBrewer Loading required package: survival Loading required package: splines Error in parse(n = -1, file = file) : invalid multibyte character in parser at line 33 $B:x8m(B: unable to load R code in package 'mh1823'
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