Newbie question - loading excel file data into r shiny as a DataTable

Hi

I am working through a datacamp tutorial that uses an underlying url link for the DataTables, but I cannot find the lines of code in order for Shiny to read data from an underlying excel or csv file stored on my own laptop?

Please help?

I have found code to upload a dataframe into the mainPanel but not referencing an underlying file, which I want to do calculations on like mean, standard deviation, correlation etc.

Many thanks!

Datacamp example:

library(shiny)
library(ggplot2)
load(url("http://s3.amazonaws.com/assets.datacamp.com/production/course_4850/datasets/movies.Rdata"))