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
5,964 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,758 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
836 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
983 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,213 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,949 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,616 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,318 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
484 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
737 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
428 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,567 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,912 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
559 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,098 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,535 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
358 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
809 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
377 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,783 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,516 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,246 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,313 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,175 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,395 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
393 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,250 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,318 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
828 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
971 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
965 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,811 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,174 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
678 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
540 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,413 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,926 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
506 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,549 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
456 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
367 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,776 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
881 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,595 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
391 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,272 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
703 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
599 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,447 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
407 views