From morg@n@em@||box @end|ng |rom gm@||@com  Fri Sep 27 12:35:17 2019
From: morg@n@em@||box @end|ng |rom gm@||@com (Morgan Morgan)
Date: Fri, 27 Sep 2019 11:35:17 +0100
Subject: [Rd] Evaluate part of an expression at C level
Message-ID: <CAL0QV_NQOJ4KdyTs60wUQ3wuC8+4zyCOE=+xC9n+b7jFBE221g@mail.gmail.com>

Hi,

I am wondering if the below is possible?
Let's assume I have the following expression:

1:10 < 5

Is there a way at the R C API level to only evaluate the 5th element (i.e 5
< 5) instead of evaluating the whole expression and then select the 5th
element in the logical vector?

Thank you
Best regards
Morgan

	[[alternative HTML version deleted]]



[Rd] Evaluate part of an expression at C level
Morgan Morgan