Trending questions in Data Analytics

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,125 views
0 votes
1 answer

How to create a box-plot using “plotly” in R?

You can use this command to create ...READ MORE

Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
7,200 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,360 points
848 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
782 views
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,518 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,498 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
677 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,422 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,089 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,522 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
669 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,122 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,180 views
0 votes
1 answer

How do I remove unnecessary redundant data from a dataset?

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

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,246 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,360 points
1,555 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,360 points
1,503 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
1,802 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
866 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
1,655 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
442 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,360 points
1,435 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,036 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
418 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
985 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,360 points
686 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,218 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
425 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
370 views
0 votes
1 answer

Is a GUI available for some basic csv file edits?

You can have a look at this csved ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
899 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
895 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,360 points
522 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,053 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,360 points
512 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
739 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,085 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
898 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
523 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
780 views
+1 vote
1 answer

Does R programming support Firebird database?

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

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,337 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
790 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
713 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
581 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
659 views
0 votes
1 answer

How is R applied in real world?

R Programming gives a broad variety of ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,342 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
571 views
0 votes
1 answer

Whats the difference between withCallingHandlers and trycatch?

tryCatch withCallingHandlers Program execution breaks and continues with the first expression ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,360 points
949 views
0 votes
1 answer

Is there way for achieving continuous integration with R?

You can use svunit for this purpose. ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
513 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
601 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
529 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
532 views