Fortran to R interface for tree fitting now accounts for the dyanamic size of returned arrays