Displaying 1 result from an estimated 1 matches for "run_avg".
Did you mean:
run_av
1999 Oct 08
1
error using dyn.load
I am trying to use dynamic loading of an outside C routine. I am
attempting 6.12.1 of Phil Spector's book. When I try to load the object
file I get an error I don't understand:
> dyn.load("runa.o")
Error in dyn.load(x) : unable to load shared library
"/usr/home/tdlong/run_avg/runa.o":
/usr/home/tdlong/run_avg/runa.o: ELF file's phentsize not the expected size
I am running version 0.64.2 or R under Linux Red Hat 5.2
here is the C code I made an object for, I compiled with
gcc -m486 -c runa.c
#include <stdio.h>
#include <stdlib.h>
#include <...