Not sure why you think this suggest mkChar can be interrupted.
If you want to figure out how interrupt handling works on unix, run
under gdb and single step from the signal to the next point where
R_CheckUserInterrupt is called. You should find that the signal
handler sets a flag and that flag
-Original Message-
From: Luke Tierney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 1:30 PM
To: Vadim Ogranovich
Cc: R-Help
Subject: Re: [R] mkChar can be interrupted
Not sure why you think this suggest mkChar can be interrupted.
If you want to figure out how
On Mon, 14 Jun 2004, Vadim Ogranovich wrote:
-Original Message-
From: Luke Tierney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 1:30 PM
To: Vadim Ogranovich
Cc: R-Help
Subject: Re: [R] mkChar can be interrupted
Not sure why you think this suggest mkChar can
I am confused. Here is an excerpt from R-exts:
As from R 1.8.0 no port of R can be interrupted whilst running long
computations in
compiled code,...
Doesn't it imply that the primitive functions like allocVector, mkChar,
etc., which are likely to occur in any compiled code called via .Call,
are
On Mon, 14 Jun 2004, Vadim Ogranovich wrote:
I am confused. Here is an excerpt from R-exts:
As from R 1.8.0 no port of R can be interrupted whilst running long
computations in
compiled code,...
Doesn't it imply that the primitive functions like allocVector, mkChar,
etc., which are
() and R_alloc() stand
up against long jumps?
Thanks,
Vadim
-Original Message-
From: Luke Tierney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 5:43 PM
To: Vadim Ogranovich
Cc: R-Help
Subject: RE: [R] mkChar can be interrupted
On Mon, 14 Jun 2004, Vadim Ogranovich wrote
, which will result in a non-local
exit. If the allocation succeeds, you are responsable for calling
Free.
luke
-Original Message-
From: Luke Tierney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 5:43 PM
To: Vadim Ogranovich
Cc: R-Help
Subject: RE: [R] mkChar can
(), but might be a problem in interrupt handlers (I am not an
expert though).
Thanks,
Vadim
-Original Message-
From: Luke Tierney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 7:46 PM
To: Vadim Ogranovich
Cc: R-Help
Subject: RE: [R] mkChar can be interrupted
On Mon, 14 Jun 2004