Most answered questions in Data Analytics

0 votes
1 answer

Grouping/bining of variables using Rcmdr

@kriti, Select the data model, Go to ...READ MORE

Nov 4, 2019 in Data Analytics by rubini
450 views
0 votes
1 answer

Does R programming provide support to execute Curl

You can use the RCurl package and ...READ MORE

Jul 19, 2019 in Data Analytics by Zulaikha
• 910 points
711 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,202 views
+2 votes
1 answer

Error in FUN: cannot coerce type 'closure' to vector of type 'character' [No stack trace available] in R

You missed out " " for variables ...READ MORE

Jul 17, 2019 in Data Analytics by Cherukuri
• 33,030 points
16,298 views
+2 votes
1 answer

How to use points?

Mack, please give us your registered email ...READ MORE

Jul 17, 2019 in Data Analytics by Prashanth
• 180 points
1,038 views
0 votes
1 answer

How to provide color to ggplot scatter chart depending on field value?

cyl is a continuous value field, so ...READ MORE

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

How to save ggplots?

Hi you can save plots using ggsave() Code ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
• 33,030 points
755 views
0 votes
1 answer

How to edit the labels and limit if a plot using ggplot? - R

Add a limit to axis ticks using ...READ MORE

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

How to merge or join 2 dataframes in r?

Hi, When you merge two Dataframes, the result ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,440 points
511 views
0 votes
1 answer

How to filter only those rows with a condition in R?

Write R code as below temp = data ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
• 33,030 points
620 views
0 votes
1 answer

Dataset data type incorrect - R

You can assign datatypes for the field ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
1,261 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,531 views
0 votes
1 answer

How to create a date variable in R?

Create a string with date notation as ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
7,725 views
0 votes
1 answer

Sort a field based on another field in R

Hi.. Just for sorting, you can use arrange ...READ MORE

Aug 29, 2019 in Data Analytics by Gups_1985
632 views
0 votes
1 answer

How to import and clean a text file into dataframe in R?

You can use readLines() or read.table() depending ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
6,088 views
0 votes
1 answer

Difference between summarise() and summarize() in R

summarise() and summarize() are synonyms. READ MORE

Sep 24, 2019 in Data Analytics by anonymous
8,544 views
0 votes
1 answer

Split plot into multiple plots corresponding to each value of the field in R

Use facet_grid() and pass the field to ...READ MORE

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

create data.frame with random numbers in R

First create a matrix with random numbers ...READ MORE

Sep 24, 2019 in Data Analytics by Debasmita Das
2,751 views
0 votes
1 answer

What is set.seed() in R?

Let me explain in simple words, set seed ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,030 points
38,143 views
0 votes
1 answer

Convert data.frame object into character vector/list

Hi, it is possible to store them ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,030 points
6,310 views
0 votes
1 answer

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,069 views
+1 vote
1 answer

Error in .External.graphics - R

You need to install arulesViz package,and load ...READ MORE

Jul 8, 2019 in Data Analytics by sindhu
1,003 views
0 votes
1 answer

batch file to run R Script

easy peasy. just pop the following into a ...READ MORE

May 24, 2020 in Data Analytics by anonymous
3,979 views
+1 vote
1 answer

How to add create a box plot with categorical columns?

One way is to convert to factor ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
1,765 views
0 votes
1 answer

% of nulls for each column in the dataset - R

Use code as below -  lapply(air,function(x) { length(which(is ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
902 views
0 votes
1 answer

fetch all rows with null values in dataframe or dataset - R

Use below code -  which(is.na(air)) is.na() will return a boolean ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
10,686 views
0 votes
1 answer

Joining 2 vectors into 1 variable - R

A small trick that you can do ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
506 views
0 votes
1 answer

Read data from various csv and store it in one dataframe

Use rbind() to join both data frames ...READ MORE

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

Convert character column to Date field in R Data frame

This is a good question. READ MORE

May 4, 2020 in Data Analytics by anonymous
808 views
0 votes
1 answer

Replace columns containing row id into a constant value - R

Create a vector of the list of ...READ MORE

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

Difference between [[1]] and [1] in R Programming

Hey Latha, The difference between them is that ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
5,906 views
0 votes
1 answer

How to replace all occurrences of a character in a character column in a data frame in R

If you used sub() to replace the ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
17,548 views
0 votes
1 answer

substring of last N characters in R

Use below code -  If the elements within ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
480 views
0 votes
1 answer

How can I figure out if an R program was executed from the command line?

Try this code: if (interactive()) { print('Hello ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
426 views
0 votes
1 answer

R programming: Data Categorization

Try this: wineData$taste <- NA ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
713 views
0 votes
1 answer

How to change the datatype of any field in an external dataset in R?

Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE

Jun 28, 2019 in Data Analytics by anonymous
• 33,030 points
546 views
+2 votes
1 answer

Show a list of all variables in R

Hi Swathi, You can use ls() to list ...READ MORE

Jun 27, 2019 in Data Analytics by Cherukuri
• 33,030 points
88,697 views
0 votes
1 answer

Difference between List(list1,list2) and c(list1,list2) in R

Hi Deepa, It's quite simple, let me explain ...READ MORE

Jun 26, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,753 views
0 votes
1 answer

Keras - R programming error

You haven't installed keras in the correct ...READ MORE

Jun 17, 2019 in Data Analytics by Sophie may
• 10,610 points
727 views
0 votes
1 answer
0 votes
1 answer

Using Cuda: Tensorflow error

This command will tell you which processes ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
498 views
0 votes
1 answer

Error while importing Tensorflow

Start by uninstalling tensorflow and protobuf and reinstall them. Use ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
670 views
0 votes
1 answer

Converge style functional using R

This should do it: do.call("rbind", lapply(filenames, loadFile)) READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
406 views
0 votes
1 answer

Scraping columns from a website by using R Programming

Here's an example, use the html_table : library(rvest) library(dplyr) url <- ...READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
545 views
+1 vote
1 answer

How do I sum the values of a variable by group but RETAIN all records?

Hey @Kirk, what you can do is, ...READ MORE

Jun 6, 2019 in Data Analytics by Kalgi
• 52,360 points
542 views
0 votes
1 answer

Pycharm error: could not find a version that satisfies the requirement

Check the python version installed. Tensorflow is ...READ MORE

May 29, 2019 in Data Analytics by Zulaikha
• 910 points
2,838 views
0 votes
1 answer

R programming error: { : missing value where TRUE/FALSE needed "

This should work: for ( i in 1:dim(m)[[1]] ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
21,751 views
0 votes
1 answer

R programming error: Plot error - “Col=”red“

Fix this line: polygon(c(0,0,1),c(1,2,1), col="red", density=c(30, ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
653 views
0 votes
1 answer

Probabilities in R programming

This should work: poker_face <- replicate(1000, sample(poker, size ...READ MORE

May 27, 2019 in Data Analytics by Zulaikha
• 910 points
1,404 views