Dear Michael and Sarah,
the superfluous points arose as an error (e.g. double-click) in the
measurement process. Thus, looking on the image I recognize them
easily and everything what I need is to write their numbers.
readline() serves well for that purpose. Thanks a lot!
Ondřej



On 2 May 2012 18:32, Sarah Goslee <sarah.gos...@gmail.com> wrote:
> 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.weyla...@gmail.com> <michael.weyla...@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 <onmik...@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



-- 
Ondřej Mikula

Institute of Animal Physiology and Genetics
Academy of Sciences of the Czech Republic
Veveri 97, 60200 Brno, Czech Republic

Institute of Vertebrate Biology
Academy of Sciences of the Czech Republic
Studenec 122, 67502 Konesin, Czech Republic

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to