[R] interactive loop

Sarah Goslee sarah.goslee at gmail.com
Wed May 2 18:32:07 CEST 2012


And now we have two entirely different interpretations of the question.

I think Ondřej needs to provide a more detailed explanation of the
problem and intended result.

Sarah

On Wed, May 2, 2012 at 12:23 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> <michael.weylandt at gmail.com> wrote:
> I think readline() will do what you want. It can display a message and take user input, assigning it to a character value so you might need as.numeric()
>
> Michael
>
> On May 2, 2012, at 12:08 PM, Ondřej Mikula <onmikula at gmail.com> wrote:
>
>> Dear R-helpers,
>> I have a number of point configurations representing skull shapes, but
>> some of them contain superfluous points. I want to write a loop in
>> which each configuration is plotted and I am asked to write the
>> numbers of points that are superfluous. However, I don't know how to
>> introduce this interactive element.
>> Would you give me an advice?
>> Best regards
>> Ondřej Mikula
>>
>>
>>

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list