Displaying 1 result from an estimated 1 matches for "read_landscape".
2001 Sep 10
1
problems linking c++ code
...metasim.so: Undefined symbol "Rf_unprotect__Fi"
Error in library(rmetasim) : .First.lib failed
>
R-code
=====================
.First.lib <- function(libpath, libname)
{
library.dynam(libname)
}
read.landscape <- function(fn = "filename")
{
.Call("read_landscape",fn,PACKAGE = "rmetasim")
}
C-code
===================
#include <R.h>
#include <Rdefines.h>
#include <Rinternals.h>
#ifdef __cplusplus
extern "C" SEXP read_landscape(SEXP fn);
extern "C" {
#endif
SEXP read_landscape(SEXP fn)
{
SEXP l;
PR...