[sextante] fix handling of vectors in scripts and R providers (closes #8483)