Created attachment 1830 [details]
I have attached a test case. The error is:
Error in memcounts[, 1L:2L] : incorrect number of dimensions
Calls: summaryRprof -> rowSums -> is.data.frame -> cbind
Created attachment 1831 [details]
the input file for summaryRprof
I don't get an error in 3.2.0 Patched r68272 on Mac OS X, or r68331 on Windows. Could you please try R-patched?
Agreed; tested fine in r68399. Apologies for the false alarm.
Created attachment 1832 [details]
test case for r68399
I found a test case which still fails under r68399
Found a new test case which still fails under r68399, see test2.R attachment.
Got it this time. The problem is an assumption in summaryRprof that apply(z, 1, diff) (for a complicated expression giving z) returns a matrix, but in your sample, it is simplified to a vector because there are only two columns. Pretty easy to fix. After a bit of testing I'll commit the fix to R-devel and R-patched.