Added functionality to export skel output to R