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,340 points
4,220 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,010 points
11,565 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
1,785 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
3,696 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
1,643 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
1,715 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
316 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP