avoid a callback to R in empty_data_frame. closes #47