Most viewed questions in Data Analytics

0 votes
1 answer

How to insert Data into the MySQL Tables using R?

Hi@akhtar, Before you try to insert the data ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
2,834 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,797 views
0 votes
1 answer

ggplot2 - scatter plot with boxplot to show the outliers

Add another layer of scatter plot on ...READ MORE

Aug 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,772 views
0 votes
1 answer

Error saying "Error in install.packages(rvest) : object 'rvest' not found" when trying to install a package in R

In this line, Install.packages(“rvest”) Add rvest inside double ...READ MORE

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

Reshape data from long to wide format in R

Use reshape function: reshape(dat1, idvar = "name", timevar = ...READ MORE

Jun 14, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
2,747 views
0 votes
1 answer

How to set the width of navlistPanel in Shiny? - R

The widths are the widths of the ...READ MORE

Jun 13, 2020 in Data Analytics by anonymous
2,709 views
0 votes
1 answer

unable to install reprtree package

The solution to the same issue is ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,694 views
0 votes
1 answer

Export the plot to a pdf or png - R

You need to close the device to ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
2,690 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13, 2019 in Data Analytics by MrBoot
• 1,230 points
2,673 views
0 votes
1 answer

Univariate/ Bivariate/ Multivariate

Univariate: These analyses are descriptive statistical analysis techniques which ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
2,665 views
0 votes
1 answer

What is the difference between library () and require () functions in R ?

 library() require() Library () function gives an error message ...READ MORE

Sep 5, 2018 in Data Analytics by zombie
• 3,790 points
2,661 views
0 votes
1 answer

How to create dummy variables based on a categorical variable of lists in R?

You can use mtabulate in the following way: library(qdapTools) cbind(data[1], ...READ MORE

Apr 13, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
2,643 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,640 views
0 votes
1 answer

Tokenizing text file generates error using word tokenize_words

Hi Bolder, As you are using the delim ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points
2,640 views
0 votes
1 answer

Count the digits in a Numpy array

Hey, @Sourav, We can solve this with the ...READ MORE

Apr 21, 2020 in Data Analytics by Gitika
• 65,770 points
2,618 views
0 votes
1 answer

Error in library(RColorBrewer) : there is no package called ‘RColorBrewer’

Hi@akhtar, It may happen that some libraries are ...READ MORE

Oct 28, 2020 in Data Analytics by MD
• 95,460 points
2,616 views
0 votes
1 answer

pie chart using ggplot - R

Hi, even I was searching for this ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
2,616 views
0 votes
1 answer

Does gradient descent methods always converge to same point?

No, they always don't. That's because in ...READ MORE

Aug 7, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
2,605 views
0 votes
1 answer

How to check if a directory exists and how to create and create if doesn't exist?

You can use showWarnings = FALSE NOTE:  showWarnings ...READ MORE

Apr 17, 2018 in Data Analytics by DataKing99
• 8,250 points
2,601 views
+1 vote
1 answer

What are the drawbacks of trycatch method?

These are the drawbacks of using try-catch: You ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
2,594 views
0 votes
1 answer

Converting R data-frame to h2o object

All you have to do is run ...READ MORE

Apr 3, 2018 in Data Analytics by Bharani
• 4,660 points
2,577 views
0 votes
2 answers

How can you find total number of null values in a dataset column wise?

data['Column Name'].isnull().sum() READ MORE

May 7, 2020 in Data Analytics by anonymous
2,567 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,564 views
0 votes
1 answer

"no applicable method" Error in r programming

This is caused by using an object-oriented ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
2,551 views
0 votes
1 answer

Different types of seasonality in time series modelling

Seasonality in time series occurs when the ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,250 points
2,551 views
0 votes
1 answer

What ~ (tilde) command do?

Something that characterizes formulas in R is ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,538 views
0 votes
1 answer

Error in library("RMySQL") : there is no package called ‘RMySQL’.

Hi@akhtar, R has a built-in package named "RMySQL" ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
2,535 views
0 votes
1 answer

Draw lines/plot without dataset - R

Hi @raghav, You can draw specific graphs only ...READ MORE

Jul 24, 2019 in Data Analytics by anonymous
2,532 views
0 votes
1 answer

Error in ggplot(iris, aes(x = Species, y = Sepal.Length)) : could not find function "ggplot"

Hi@akhtar, You have to install ggplot module in ...READ MORE

Jun 10, 2020 in Data Analytics by MD
• 95,460 points
2,525 views
0 votes
1 answer
0 votes
1 answer

How to stack scatterplot in ggplot2?

Use melt() to reshape your data with total as a factor ...READ MORE

May 8, 2018 in Data Analytics by Sahiti
• 6,370 points
2,516 views
0 votes
1 answer

Function to check if matrix empty or not

here is some question of what is ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
2,513 views
0 votes
1 answer

R - any_vars and all_vars() functions

Hi, Chaitra The main difference between them is ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
2,502 views
0 votes
2 answers

What is difference between Distributed search head and Search head cluster?

 A distributed environment describes the separation of ...READ MORE

Dec 4, 2018 in Data Analytics by Ali
• 11,360 points
2,500 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,483 views
0 votes
2 answers

Installing MXNet for R in Windows System

You can install it for python in ...READ MORE

Dec 4, 2018 in Data Analytics by Kalgi
• 52,350 points
2,472 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,458 views
0 votes
2 answers

What is the difference between %% and % in R programming?

HI, %% returns remainder in case of numeric ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
2,427 views
0 votes
1 answer

How to convert a dataframe into json data?

Hi, kalyan. Use toJSON function from jsonlite package. ...READ MORE

Sep 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,401 views
0 votes
1 answer

Differences between html_nodes( ) and html_node( )?

Pallava, both the functions return nodes from ...READ MORE

Sep 17, 2019 in Data Analytics by rajeev
2,389 views
0 votes
1 answer

How to import data from a Json file into R?

Easy and simple: library("rjson") json_file <- "file_name" json_data <- fromJSON(file=json_file)) or ...READ MORE

Apr 26, 2018 in Data Analytics by DeepCoder786
• 1,720 points
2,386 views
+1 vote
1 answer

"subscript out of bounds" error in while executing simple R program

This is caused by trying to access ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
2,382 views
0 votes
1 answer

Difference between label and popup in addmarkers() in leaflet

Hey, its quite simple. Label in leaflet displays ...READ MORE

Sep 20, 2019 in Data Analytics by rajitha
2,367 views
0 votes
1 answer

What is withCallingHandlers and how does it work?

withCallingHandlers works similar to tryCatch but remembers the call stack down ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
2,362 views
0 votes
0 answers

Join 2 columns based on condition in R

How to join 2 columns in R ...READ MORE

Jul 1, 2019 in Data Analytics by nikita
2,351 views
0 votes
1 answer

Error in source("myfunction.R") : myfunction.R:2:3: unexpected symbol 1: 2: R version

Try formatting your code like this: myfunction <- ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,349 views
0 votes
1 answer

Error saying "Error: package or namespace load failed for ‘FactoMineR’" when using data mining on RStudio

Try reinstalling the package quantreg. Hope this works. Its ...READ MORE

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

Difference between Bayesian Estimate and Maximum Likelihood Estimation

In the Bayesian estimate, we have some ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,250 points
2,337 views
+1 vote
1 answer

How to calculate relative risk in R language?

The risk can be calculated by using ...READ MORE

Feb 20, 2019 in Data Analytics by Sophie may
• 10,620 points
2,322 views
0 votes
1 answer

Check if a website permits web scraping - R

Vinutha, While doing web scraping its necessary ...READ MORE

Sep 17, 2019 in Data Analytics by aditya
2,320 views