R: dirty fix for strange bug concerning RWeka