Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread aledanda
Hi David, Thank you for your reply. /Somehow I'm guessing that this will involve load an unnamed package. Yep: ?create.fourier.descriptor No documentation for ‘create.fourier.descriptor’ in specified packages and libraries: you could try ‘??create.fourier.descriptor’/ So I indeed forgot

Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread Jeff Newmiller
It would help if you read the manual page for png and gave it arguments that matched what the function expects. You probably also need to read ?paste. Also, based on what you have said so far, you do NOT need nested for loops. Just use the inner loop and when you need i use instead

Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread David Winsemius
On Jun 6, 2012, at 5:13 AM, aledanda wrote: Hi David, Thank you for your reply. /Somehow I'm guessing that this will involve load an unnamed package. Yep: ?create.fourier.descriptor No documentation for ‘create.fourier.descriptor’ in specified packages and libraries: you could try

Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread David Winsemius
On Jun 6, 2012, at 11:46 AM, David Winsemius wrote: On Jun 6, 2012, at 5:13 AM, aledanda wrote: Hi David, Thank you for your reply. /Somehow I'm guessing that this will involve load an unnamed package. Yep: ?create.fourier.descriptor No documentation for ‘create.fourier.descriptor’ in

Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread aledanda
Thanks for your email, in fact the problem was in the nested loop!! By removing it and adding at the end i = i + 1 I solved the problem, all the rest stays the same. Best -- View this message in context:

[R] Fourier descriptors created in a loop

2012-06-05 Thread aledanda
Hi All, Here is the problem: I'm trying to generate a number of Fourier Descriptors figures for an experiment. All I need is that they are created within a loop and saved with sequential names (e.g., s1_1.png, s1_2.png etc..) in my directory. I created a nested loop with a counter for the

Re: [R] Fourier descriptors created in a loop

2012-06-05 Thread David Winsemius
On Jun 5, 2012, at 11:50 AM, aledanda wrote: Hi All, Here is the problem: I'm trying to generate a number of Fourier Descriptors figures for an experiment. Somehow I'm guessing that this will involve load an unnamed package. Yep: ?create.fourier.descriptor No documentation for