Trending questions in Data Analytics

0 votes
0 answers

RCommander - R

How to plot graphs using RCommander Tool? READ MORE

Jul 8, 2019 in Data Analytics by rahul
555 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
746 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
696 views
0 votes
0 answers

Split a string and store it in multiple columns from a field in R

How to Split a string and store ...READ MORE

Jun 29, 2019 in Data Analytics by Anand
900 views
0 votes
1 answer

How do I ignore errors in R

With the try function you can handle errors to ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
10,952 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
705 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
800 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
672 views
0 votes
2 answers

R programming: r bind error

You can use arrange function at last ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
980 views
+1 vote
1 answer

How to convert dataframe columns from factors to characters?

To replace all the variables to character ...READ MORE

Apr 13, 2018 in Data Analytics by BHARANI
• 420 points
19,583 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
9,360 views
0 votes
2 answers

How can I group a set of values by column using R programming?

Try this , Employee %>% group_by(EmpID) %>% mutate(SumSalary ...READ MORE

Aug 14, 2019 in Data Analytics by anonymous
838 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,620 points
919 views
0 votes
1 answer

How to convert JSON into CSV in R programming?

Use the jsonlite::fromJSON to read the data into ...READ MORE

Jan 24, 2019 in Data Analytics by Sophie may
• 10,620 points
7,120 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,710 views
0 votes
1 answer
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
878 views
0 votes
1 answer

Extract a subset of a data frame based on a condition involving a field

Here are the two main approaches. I ...READ MORE

Jun 19, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
16,277 views
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
685 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
9,232 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
706 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,350 points
712 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
1,012 views
0 votes
1 answer

What does the sink function do in R?

sink diverts R output to a connection ...READ MORE

May 24, 2019 in Data Analytics by Chandu
1,161 views
0 votes
1 answer

R programming: Reading a table in R

Try this code: dat <- read.table("~/data/data.txt", quote="\"", ...READ MORE

May 13, 2019 in Data Analytics by Sophie may
• 10,620 points
1,632 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
519 views
0 votes
1 answer

Changing variable values using R programming

This should work: df$symbol <- as.character(df$symbol) df$symbol[df$symbol == "ABCD.BO"] ...READ MORE

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

Error saying "Error in map(.x, .f, ...) : argument ".x" is missing, with no default" in R

There is small mistake in your code. ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
9,028 views
+1 vote
2 answers

What are the steps in data analysis process?

Well explained @Maverick, In simple words the ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
3,020 views
0 votes
2 answers

R programming: Removing NA values

Hi, Use na.rm = TRUE or Fetch values which has ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,136 views
+2 votes
1 answer

“subscript out of bounds” Error in r programming

This error is likely to occur when ...READ MORE

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

R Programming: Twitter OAuthFactory error

Have you installed 'ROAuth' and 'RCurl' packages? ...READ MORE

Apr 30, 2019 in Data Analytics by Sophie may
• 10,620 points
1,710 views
+1 vote
2 answers

Skills required to become an R programmer

As you want to become an r ...READ MORE

Aug 16, 2019 in Data Analytics by anonymous
• 33,030 points
1,647 views
0 votes
2 answers

R Programming error in if condition

Hi. Instead of breaking the line add it ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,103 views
+2 votes
2 answers

Error when executing write.csv function in R

row.names = F READ MORE

Mar 5, 2019 in Data Analytics by anonymous
5,896 views
0 votes
1 answer

R programming error — twitteR OAuthFactory object

Make sure you have installed the required ...READ MORE

May 13, 2019 in Data Analytics by Sophie may
• 10,620 points
784 views
0 votes
1 answer

R programming: Linear Equation

Use expand.grid to get all possible combinations ...READ MORE

Apr 30, 2019 in Data Analytics by Sophie may
• 10,620 points
1,289 views
+5 votes
2 answers

Predict weight when height is given using linear regression in R

You can try something like this: # The ...READ MORE

Dec 12, 2018 in Data Analytics by Purva
7,005 views
0 votes
1 answer

R programming error: Not enough Java heap space

Try this, it worked for me: options(java.parameters="-Xmx4000m&q ...READ MORE

May 15, 2019 in Data Analytics by Tyrion anex
• 8,700 points
566 views
0 votes
1 answer

Does R provide support for Julia?

The RJulia package is provided by R programming. ...READ MORE

May 15, 2019 in Data Analytics by Tyrion anex
• 8,700 points
535 views
0 votes
1 answer

Calculating quantiles in R.

You can follow this code: y <- rnorm(100) ...READ MORE

May 2, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,038 views
0 votes
1 answer

How to run a file with .r extension?

Follow the below command: C:\Program Files\R\R-3.1.1\bin\Rscript.e ...READ MORE

Apr 30, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,107 views
+1 vote
2 answers

Splitting the data into training and testing sets - R

Hi, Try like this. train = sample(x = ...READ MORE

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

How to remove HTML tags from string in R Programming?

Try this simple code to remove the <br ...READ MORE

Feb 1, 2019 in Data Analytics by Sophie may
• 10,620 points
4,717 views
0 votes
1 answer

R programming: Emacs mode

You can go through the ESS documentation ...READ MORE

May 2, 2019 in Data Analytics by Tyrion anex
• 8,700 points
786 views
+1 vote
2 answers

What is the difference between correlation and covariance?

Correlation and Co-variance both are used as ...READ MORE

Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
4,112 views
0 votes
1 answer

R programming: Using Caret package to implement Random Forest

You can check out the official docs ...READ MORE

Apr 30, 2019 in Data Analytics by Tyrion anex
• 8,700 points
729 views
+1 vote
3 answers

Number of missing values in dataset

Try this, lapply(airquality, function(x) { sum(is.na(x)) }) READ MORE

Aug 7, 2019 in Data Analytics by anonymous
4,372 views
+1 vote
1 answer

Error saying cannot open file 'file.pdf' when trying to save a plot in ggplot

You could try adding the following line ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
8,057 views
+1 vote
1 answer

R error: Unused arguments

 invoke REBMIX by trying this: REBMIX[[i, j, k]] ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,620 points
6,567 views