Error saying Error in parse file keep source FALSE srcfile src encoding enc in shiny R

0 votes

I'm trying to create a dashboard on shiny R and I'm facing this error:

Listening on http://127.0.0.1:7376
Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) : 
  C:\Users\ali\Desktop\cleaning data\.Rproj.user/server.R:5:13: unexpected '{'
4: shinyServer(funtion(input,output)
5:             {
               ^
Nov 29, 2018 in Data Analytics by Ali
• 11,360 points
6,181 views

1 answer to this question.

0 votes
The error means you’re missing out on the closing braces. Check your code.
answered Nov 29, 2018 by Maverick
• 10,840 points

Related Questions In Data Analytics

0 votes
2 answers

How to set working directory to source file location in R?

Hi,  I'm not sure about the command but you ...READ MORE

answered Aug 20, 2019 in Data Analytics by Cherukuri
• 33,030 points
13,445 views
0 votes
1 answer

Error saying "Error in rnorm() : argument "n" is missing, with no default" in R

Hey @ali, rnorm() function requires an argument, ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
3,055 views
+1 vote
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
4,698 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,356 views
+1 vote
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,172 views
0 votes
1 answer

Error saying "Error in source("myfirst.R") : myfirst.R:14:2: unexpected '!' 13: 14: ë! ^"

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
761 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP