definition of R_problem_buf in S.h (PR#210)

Thomas Vogels Thomas Vogels <>
Mon, 14 Jun 1999 16:15:05 -0400

Hi all, 

  after I started it, allow me two comments:

1) as was pointed out, the problem of including S.h in different
places doesn't show up until you try to compile shared libraries (lqs,
modre) since the conditional include (#ifndef R_*) doesn't catch it in
this case.  IMHO, "static char R_problem_buf[R_PROBLEM_BUFSIZE];" is
no solution.  I gather from other comments that you want to be thread
safe.  This willl make any declaration of a variable as "static" (not
just R_problem_buf) dangerous.

2) "Philosophically" speaking, a good place for this buffer is the
same place where you'd put the results.  From my little viewpoint,
that would be the evaluation context?

Signing off,

-- (Tom Vogels)   Tel: (412) 268-6638   FAX: -3204

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: