Shiny hyperlink relative path to a file

前端 未结 1 1782
名媛妹妹
名媛妹妹 2021-01-13 02:34

This may be very simple, but I cannot find the right syntax despite searching through postings:

I want to create a hyperlink on my shiny web page which when clicked

相关标签:
1条回答
  • 2021-01-13 03:04

    create a folder called 'www' inside your shiny app directory 'appFolder'.

    Put the file 'readme.txt' in the www folder.

    File path is href="readme.txt"

    You have to use 'runApp(appFolder)' command to start your shiny app. It then can access all local files inside the www folder.

    0 讨论(0)
提交回复
热议问题