Numpy Array Creation Functions In R