Trending questions in Data Analytics

0 votes
2 answers

R Package installed or not

To see all installed packages in system ...READ MORE

Jun 27, 2019 in Data Analytics by anonymous
• 33,030 points
663 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
466 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
428 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
461 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
526 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
411 views
0 votes
1 answer

How to run R code using JAVA program?

You're trying to call an external application. ...READ MORE

Mar 12, 2019 in Data Analytics by Sophie may
• 10,610 points
5,081 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
650 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
584 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
699 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,212 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
652 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,377 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,360 points
10,080 views
0 votes
1 answer
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,610 points
6,626 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
468 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,740 points
15,991 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
512 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
526 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
8,408 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
393 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
941 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,610 points
1,386 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
8,549 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
696 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
619 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,360 points
9,356 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
807 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,474 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
8,352 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
2,462 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,610 points
1,302 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
729 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
415 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,610 points
441 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
378 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
769 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,285 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
760 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,610 points
633 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
483 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
5,695 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
492 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,610 points
4,220 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
3,715 views
0 votes
1 answer

R programming: Merging in R Programming

You can merge the two data frames ...READ MORE

Apr 24, 2019 in Data Analytics by Sophie may
• 10,610 points
535 views
0 votes
1 answer

R Programming: MS Residual functions

Here's an example, you can try this ...READ MORE

Apr 26, 2019 in Data Analytics by Sophie may
• 10,610 points
434 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
5,971 views
0 votes
1 answer

How to start your journey with Data Analytics

Since you're new to the field, I'd ...READ MORE

Apr 25, 2019 in Data Analytics by Vardhan
• 13,190 points
395 views