Skip to content

dyn.load and/or add new package (Windows 98)

4 messages · Yoon, Hoon (CICG - NY Program Trading), Brian Ripley, Douglas Steele +1 more

#
Acutally the dll's on Splus could be compiled from VC++ and Borland.
http://www.mathsoft.com/support/splusmenu.htm
check the docs on cfortran.pdf
I am surprised that R can't do that. Am I misunderstanding something.

**************************************************************
S. Hoon Yoon                   (Quant)                    Merrill Lynch
Equity Trading 
yelled at yahoo.com hoon at bigfoot.com(w)
"Miracle is always only few standard deviations away, but so is
catastrophe."
* Expressed opinions are often my own, but NOT my employer's.
"I feel like a fugitive from the law of averages."    Maudin
**************************************************************
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 2 Dec 1998, Yoon, Hoon (CICG - NY Program Trading) wrote:

            
Yes. This is not true for S-PLUS (see the V&R2 programming complements)
and the same reasoning applies to R. You can build DLLs on other
compilers, but then don't expect to be able to call system routines.

BTW: Douglas Steele's caveat on DLLs is out of date: we do know how
to build them natively on Windows in a way that works on all Windows
platforms. Look back in instructions in the V&R2 `R complements' for
details. (www.stats.ox.ac.uk/pub/MASS2/sites.html)
#
In article <Pine.GSO.3.96.981202163520.12812C-100000 at toucan.stats>, Prof
Brian Ripley <ripley at stats.ox.ac.uk> writes
Actually, I said that the restriction on the Watcom compiler requirement
for S+ ONLY related to loading OBJ files.  Any compiler able to make a
32bit DLL could be used to create a loadable dll file for S+.  With S+
if one links to a copy of the system import lib, then system commands
can be called.
The most recent information I know on this is Guido's approach...

  "So, as Mumit said we need a binutils for Win32 
   which does not use the Windows crtdll.dll. One
   possibility is to use the cygnus binutils which 
   use the cygnus C library. So, I made the following two
   attempt:
   A) I replaced the egcs-1.1. binutils with the one from
   Cygnus B20 (only the binutils not the compiler); 
   recompiled rw0624 and its dll's;
   B) same but using gccwin32 (not egcs1.1).
   I tested the dll's so built on:
   a)Win98+rw0624;
   b) win95+rw0624;
   c)Win95+rw0623
   without problems."


And I tested Guido's dll's on my system (Win95b) which could not load
Win95 natively built dll's  (that is built in SOME Win95 systems,
including mine).  Guido's dll worked OK.  However, his always did on my
system; some Win95 built dll's seemed OK on my system.

The only real test is to make the dll on a Win95 machine, using Guido's
approach, which up until that time had produced dll's which refused to
load.  I would be interested to hear if this specific test has been
done.  (I would have, but now use S+/Watcom/f2c and no longer have
enough space available).

If there have been further developments since then I would of course be
interested.
#
On Wed, Dec 02, 1998 at 09:48:54PM +0000, Douglas Steele wrote:
Douglas,
  dll's made natively using the linker of the Cygnus B20 seems
  to work well everywhere. 
  Brian Ripley (look to the Instructions in his makehelp.zip 
  file, or to the V&R R complement) has detailed what must be
  done.
  And thanks again for all your testing.
  g.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._