Skip to content

Instantly share code, notes, and snippets.

@praveenn77
Last active June 25, 2018 04:59
Show Gist options
  • Select an option

  • Save praveenn77/1c92ca338845f9a2367a33b83b698458 to your computer and use it in GitHub Desktop.

Select an option

Save praveenn77/1c92ca338845f9a2367a33b83b698458 to your computer and use it in GitHub Desktop.
Debugging Power Bi R Custom Visual Using R studio
#DEBUG in RStudio - Add this code to the top of script.r file
# Know more at - https://medium.com/@praveenp/debugging-power-bi-r-custom-visual-using-r-studio-b1ed18d32fe5
fileRda ="D:/temp/Data.Rda"
if(file.exists(dirname(fileRda)))
{
if(Sys.getenv("RSTUDIO")!="")
load(file= fileRda)
else
save(list = ls(all.names = TRUE), file=fileRda)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment