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
573 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
927 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
431 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,060 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,473 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,252 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,342 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
776 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,207 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
963 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,259 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,082 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 5,843 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,023 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
784 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,211 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,087 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
4,734 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,134 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,485 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,591 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
3,678 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
8,504 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
3,622 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,644 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
419 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
680 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
443 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,629 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,116 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,174 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
784 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
672 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,042 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
5,899 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,177 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
876 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,168 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,352 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
8,596 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
373 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
425 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
3,868 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,360 points
1,191 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,360 points
527 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,360 points
516 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,360 points
697 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,360 points
4,693 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,184 views