Executin R script in PowerBI but getting error (error is too long to put in the title)

Does PowerBI have its own installation of R somewhere on your machine (that may be separate from the version of R that RStudio is using)?