[R] INSTALL Problems

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sat Apr 28 10:55:50 CEST 2001


On Fri, 27 Apr 2001, Marlon Martins dos Reis wrote:

> Dear All,
>
> I have tried to install the tensor package (from:
> http://cran.r-project.org/src/contrib/PACKAGES.html#tensor ), using the
> comand:
> "
> shell("Rcmd INSTALL tensor")
> "
> then I got the following mensage:

[...]

> hhc tensor.hhp
> make[2]: hhc: Command not found
> make[2]: [tensor.chm] Error 127 (ignored)
> mkdir -p d:/bin/cran/rw1022/library/tensor/chtml
> cp D:/bin/cran/tucker/tensor/chm/tensor.chm
> d:/bin/cran/rw1022/library/tensor/chtml
> cp: D:/bin/cran/tucker/tensor/chm/tensor.chm: No such file or directory
> make[1]: *** [chm-tensor] Error 1
> make[1]: Leaving directory `/d/bin/cran/rw1022/src/gnuwin32/help'
> make: *** [pkg-tensor] Error 2
> make: Leaving directory `/d/bin/cran/rw1022/src/gnuwin32'
> *** Installation of tensor failed ***
>
>
> -------------------------------------------------------------------------------------------
>
> I supposed that the problem was in the
> file(d:/bin/cran/rw1022/src/gnuwin32/help/Makefile), then I commented
> the followings lines in this file:

Don't, please.  You have changed somehow the line

WINHELP = NO # Use one of NO, CHM, BOTH (chm and winhelp)

in src/gnuwin32/Makefile.  Either install the HTML Help workshop (see
readme.packages) or revert to the default.

(Or you are using a complete source distribution and not following the
instructions in INSTALL ....)

> When I tried the comand :
>  library(tensor)
> and I  got :
> -----------------------------------------------------------------------------------------------
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library
> "D:/bin/cran/rw1022/library/tensor/libs/tensor.dll":
>   LoadLibrary failure:  A dynamic link library (DLL) initialization
> routine failed.
> Error in library(tensor) : .First.lib failed
> -----------------------------------------------------------------------------------------
>
> Did I missed some important point ?

Once again, it looks like a compiler problem.  Compiling this package
worked on my system with no problems.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list