Hi Hilmar,
I believe I'm seeing similar instability with R, Shiny & ggplot2. It results in errors like:
Error in eval(expr, envir, enclos) :
arguments imply differing number of rows: 136, 129
Error in eval(expr, envir, enclos) :
Results must be all atomic, or all data frames
And the occasional segmentation fault:
Error in eval(substitute(expr), envir, enclos) :
Results must be all atomic, or all data frames
*** caught segfault ***
address 0x2, cause 'memory not mapped'
I've posted some of my observations in a Stack Overflow question here; hoping that someone else had already seen this & resolved it.
I found another post (referenced in the SO question) that had an example which reproduces the error (with a for loop, showing the 'sporadic' nature of the errors).
I found on OSX that reverting to R 3.1.2 and Rcpp 0.11.5 seemed to help resolve my issue - but that didn't seem to resolve the problem on my RedHat linux boxes that I'm trying to get the Shiny app running on.
Hope this helps - I've been figuratively bashing my head against the wall for almost a week on this one... so if you happen to have solved your issue in the last few weeks I'd be happy to hear what you've found.
Cheers,
Mike