changed code to inherit from RInside
working in TRObjectProxy get returns from R and convert RObjects into TObjects
added support to return a vector of doubles