You can add an R code snippet into the file path for the image like so:
R
