DS4PS / cpp-526-fall-2020

Course shell for CPP 526 Foundations of Data Science I for Fall 2020
http://ds4ps.org/cpp-526-fall-2020/
MIT License
3 stars 1 forks source link

Missing Functions for Shiny #18

Open ekmcintyre opened 4 years ago

ekmcintyre commented 4 years ago

I have followed the steps 1 and 2 in the lab instructions and tried to run the data chunks and got these error messages.

__Error in selectInput(inputId = "name", label = "Choose a team:", choices = c("New York Yankees", : could not find function "selectInput"

Error in renderPlot({ : could not find function "renderPlot"__

Do I need to download something for these functions to work?

DMBurwell commented 4 years ago

There is another post in the discussion board called "Week 4 ShinyWidgetsDemo error" that may help with the issue you are having.

The recommendation that was given by @jamisoncrawford is as follows:

"Whenever R can't find a function object that you expect to be found, it's likely you've not loaded the package with library().

At the beginning of your script, include library(shiny) and try again. Do not include a call to function install.packages().

Let me know if this helps!"

jamisoncrawford commented 4 years ago

Thanks @DMBurwell!

Yes, you can find it in issue #16 - please let us know if this ends up working for you!

jamisoncrawford commented 4 years ago

P.S. @DMBurwell you can tag a separate issue by using the repository's issue number and a # symbol - give it a try!

ekmcintyre commented 4 years ago

Problem solved! Thank you

jamisoncrawford commented 4 years ago

Great news! I'm reopening for post visibility.