Re: [R] stop a function

2015-01-30 Thread David Winsemius
On Jan 30, 2015, at 2:20 AM, n omranian via R-help wrote: > Hi All, > I'm getting actually nuts. I don't understand the following lines in R: > Here is the data, all rows are exactly the same! Their print representation may be "exactly the same", but their internal values may differ by an amoun

Re: [R] stop a function

2015-01-30 Thread n omranian via R-help
Hi All, I'm getting actually nuts. I don't understand the following lines in R: Here is the data, all rows are exactly the same! > ord_data[pid,] c0m2 c0m4 c0m8  c0m16    c0m24    c0m48 c0p2 c0p4      c0p8   c0p16    c0p24    c0p48   c24m2    c24m4    c24m8  c24m16 1333

Re: [R] stop a function

2014-05-15 Thread Henrik Bengtsson
e may be no more than > asking him to perform a post-mortem examination: he may be able to say what > the experiment died of. > ~ Sir Ronald Aylmer Fisher > > The plural of anecdote is not data. > ~ Roger Brinner > > The combination of some data and an aching desire for a

Re: [R] stop a function

2014-05-14 Thread n omranian
Tukey Van: n omranian [mailto:n_omran...@yahoo.com] Verzonden: dinsdag 13 mei 2014 22:13 Aan: ONKELINX, Thierry; r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: Re: [R] stop a function Hi, Another problem arised now. I got this error: Error in match

Re: [R] stop a function

2014-05-14 Thread ONKELINX, Thierry
insdag 13 mei 2014 22:13 Aan: ONKELINX, Thierry; r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: Re: [R] stop a function Hi, Another problem arised now. I got this error: Error in match(x, table, nomatch = 0L) : reached CPU time limit I googled it

Re: [R] stop a function

2014-05-13 Thread n omranian
ect.org] Namens n omranian Verzonden: dinsdag 13 mei 2014 14:15 Aan: r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: [R] stop a function Hi all, If I use a function in R which takes some parameters as an input, how can I stop this function in the

Re: [R] stop a function

2014-05-13 Thread n omranian
en body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens n omranian Verzonden: dinsdag 13 mei 2014 14:15 Aan: r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: [R]

Re: [R] stop a function

2014-05-13 Thread ONKELINX, Thierry
] Namens n omranian Verzonden: dinsdag 13 mei 2014 14:15 Aan: r-packages-ow...@r-project.org; r-help@r-project.org; r-help-requ...@r-project.org Onderwerp: [R] stop a function Hi all, If I use a function in R which takes some parameters as an input, how can I stop this function in the while loop

[R] stop a function

2014-05-13 Thread n omranian
Hi all, If I use a function in R which takes some parameters as an input, how can I stop this function in the while loop and try another parameter in case the function takes long time or could not converge. Actually, I'm using "penalized" function in a loop for some fixed lambdas (pre-calculat