Re: [R] evaluating expressions as R console

2016-09-05 Thread Bert Gunter
I'm sharing this with r-help, as your detailed response might help others help you. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Sep 4, 2016 at

Re: [R] evaluating expressions as R console

2016-09-05 Thread Adrian Dușa
I think I have found a working solution. Rather ugly, but working and will keep looking for better alternatives, though. The procedure involves: - parsing one line at a time - if incomplete, parse as many lines as necessary to form an expression - determine all expressions in the original input

Re: [R] evaluating expressions as R console

2016-09-05 Thread Adrian Dușa
On Mon, Sep 5, 2016 at 5:33 PM, Bert Gunter wrote: > > I'm sharing this with r-help, as your detailed response might help > others help you. Oh, my bad (thought I had replied to all). I wanted to add anyways the intended result seems to be possible. If pasting the code

Re: [R] evaluating expressions as R console

2016-09-04 Thread Bert Gunter
You might want to look at the "evaluate" package. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Sep 4, 2016 at 4:47 PM, Adrian Dușa