From luke@stat.umn.edu  Sat Apr 27 15:35:59 2002
From: luke@stat.umn.edu (Luke Tierney)
Date: Sat, 27 Apr 2002 09:35:59 -0500
Subject: [Rd] Question about .Call
In-Reply-To: <1019917872.3911.3.camel@keittlab-6>; from Timothy.Keitt@stonybrook.edu on Sat, Apr 27, 2002 at 10:31:12AM -0400
References: <1019917872.3911.3.camel@keittlab-6>
Message-ID: <20020427093559.A22913@nokomis.stat.umn.edu>

On Sat, Apr 27, 2002 at 10:31:12AM -0400, Timothy H. Keitt wrote:
> Can a C function wrapped with .Call return void? Or must it return a
> valid SEXP? Thnx.
> 
> Tim
> 

It must return a valid SEXP.  R_NilValue is a good choice if you don't
have anything real to return.

luke

-- 
Luke Tierney
University of Minnesota                      Phone:           612-625-7843
School of Statistics                         Fax:             612-624-8868
313 Ford Hall, 224 Church St. S.E.           email:      luke@stat.umn.edu
Minneapolis, MN 55455 USA                    WWW:  http://www.stat.umn.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Question about .Call
Luke Tierney