-1

I'm trying to export yahoo stock data imported using the getSymbols function to Excel, anyone know how to do this?

Peter
  • 151
  • 1
  • 11

1 Answers1

0

You should just be able to go: write.csv(Variable, "File_Name", rownames = TRUE)

let me know if it doesn't work.

DavimusPrime
  • 368
  • 4
  • 17
  • Works fine, doesn't export it in a nice format but the text to columns function in excel fixes that easily. Thanks! – Peter Nov 13 '17 at 17:44