1. 学习
  2. /
  3. 课程
  4. /
  5. Case Studies: Building Web Applications with Shiny in R

Connected

练习

Upload a text file (ui)

Rather than typing a long piece of text into a box, it can be more convenient to upload a text file if the text is extremely long.

Uploading files to a Shiny app is done using fileInput().

说明

100 XP

Add a file input to the Shiny app with an input ID of "file" and a label of "Select a file".