On Sat, 8 Nov 2014, Sven Schreiber wrote:
Am 08.11.2014 um 15:06 schrieb Allin Cottrell:
> On Sat, 8 Nov 2014, Sven Schreiber wrote:
>
>> Or perhaps one could use the 'setopt' command which Jack explained to me
>> the other day:
>>
>> <hansl>
>> list tobepassed = EMP WAGE
>> setopt foreign --send-data=tobepassed
>> foreign language=R
>> print(gretldata)
>> end foreign
>> </hansl>
>>
>> This would be nice I think.
>
> Yes, that will work. But I've just committed a change to CVS such that
> your original formulation will work too (i.e. giving the --send-data
> option on the first line of the "foreign" block).
>
Actually the 'setopt' thing as described above doesn't work here. (This
is with a snapshot not yet including your very latest change.) However,
putting it in the 'end foreign' line works as expected.
Ah, I suppose the setopt approach might suffer from the same problem
as the option on the first line. Anyway, I've now uploaded new
snapshots with which all variants should work.
Allin