Calling Python from R to generate image captions