I’m wondering how can I export an r dataframe to excel format file, with some links embeded. So that I can use R to create an xlsm file. When open xlsm file, I can click certain links and open other files or webpage.
I checked several R “Write-to-Excel” packages but can hardly find any one having such functions.
Anyone any idea?
Thx!
The
xlsxpackage has the functionaddHyperlink, for exactly this purpose.example(addHyperlink)should get you started.