5
if you're using data.frame, stop
use data.table instead and your life will become much faster and cleaner