Displaying 1 result from an estimated 1 matches for "_beginner_".
2006 Dec 18
1
Rmath: R libraries from C on Mac OS X
...-Wall -o helloMac helloMac.c -lm -lRmath
I get the following error:
/usr/bin/ld: can't locate file for: -lRmath
I am unable to locate Rmath on my machine. The problem appears to be
that no libRmath.a was built on my Mac OS X installation.
Any pointers (perhaps to a step by step guide for a _beginner_ on how to
install this and then how to compile the C code) would be most
appreciated.For completeness, here is my C code (adapted from code that
works fine on Linux):
#include<string.h>
#include<stdio.h>
#include<stdlib.h>
#define MATHLIB_STANDALONE 1
#include
"/Library/...