Displaying 2 results from an estimated 2 matches for "giba".
Did you mean:
gib
2006 Nov 24
1
Error in Calling C++ function from R!!!
...rnal function of R from the following code in C++:
void prodgdot(double *x, double *y, int *n, double *output)
{
int i;
*output=0;
for (i=0;i<*n;i++)
{
*output+=x[i]*y[i];
}
}
I compiled it using from my working directory in linux terminal and I think
it's ok:
giba at giba-desktop:~/mysrc/meus_testes_iniciais$ R CMD SHLIB codigoprova.cc
# The output
g++ -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -c
codigoprova.cc -o codigoprova.o
g++ -shared -o codigoprova.so codigoprova.o -L/usr/lib/R/lib -lR
After, I tried to call R from my wo...
1999 Jan 28
0
compiling R for SGI IRIX
When I attempt to compile R, I immediately get the error:
'make: file `Makefile' line 49: bad character & (octal 46)
*** Error code 1 (bu21)'
I have looked at line 49 of each of the makefiles and none of them seem
to contain this character.
Any suggestions?
--
Cynthia Gibas
cindy at mothership.champaign.il.us
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in th...