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,670 points
1,621 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,820 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,460 points
6,997 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,820 points
596 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,820 points
1,615 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,820 points
733 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,820 points
520 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,820 points
102 views