Hello,
You seem to be confusing R namespaces and C++ namespaces and assuming you can
call an R function as if it belonged to a C++ namespace.
R functions and c++ functions are different things.
You can do something like:
// get the spatstat environment
Environment spatstat( "package:spatsta
Hi there,
I would like to call discpartarea() and as.owin() functions of spatstat from
Rcpp. In a simple example
consider the following C++ code in which I'm trying to access the above
functions:
#include
using namespace Rcpp;
// [[Rcpp::export]]
NumericVector IndepSelfCortCpp( NumericMatri