[R] Protecting pointer; Rdefines.h

In-Sun Nam inam at man.ac.uk
Thu Jul 4 11:13:37 CEST 2002


Dear All,

I want to protect a pointer instead of its value and hope that someone can
confirm what I am thinking is okay.

If I want to assign a pointer "DTIME" as "OrigDTime" then should I do

PROTECT(*OrigDTime = NUMERIC_POINTER(*DTime))

??

Any help will be very much appreciated.


Sincerely,
In-Sun

In-Sun Nam
School of Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
Manchester
M13 9PL


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list