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
• 10,430 points
562 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,040 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 in Data Analytics by Cherukuri
• 25,900 points
2,359 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,040 points
205 views
0 votes
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,040 points
562 views
0 votes
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,040 points
393 views
0 votes
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,040 points
227 views
0 votes
1 answer