[R] Package installing

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Tue Feb 20 00:19:56 CET 2001

>>>>> Hauke Hildebrandt writes:

> Hi!

> I have written a small package that consists just of some *.R source
> files

> and the corresponding documentation (and nothing else). Building the package

> using R CMD build works fine and produces a pkg.tar.gz file. But if I
> try to install

> it (R INSTALL pkg), R tries to build a shared library and gcc doesn't find the required

> source files (well, there aren't any):

> Installing source package `ocean' ...
>  libs
> gcc -shared  -o ocean.so  -L/usr/local/lib
> gcc: No input files
> make: *** [ocean.so] Error 1
> ERROR: Compilation failed for package `ocean'

> What am I doing wrong??

Do you have a `src' subdirectory?  Does this contain C or FORTRAN source

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