Most answered questions in Data Analytics

0 votes
1 answer

R Shiny Error: Object of type 'closure' is not subsettable

The error you mentioned happens when you ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
6,032 views
0 votes
1 answer

R Shiny Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

Hi Kalpana, This error is due to ...READ MORE

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

Shiny r ,I'm doing a dashboard and I can not replace in the table below the name of the column by choosing the selectinput.

Hi, When you want to change any input ...READ MORE

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

nth maximum and nth smallest number in vector

Hi, You can use nth() function to find ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
1,010 views
+1 vote
1 answer

How to add text inside shiny app?

Hi, You can use tahs$h1() to h6() to ...READ MORE

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

How to add 2 ggplots side by side?

Hi, Use ggarrange() function to show multiple ggplot in ...READ MORE

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

Donut chart - R

@Kruthi, Refer to this blog on how to ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,657 views
0 votes
1 answer

Error: stat_count() must not be used with a y aesthetic.

Hi Rayan, This error comes due to the ...READ MORE

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

How to build a correlation matrix in R?

@payal, You want to find the correlation ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
511 views
0 votes
1 answer

Images do not appear with runtime:shiny

@kalyan Before running the file, create a www ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,030 points
767 views
0 votes
1 answer

Shiny App or Dashboard - R

@Ruchitha, As the name says, the shiny app ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
443 views
0 votes
1 answer

How to add labels on bars in bar chart in ggplot?

Use geom_text() to add labels on the ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
3,630 views
0 votes
1 answer

Display labels within pie chart

See below example- df <- data.frame( name ...READ MORE

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

How to replace only set of values in a vector to different values in a dataframe?

If you have a condition using which ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
585 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,173 views
0 votes
1 answer

R Shiny - Error in as.vector: cannot coerce type 'externalptr' to vector of type 'character'

Ravin, read the image into list src ...READ MORE

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

Submit all 3 inputs vs one using button in shiny

Hi, Preethi. When you want to submit individually, ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,030 points
395 views
0 votes
1 answer

Display no labels in plot - R ggplot

Hi, One small trick is to change the ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
849 views
0 votes
1 answer

Shiny app widgests side by side

Hey, Use CSS to float the input widgets ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,030 points
389 views
0 votes
1 answer

R Shiny: Select input choice inside server function.

Use renderUI function within the server function ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,832 views
0 votes
1 answer

How to take input from user in R?

Readline() function read input from console as ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,557 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,270 views
+1 vote
1 answer

difference between plyr and dplyr

@Kunal, Both are similar package used for ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
5,410 views
0 votes
1 answer

2 dataframes in single dplyr pipeline

You can use 2 different data frames ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
1,231 views
0 votes
1 answer

Add a index/Row number column to dataframe

Hi, Bharath. You can add index using seq(1:nrow(data frame)). Example ...READ MORE

Sep 10, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,425 views
0 votes
1 answer

How to add ggplot over each other?

Do you mean to add multiple geom ...READ MORE

Nov 3, 2019 in Data Analytics by anonymous
• 33,030 points
441 views
0 votes
1 answer

Hide code while running markdown html document

Assign echo and warning as false to display ...READ MORE

Sep 10, 2019 in Data Analytics by kamal
1,277 views
0 votes
1 answer

Edit image in R

There are different packages in r to edit the ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
1,360 views
0 votes
1 answer

How do I make a matrix from a list of vectors in R?

Suppose l1 and l2 are my vectors, li = ...READ MORE

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

How to save datasets in R as external file?

One way is to save the data ...READ MORE

Sep 10, 2019 in Data Analytics by kamal
991 views
0 votes
1 answer

use of tilde in R

One use of ~ is to mention ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
1,001 views
0 votes
1 answer

Summarize with a condition

You can provide condition to summarize using ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
3,849 views
0 votes
1 answer

Extract text from image in R

Try below code to fetch the image ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
3,223 views
0 votes
1 answer

Overlap images to create a new picture

Use image_flatten() or image_mosaic() to overlap image over ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
726 views
0 votes
1 answer

Create an animation from images in R

Create a vector with all frames required ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
557 views
0 votes
1 answer

resize the image in R

Hi,  You can read the image using Magick ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
9,524 views
0 votes
1 answer

How to include css code in shiny r app?

To include a CSS file, use includeCSS(), ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,963 views
0 votes
1 answer

Append r output in the title of rmarkdown document

Insert with `r <code> ` withion markdown ...READ MORE

Sep 10, 2019 in Data Analytics by priya
523 views
0 votes
1 answer

Read an image into r

There are different packages that read images ...READ MORE

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

Summarize only number or integer columns in the dataframe.

Hi, Payal. Use the below function. data frame %>% ...READ MORE

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

Export the updated or manipulated dataframe or result as csv and excel file

Hi, Karthik. Check it out how to write ...READ MORE

Sep 10, 2019 in Data Analytics by sindhu
383 views
0 votes
1 answer

Show count of unique values for each value in the field in dataframe

Hi, Use below r code. For one field, you ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
1,799 views
0 votes
1 answer

How to sort substring from a dataframe

First, extract the substring from the data ...READ MORE

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

Setting up checkpoint dir: PySpark Data Science

You can follow the below steps: Change the ...READ MORE

Aug 2, 2019 in Data Analytics by Zulaikha
• 910 points
5,686 views
0 votes
1 answer

Data Science: Integrating RStudio to DashDB

You can connect dashDB to RStudio by ...READ MORE

Aug 2, 2019 in Data Analytics by hussain
420 views
0 votes
1 answer

How to use add_tally() and add_count()

Hey, add_tally and add_count returns the count of ...READ MORE

Sep 10, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,366 views
0 votes
1 answer

Filter using dplyr

@Sagar, use filter followed by condition for ...READ MORE

Sep 10, 2019 in Data Analytics by kiran
724 views
0 votes
1 answer

R - Dummy variable creation

@Uday, dummy variables can be created using ...READ MORE

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

Tibble vs Dataframe

Hi Shilpa, The differences are - 1. Tibble ...READ MORE

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

Calculate running total

Hi rubini, Use accumulate or reduce function to ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
429 views