[R] Strange error from R CMD INSTALL

Kjetil Brinchmann Halvorsen kjetil at acelerate.com
Wed Dec 8 16:09:49 CET 2004


Kjetil Brinchmann Halvorsen wrote:

> I am trying to install a local package and get this unexpected
> error:
>
> ---------- Making package UMSA ------------
>  adding build stamp to DESCRIPTION
>  installing R files
>  installing data files
>  installing man source files
>  installing indices
> Error: couldn't find function "na.omit"
> Execution halted
>
> na.omit of course is in package stats, and that is listed in the
> Depends field in the DESCRIPTION file.
>
> What is happening?
>
> (Windows XP with all development tools installed)
>
> Kjetil
>
Replying to myself with more information: 

(running from Xemacs shell)
Using a package with NO explicit calls to the function na.omit, (but 
with some handling of NA's
with other means):

C:\R\rw2001\src\gnuwin32>Rcmd INSTALL ../library/Drogas
Rcmd INSTALL ../library/Drogas


---------- Making package Drogas ------------
  adding build stamp to DESCRIPTION
  no R files in this package
  installing data files
  installing man source files
  installing indices
Error: couldn't find function "na.omit"
Execution halted
make[2]: *** [indices] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-Drogas] Error 2
*** Installation of Drogas failed ***




-- 

Kjetil Halvorsen.

Peace is the most effective weapon of mass construction.
               --  Mahdi Elmandjra




More information about the R-help mailing list