Trending questions in Data Analytics

0 votes
1 answer

Error saying "Error in sprintf("%x", 2151028214):invalid format '%x'; use format %f, %e, %g or %a for numeric objects"

gcc : format ‘%x’ expects an argument ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,821 views
0 votes
2 answers

How to arrange a data set in ascending order based on a variable?

In your case it'll be, orderedviews = arrange(movie_views, ...READ MORE

Nov 27, 2018 in Data Analytics by Kalgi
• 52,350 points
1,100 views
0 votes
1 answer

Error in source("myfunction.R") : myfunction.R:2:3: unexpected symbol 1: 2: R version

Try formatting your code like this: myfunction <- ...READ MORE

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

Lot of errors when trying to install R package "igraph"

change your ~/.R/Makevars file as C=gcc-5 CXX=g++ CXX1X = g++-5 CFLAGS = ...READ MORE

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

Finding the nth highest value in a vector or a data-frame column

sort(x,T)[n] Here, 'x' is the data-frame/vector and 'n' ...READ MORE

May 31, 2018 in Data Analytics by Bharani
• 4,660 points
8,867 views
0 votes
1 answer

Can rows be converted into columns in R?

You can use of the R package ...READ MORE

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

Error with shortest.path function in R

you have a directed graph. The shortest.paths function will ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,727 views
+1 vote
2 answers

How to segment documents into phrases in text mining using R?

You can do this in R using ...READ MORE

Nov 15, 2018 in Data Analytics by sandeep
• 260 points
1,487 views
0 votes
1 answer

Unable to see histogram even though its been created without any errors in shiny R

In your server.R 4th line. Replace it ...READ MORE

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

Change IP address on RStudio

The default is 0.0.0.0, but if you ...READ MORE

Nov 2, 2018 in Data Analytics by Maverick
• 10,840 points
2,115 views
0 votes
0 answers

Error saying "could not find function "html_text"" when using html_text function in R

I'm trying to web scrap a page ...READ MORE

Nov 21, 2018 in Data Analytics by Ali
• 11,360 points
1,331 views
0 votes
1 answer

How do I remove unnecessary redundant data from a dataset?

You can use dimensionality reduction methods such ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,586 views
0 votes
1 answer

How do I add Icons to my messages on my dashboard which I’m creating using shiny r?

Try something like this: dashboardHeader(title="Edureka", dropdownMenu type = "message", messageItem(from = ...READ MORE

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

Is it possible to use a where clause within ggplot?

You can use the subset function to filter rows ...READ MORE

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

as.data.frame not working expected

Try using: setNames(as.data.frame(t(normData[-1])), normData[[1]]) ...READ MORE

Nov 5, 2018 in Data Analytics by Kalgi
• 52,350 points
1,832 views
0 votes
1 answer

Error saying "missing 'sequenceID' or 'eventID'" when trying to convert my data into cSPADE compatible format.

Try this: source dataset in this format: 1 3 ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,433 views
0 votes
1 answer

What is shiny R?

Shiny is an open source R package that ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
823 views
0 votes
1 answer

how to run a logistic regression with clustered standard errors in R?

have a look at rms package. lrm is logistic ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
1,750 views
+1 vote
1 answer

What does “Error: object '<myvariable>' not found” mean?

The error means that R could not ...READ MORE

Oct 29, 2018 in Data Analytics by Ali
• 11,360 points
2,047 views
0 votes
1 answer

Error saying "Error: object 'packages' not found" when trying to web scrap using r

Hey @Ali, Its a very silly mistake. ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
1,112 views
0 votes
1 answer

How do I get notifications on my dashboard using shiny R?

Try this, its one of the possible ...READ MORE

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

How can I convert a factor variable to numeric in R ?

A factor variable can be converted to ...READ MORE

Sep 19, 2018 in Data Analytics by shams
• 3,670 points
3,794 views
0 votes
1 answer

Error saying "Failed to get an access token." when trying to access my Google Analytics API

Try this: library(RGoogleAnalytics) oauth_token <- Auth( client.id = ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,233 views
0 votes
1 answer

issue with dashboardSidebar function using shiny R

You can use the function sidebarMenu function ...READ MORE

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

Error saying "Error in lapply(rdmTweets, as.data.frame) : object 'rdmTweets' not found"

You need to load the data file ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,200 views
0 votes
1 answer

What is a css selector and where is it used?

CSS Selector is a combination of element ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
924 views
0 votes
1 answer

catch warnings and errors in rpy2

To get the warnings as an rpy2 ...READ MORE

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

Error saying "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY"

Try this: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ...READ MORE

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

Is a GUI available for some basic csv file edits?

You can manipulate any csv file with ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
1,159 views
0 votes
1 answer

Error saying "R cannot be resolved" on eclipse while running a simple application

Every time you get this error, check ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,391 views
0 votes
1 answer

How do I get different distributions of our dataset in R?

There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
596 views
0 votes
1 answer

how do I run this R program on hadoop.

You can use hadoop streaming to read ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
1,027 views
0 votes
1 answer

Creating barplot with standard errors plotted in R

For df1 plot # Group data by when ...READ MORE

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

Is there a way to display correlation in graphical manner in R?

Ans There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
539 views
0 votes
1 answer

web sracping using R

Hey @Ali, You can use the rvest ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
746 views
0 votes
1 answer

Error saying "object 'mvnorm' not found"

You seem to have made a small ...READ MORE

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

Does R programming support Firebird database?

Yes ofcourse you can. This page will ...READ MORE

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

Cleaning raw data

Try this using read.fwf d <- read.fwf(textConnection( " ...READ MORE

Nov 13, 2018 in Data Analytics by Ali
• 11,360 points
1,037 views
0 votes
1 answer

How do I make a parameter dynamic on the url while webscraping?

Just add %d to the parameter you ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
717 views
0 votes
1 answer

Why is data cleaning needed?

Data cleaning is the fourth step in ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
982 views
0 votes
1 answer

Different ways to scrap data

Different ways to scrap data off the ...READ MORE

Nov 22, 2018 in Data Analytics by Kalgi
• 52,350 points
623 views
0 votes
1 answer

Error sayimg "Executing test function test.should_error ... Timing stopped at: 0 0 0 " in R

In your testthat tests you declare an anonymous function like so: function() ...READ MORE

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

extract token using R

Just add collapse = FALSE in your unnest_tokens: library(tidytext) library(dplyr) jobs %>% ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
820 views
0 votes
1 answer

Convert Brightkite location ID to place name

This can be dine using The geonames API. GeoNames ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
850 views
0 votes
1 answer

What do you mean by technically correct data in data science?

we define technically correct data as a ...READ MORE

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

How to read R errors through JRI

You'll be able to perform those R-Expressions, ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,091 views
0 votes
1 answer

Trying to find frequent itemsets of a data set using arules package

Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", "milk", ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
812 views
0 votes
1 answer

Python or R – Which one would you prefer for text analytics?

We will prefer Python because of the ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
4,572 views
0 votes
1 answer

What is raw data?

Raw data is the data that hasn’t ...READ MORE

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

How to standardize rows when cleaning data?

The goal of this step is to ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
819 views