Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using R.Execute() in Power Query to export the contents of a table to CSV
let
seed = {1..1000000},
path = "d:\\Downloads\\out.csv",
seedTable = Table.FromList(seed, Splitter.SplitByNothing()),
RScript = R.Execute("write.csv(dataset,"""&path&""")",[dataset=seedTable]),
out = RScript
in
out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.