Displaying 2 results from an estimated 2 matches for "runavg".
2008 May 01
2
Error while making R package
...All,
I am trying to make R package using R 2.6.2
And I am getting following error.
When I give R CMD check t1\
---------- Making package t1 ------------
adding build stamp to DESCRIPTION
making DLL ...
making CGHseg_rewrite.d from CGHseg_rewrite.c
making rowMedians.d from rowMedians.c
making runavg.d from runavg.c
gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c
CGHseg_rewrite.c -o CGHseg_rewrite.o
gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c rowMedians.c
-o rowMedians.o
gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c runavg.c -o
runavg.o
windres...
1999 Oct 08
1
error using dyn.load
.../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 <time.h>
void runavg(double *x, long n, long k, double *r);
void runa(double *x, long *n, long *k, double *r);
void runavg(double *x, long n, long k, double *r){
/*
x is the input vector
n is the length of the vector
k is the size of the running average window, the window includes the data point
at that position pl...