R::transaction now returns result. Closes #305.