Skip to content

Rcmd SHLIB

4 messages · Brian Ripley, Gabriel Lawson, Duncan Murdoch

#
Most likely you don't have dlltool in your path.  Further, I suspect you 
don't have the correct make in your path since AFAIK that does not use 
CreateProcess.

Please check and check again that you have followed exactly all the 
instructions in the file readme.packages.  See Q3.1 in the rw-FAQ.
On Sat, 28 Feb 2004, Gabriel Lawson wrote:

            

  
    
#
Thanks tons.  If you get a moment and feel like answering another question:
Regarding the readme.packages file excerpt below:  How can I set the R_HOME
path?  Is it always the R install directory?  Also, is creating libR.a and
libRblas.a a neccessary step in creating ANY dll for use with R?
BEWARE: Don't expect this to work if the path to R_HOME contains spaces.

It may work, but we don't recommend it.



Thanks for your time,

gabe





----- Original Message ----- 
From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>
To: "Gabriel Lawson" <gagongabe at earthlink.net>
Cc: <r-help at stat.math.ethz.ch>
Sent: Saturday, February 28, 2004 11:54 PM
Subject: Re: [R] Rcmd SHLIB
R.dll --def R.
#
On Sun, 29 Feb 2004 15:43:25 -0800, you wrote:

            
R_HOME should be the base directory where you install R.

The libR.a and libRblas.a files are used by the gcc linker to tell it
how to make calls into R.dll or Rblas.dll.  If you're using a
different compiler or you don't need to make calls into those dlls
(e.g. you've got a very simple DLL), you won't need them.

Duncan Murdoch