[R] Package installing

Hauke Hildebrandt Hauke.Hildebrandt at iup.uni-heidelberg.de
Mon Feb 19 14:56:11 CET 2001


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' ...
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??

Thanks in advance,


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