Skip to content
Prev 336181 / 398528 Next

Capturing output of a C executable

Dennis -
     The return value from .C will almost never be useful.  If you want to bring
results from the C environment into R, you need to do it by passing an address to
.C which will receive the result.
     You may find this document helpful when interfacing R to C:

          http://www.stat.berkeley.edu/classes/s243/calling.pdf

 					- Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Sun, 2 Feb 2014, Dennis Fisher wrote: