Loading a xlsx file from my local disk on a shiny app

Hello, I want to load data to the shiny app I'm building
I am trying to do it this way in the server:

library(readxl)
DONNEE <- read_excel("path/file.xlsx",sheet = "Database")

but i guess that the path is wrong since the app might be running elsewhere. (I'm not sure what 's going on when running those)
How should I procede ?

The file must be located within the app's root folder, be deployed along with your app.R file and you have to use a relative path (relative to the app's root folder).

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.