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 28, 2018 in Data Analytics by Ali
• 11,300 points
2,992 views

1 answer to this question.

0 votes
The error means you’re missing out on the closing braces. Check your code.
answered Nov 28, 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
• 32,930 points
10,279 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,215 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
2,901 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,283 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 28, 2018 in Data Analytics by Maverick
• 10,840 points
1,073 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
233 views