[R] Rcmd SHLIB problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 12 11:23:45 CET 2001


it should and does work with Fortran (and C++) files.  The right format is

Rcmd SHLIB tryf.f

I've just tested that under rw1031 and the pretest of 1.4.0, so I've
no idea what's up for you.

B

On Mon, 10 Dec 2001, Liaw, Andy wrote:

> Dear R-help,
>
> I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
>
> C:\TEMP>Rcmd SHLIB tryf.o
> make[1]: `libR.a' is up to date.
> make: *** No rule to make target `'tryf.o', needed by `tryf.a'.  Stop.
>
> C:\TEMP>Rcmd SHLIB tryf.f
> make[1]: `libR.a' is up to date.
> make: *** No rule to make target `'tryf.o', needed by `tryf.a'.  Stop.
>
> I compiled R from source, so I'm quite sure I've got all the right tools.
> Can anyone explain what I'm missing?  The FAQ only mentioned compiling C
> code.  I'd imagine that Fortran code works the same way, no?
>
> Any help/hint are much appreciated!
>
> Cheers,
> Andy
> Andy I. Liaw
> Biometrics Research          Phone: (732) 594-0820
> Merck & Co., Inc.              Fax: (732) 594-1565
> P.O. Box 2000, RY70-38            Rahway, NJ 07065
> mailto:andy_liaw at merck.
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
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