[R] On the speed of apply and alternatives?

2006-05-08 Thread Monty B.
Dear all, I have to handle a large matrix (1000 x 10001) where in the last column i have a value that all the preceding values in the same row has to be compared to. I have made the following code : # generate a (1000 x 10001) matrix, testm # generate statistics matrix 1000 x 4: qnt - c(0.01,

[R] writing a data frame using xtable without row names

2006-04-10 Thread Monty B.
Dear all, I am trying to write a data frame / table to a latex table using xtable. The thing is that I do not want to write the row names as not all rows will be named. I have tried writing both a matrix (setting e.g. rownames(mat) - c(a, , )) and a dataframe (setting row.names to a similar

[R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Monty B.
Hello all, As this is my first time posting to this mailing list, I think I should thank all the people who have contributed to the project. Many man-hours have been saved on my part! My question is simple - when i run a longer simulation, I would like to be able to output the progress,

Re: [R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Monty B.
On 4/3/06, Thomas Lumley [EMAIL PROTECTED] wrote: On Mon, 3 Apr 2006, Monty B. wrote: Hello all, As this is my first time posting to this mailing list, I think I should thank all the people who have contributed to the project. Many man-hours have been saved on my part! My question