Update of outputSGP to output LONG formats as Rdata files as well as txt