Re: [R] line profiling

2013-04-05 Thread Duncan Murdoch
On 05/04/2013 6:39 AM, Florent D. wrote: Hello, This is about the new "line profiling" feature in R 3.0.0. As I was testing it, I find the results somewhat disappointing so I'd like to get your opinion. I put some poorly written code in a test.R file, here are the contents: double <- function(

Re: [R] line profiling

2013-04-05 Thread Duncan Murdoch
On 13-04-05 6:39 AM, Florent D. wrote: Hello, This is about the new "line profiling" feature in R 3.0.0. As I was testing it, I find the results somewhat disappointing so I'd like to get your opinion. I put some poorly written code in a test.R file, here are the contents: double <- function(x)

[R] line profiling

2013-04-05 Thread Florent D.
Hello, This is about the new "line profiling" feature in R 3.0.0. As I was testing it, I find the results somewhat disappointing so I'd like to get your opinion. I put some poorly written code in a test.R file, here are the contents: double <- function(x) { out <- c() for (i in x) { out