Most answered questions in Data Analytics

0 votes
1 answer

Select table name and corresponding columns frim the sql file - R

Try something like this: library(stringr) library(dplyr) library(tidyr) text <- readLines("file.txt") dataFrame <- ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
767 views
0 votes
1 answer

What is the difference between R and SPSS?

One of the main difference is R ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
1,266 views
+1 vote
1 answer

R - Fitting polynomials to data

lm(y ~ x + I(x^2) + I(x^3)) This ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
539 views
+2 votes
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
6,327 views
+1 vote
1 answer
+1 vote
1 answer

Building a Time series prediction model on web login timestamp

I had done something similar and ran ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
1,685 views
0 votes
1 answer

Python : Cannot Import Data using Pandas

So< if your error says: ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
5,619 views
+1 vote
1 answer

How to add grid in ggsurvplot without changing theme in R?

Try something like : j <- ggsurvplot( ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
1,693 views
0 votes
1 answer

How do I modify the background grid in ggplot?

You can use the function called background_grid().  This ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
967 views
0 votes
1 answer

Loop to automate the plotting process in R

Try something like this: library(tidyverse) data(iris) ## create a grid ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
1,642 views
0 votes
1 answer

How to color geom_bar by y-axis values?

You can use cut ggplot(cars, aes(x = as.factor(cyl))) + ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
1,276 views
+1 vote
1 answer

How to plot pixels in R?

You could use ggplot with the option geom_point(shape = "."). For ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
1,444 views
+1 vote
1 answer

Jupyter Notebook : superscripts and subscripts

You can use the markdown cell to do this. ...READ MORE

Dec 6, 2018 in Data Analytics by Shubham
• 13,490 points

edited Dec 12, 2018 by Shubham 12,706 views
+1 vote
1 answer

Installing JQ on Mac by command-line

On a mac, any application can be ...READ MORE

Dec 6, 2018 in Data Analytics by Shubham
• 13,490 points

edited Dec 12, 2018 by Shubham 6,274 views
0 votes
1 answer

How can I reactively add actionButtons to the tableOutput?

Use DT for this purpose: library(shiny) library(DT) ui <- fluidPage( ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
1,195 views
0 votes
1 answer

Unable to move table rows in shiny r

Try this: library(shiny) library(DT) iris2 = head(iris, 30) server <- function(input, ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
1,072 views
+1 vote
1 answer

Error when trying to execute something reactive on shiny R

There seem to be some issues in ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
2,433 views
0 votes
1 answer

Caret and Shiny R giving error

try this server.R code: server=function(input, output){ values ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
1,288 views
0 votes
1 answer

Error in shiny R "Warning: Error in read.table: 'file' must be a character string or connection"

Your if statement in the server.R is ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
5,051 views
0 votes
1 answer

Add radio buttons on shiny R dashboard

Yess of course that's possible. ShinyR provides ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
3,533 views
0 votes
1 answer

Dynamically select element from a list and work with it - Shiny R

Follow these steps: Import the data into R Check ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
3,748 views
0 votes
1 answer

How do I save plots made using shiny R?

You can use a function called downloadHandler ...READ MORE

Dec 5, 2018 in Data Analytics by Haseeb
2,781 views
+1 vote
1 answer

How to add videos in a shiny R dashboard?

Its pretty simple, try this: server.r library(shiny) shinyServer(function(input, output, session) ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
4,061 views
+1 vote
1 answer

Change font size of valueBox - shiny R

Try writing your valueBox with this syntax: valueBox( ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
9,233 views
0 votes
1 answer

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
4,012 views
0 votes
1 answer

How do you change the color of the sliderInput - shiny r

There is so parameter that could be ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
2,878 views
0 votes
1 answer

issue with dashboardSidebar function using shiny R

You can use the function sidebarMenu function ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
581 views
0 votes
1 answer

How do I add Icons to my messages on my dashboard which I’m creating using shiny r?

Try something like this: dashboardHeader(title="Edureka", dropdownMenu type = "message", messageItem(from = ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
867 views
0 votes
1 answer

How do I get notifications on my dashboard using shiny R?

Try this, its one of the possible ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
701 views
+1 vote
1 answer

problem with tabitems in shiny R

Check your braces. Code tabitems after aws ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,862 views
0 votes
1 answer

Error saying "ERROR: Expected tag to be of type header" while creating a dashboard using shiny R

sliderInput("bins","number of breaks",1,100,50), this line should come under ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
4,563 views
0 votes
1 answer

Error saying 'shinyServer(function(input,output){ output`$histogram`" while creating dashboard using shiny R

Try this for your server.R library(shiny) library(shinydashboard) shinyServer(function(input,output){ output$`$histogram`<- ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,440 views
0 votes
1 answer

Unable to see histogram even though its been created without any errors in shiny R

In your server.R 4th line. Replace it ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
944 views
0 votes
1 answer

What is shiny R?

Shiny is an open source R package that ...READ MORE

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

Error saying "ERROR: unused argument (menuItem("Amazon-web-service"))"

This error usually means you're screwing the ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,238 views
+1 vote
1 answer

Error saying "ERROR: Error sourcing C:\Users\ali\AppData\Local\Temp\Rtmp8iTRBM\file54f8276958b3"

Seems like there is a problem with ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,334 views
0 votes
1 answer

Error saying "Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) : " in shiny R

The error means you’re missing out on ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,638 views
0 votes
1 answer

Error saying "ERROR: could not find function "dashboardsidebar"" when trying to create dashboard on shiny R

Correct the function name. dashboardSidebar() READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,100 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

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,633 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

Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,612 views
0 votes
1 answer

Error saying " cannot open the connection" when trying to install a package in R

Try install.packages(“package_name”, repos="http://cr ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
9,137 views
0 votes
1 answer

Is there a way to display correlation in graphical manner in R?

Ans There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
522 views
0 votes
1 answer

How do I get different distributions of our dataset in R?

There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
590 views
0 votes
1 answer

I'm trying to start rattle on R Studio and end up with an error

You need the package RGtk2 for rattle to ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
4,186 views
0 votes
1 answer

web scraping using python or R?

In simple words, Python can be a ...READ MORE

Nov 22, 2018 in Data Analytics by Kalgi
• 52,350 points
1,541 views
0 votes
1 answer

Different ways to scrap data

Different ways to scrap data off the ...READ MORE

Nov 22, 2018 in Data Analytics by Kalgi
• 52,350 points
617 views
0 votes
1 answer

web sracping using R

Hey @Ali, You can use the rvest ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
737 views
0 votes
1 answer

What is a css selector and where is it used?

CSS Selector is a combination of element ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
915 views
+1 vote
1 answer

Error when trying to convert data frame into a csv file in R

If packages.csv file is open on your ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
4,944 views
0 votes
1 answer

How do I convert data frame to csv file in R?

Hey @Ali, its very simple one line ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
2,436 views