Trending questions in Data Analytics

+1 vote
0 answers

group By Sum

Hi, I want group By sum in R ...READ MORE

Jan 18, 2019 in Data Analytics by Rajendra

recategorized Jan 18, 2019 by Vardhan 925 views
0 votes
1 answer

Check if a matrix is diagonalizable in R Programming Language

On a given matrix, a, the first way ...READ MORE

Dec 24, 2018 in Data Analytics by Tyrion anex
• 8,700 points
1,954 views
+3 votes
3 answers

What is NLP? Can you tell me about its future?

When you ask Siri to give you ...READ MORE

Dec 18, 2018 in Data Analytics by Kalgi
• 52,350 points
1,995 views
0 votes
1 answer

R Programming error: twitteR OAuthFactory object

You need to install the following packages: install.packages(c('RO ...READ MORE

Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,101 views
0 votes
1 answer

Is there a way to terminate an R program without causing an error?

You can make use of the 'browser' ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,620 points
1,133 views
+1 vote
1 answer

R & MySQl : Error connecting to Database

Check the dbConnect's documentation, you must pass values ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,620 points
2,259 views
0 votes
1 answer

Does R provide support for tacit programming?

R has a package called magrittr. That's ...READ MORE

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

Data slicing using R programming

You can perform data slicing by splitting the ...READ MORE

Jan 9, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,127 views
0 votes
1 answer

R programming: sapply() function

There are 2 ways to do it, ...READ MORE

Jan 23, 2019 in Data Analytics by Tyrion anex
• 8,700 points
518 views
0 votes
1 answer

What are special values in R

Like most programming languages, R has a ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
3,524 views
+1 vote
1 answer

Error when trying to execute something reactive on shiny R

There seem to be some issues in ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
2,554 views
0 votes
1 answer

R programming basics

There's a small change you can make, ...READ MORE

Jan 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
675 views
0 votes
1 answer

R programming: Does the R language have reflection?

The answer to your question is yes. ...READ MORE

Jan 8, 2019 in Data Analytics by Sophie may
• 10,620 points
1,106 views
0 votes
1 answer

What is the paradigm of R language?

R provides features of object-oriented and functional programming ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,620 points
996 views
0 votes
1 answer

Assigning global variables from inside a function - R

You can assign global variables from inside ...READ MORE

May 15, 2018 in Data Analytics by Bharani
• 4,660 points
11,395 views
0 votes
1 answer

R programming: Finding the difference between 2 vectors

Try this function, it worked for me: f ...READ MORE

Dec 28, 2018 in Data Analytics by Sophie may
• 10,620 points
1,558 views
+1 vote
1 answer

Is it possible to change the column names of the dataset that I'm using in R?

That is definitely possible in R. You ...READ MORE

Dec 17, 2018 in Data Analytics by Anisha

edited Dec 17, 2018 1,958 views
0 votes
1 answer

Report function outputs in R programming

In your case, you've stored the output ...READ MORE

Jan 14, 2019 in Data Analytics by Sophie may
• 10,620 points
772 views
+1 vote
2 answers

How to sort a data frame by columns in R?

You can use dplyr function arrange() like ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
1,998 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,747 views
+1 vote
1 answer

Error saying "Error in .jfindClass(as.character(driverClass)[1]) : class not found " in R

Cassandra drivers seem to have dependencies that ...READ MORE

Dec 12, 2018 in Data Analytics by Maverick
• 10,840 points
2,103 views
0 votes
1 answer

R programming: How to pass variables from a r program to mysql function?

To include the R variables called start.date and end.date, you can use paste to ...READ MORE

Dec 28, 2018 in Data Analytics by Tyrion anex
• 8,700 points
1,437 views
0 votes
1 answer

Element wise multiplication in R

In R the simple vector multiplication gives ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
3,988 views
0 votes
1 answer

What does the inf special character mean in R?

inf stands for infinity and only applies ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
3,311 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
1,868 views
0 votes
1 answer

R programming: Plot color-coded map of world leader's age

In the structure of the value returned ...READ MORE

Jan 7, 2019 in Data Analytics by Tyrion anex
• 8,700 points
942 views
0 votes
1 answer

Error saying "Error in install.packages(rvest) : object 'rvest' not found" when trying to install a package in R

In this line, Install.packages(“rvest”) Add rvest inside double ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
2,928 views
+1 vote
1 answer

How to sendkeysElement using R?

You have silly typo errors in your ...READ MORE

Dec 18, 2018 in Data Analytics by Tyrion anex
• 8,700 points
1,678 views
+1 vote
2 answers

Custom Function to replace missing values in a vector with the mean of values

Try this. lapply(a,function(x){ifelse(is.na(x),mean(a,na.rm = TRUE ...READ MORE

Aug 14, 2019 in Data Analytics by anonymous
2,164 views
0 votes
1 answer

Error saying " Failed to connect to database: Error: Lost connection to MySQL server at 'handshake"

try this: library(RODBCext) sqlString <- "Select * from yourtable ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
3,184 views
0 votes
1 answer

Does R have an underlying C layer?

R is written in C language just ...READ MORE

Jan 8, 2019 in Data Analytics by Sophie may
• 10,620 points
713 views
+1 vote
1 answer

R Code : Combine two lists with different structures

You seem to be having an empty ...READ MORE

Dec 13, 2018 in Data Analytics by Shubham
• 13,490 points
1,708 views
0 votes
1 answer

Data segmentation using R programming

I tried solving your problem, try the ...READ MORE

Jan 5, 2019 in Data Analytics by Sophie may
• 10,620 points
780 views
0 votes
1 answer

How do I convert data frame to csv file in R?

Hey @Ali, its very simple one line ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
2,666 views
+1 vote
1 answer

Building a Time series prediction model on web login timestamp

I had done something similar and ran ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
1,929 views
0 votes
1 answer

Errors saying "Error: unexpected '}' in "}"

This is a syntax error: Enclose your if ...READ MORE

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

How to add grid in ggsurvplot without changing theme in R?

Try something like : j <- ggsurvplot( ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
1,943 views
0 votes
1 answer

Error saying "Error in rnorm() : argument "n" is missing, with no default" in R

Hey @ali, rnorm() function requires an argument, ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
3,482 views
0 votes
1 answer

Error saying expected symbol in R

Write the code in the following way: myfunction ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
3,049 views
0 votes
1 answer

Loop to automate the plotting process in R

Try something like this: library(tidyverse) data(iris) ## create a grid ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
1,869 views
0 votes
1 answer

Error:Shadow graphics device error: r error 4 (R code execution error) when trying to use plot() and ggplot()

Its working perfectly fine with R version ...READ MORE

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

problem with tabitems in shiny R

Check your braces. Code tabitems after aws ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,081 views
0 votes
1 answer

How can I append rows to an R data frame?

Consider a dataSet i.e cicar(present under library ...READ MORE

May 9, 2018 in Data Analytics by zombie
• 3,790 points
10,968 views
+1 vote
2 answers

unique length of combinations

Try this: sum(mtcars$mpg == 21.0 & mtcars$cyl == ...READ MORE

Dec 26, 2018 in Data Analytics by Omkar
• 69,220 points
898 views
0 votes
1 answer

R Programming error in 'fert'

You're using a factor: fert <- factor(c(50,20,10,10,20,50)) levels(fert) #[1] ...READ MORE

Dec 28, 2018 in Data Analytics by Sophie may
• 10,620 points
825 views
0 votes
1 answer

What is the difference between R and SPSS?

One of the main difference is R ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
1,490 views
0 votes
2 answers

How to add sliderbars in a shiny R dashboard?

To add slider bar and slider range ...READ MORE

Dec 5, 2018 in Data Analytics by Kalgi
• 52,350 points
1,658 views
+1 vote
1 answer

Does Geshi support the R programming language?

rplus was not included in the official ...READ MORE

Dec 21, 2018 in Data Analytics by Sophie may
• 10,620 points
918 views
+1 vote
1 answer

How to plot pixels in R?

You could use ggplot with the option geom_point(shape = "."). For ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
1,557 views