Skip to content

Instantly share code, notes, and snippets.

@Hugoberry
Created March 11, 2017 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hugoberry/911f2413c8f4ebcdebe53267bc8920ea to your computer and use it in GitHub Desktop.
Save Hugoberry/911f2413c8f4ebcdebe53267bc8920ea to your computer and use it in GitHub Desktop.
STDOUT as data source in Power Query M
let
RScript = R.Execute("output <- read.table(text=system2(""whoami"", stdout=TRUE))"),
output = RScript{[Name="output"]}[Value]
in
output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment