From osman.buyukisik@ae.ge.com  Mon Apr 12 13:39:00 1999
From: osman.buyukisik@ae.ge.com (U-E59264-Osman F Buyukisik)
Date: Mon, 12 Apr 1999 08:39:00 -0400 (EDT)
Subject: R-0.65-April-12 on hpux10.20
Message-ID: <14097.59185.477055.292796@c1186.ae.ge.com>

Hello,
 It looks like demo("dyn.load") is broken for non ".so" extentions.

> demo("dyn.load")


        demo(dyn.load)
        ---- ~~~~~~~~

Type  <Return>   to start : 

> dyn.load("zero.so")
Error in dyn.load(x) : unable to load shared library "/home/absd00t/zero.so":
  can't open /home/absd00t/zero.so
> 
It looks like zero.R problem. It is looking for zero.* in my home
dir. If I do :
~>R COMPILE zero.c
gcc -I/usr/include/Motif1.1 -I/usr/include/X11R4 -I/home/absd00t/local/include -fpic -I/home/absd00t/local/lib/R/include -c zero.c -o zero.o
~>R SHLIB -o zero.sl zero.o
ld -b -o zero.sl zero.o -L/home/absd00t/local/lib  -lf2c -lm

~>R

R : Copyright 1999, The R Development Core Team
Version 0.65.0 Under development (unstable) (April 12, 1999)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type    "?license" or "?licence" for distribution details.

R is a collaborative project with many contributors.
Type    "?contributors" for a list.

Type    "demo()" for some demos, "help()" for on-line help, or
        "help.start()" for a HTML browser interface to help.
Type    "q()" to quit R.

> dyn.load("zero.sl")
> source("zero.R")   <--- after changing zero.so to zero.sl
[1] 1.5
[1] 1.50000002235174
> 

Seems to be working OK.
Osman
 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-0.65-April-12 on hpux10.20
U-E59264-Osman F Buyukisik