[R] argument "string" is missing, with no default

2018-09-08 Thread Shivi Bhatia
Hi All, I am trying to fetch data from a pdf file with the below code but getting the error message: Error in stri_split_regex(string, pattern, n = n, simplify = simplify, : argument "string" is missing, with no default library(readr)library(stringr)library(magrittr)library(dplyr) table_data

Re: [R] NaN in Scoring Sentiment

2018-08-27 Thread Shivi Bhatia
ore calculating mean in each category. Complete cases removes all lines with at least one NA in your data frame, which probably results to empty data frame. Cheers Petr > -Original Message- > From: R-help On Behalf Of Shivi Bhatia > Sent: Saturday, August 25, 2018 4:01 PM > To: R-

[R] NaN in Scoring Sentiment

2018-08-25 Thread Shivi Bhatia
Hi All- I am running a sentiment scoring model and the code is as below: sentiments_per_Category <- aggregate(relative_sentiment_frequencies, by = list(Category = df$Case.Category), mean) while i run the head command most of the values are NaN. i then used

Re: [R] Assistance on Installing Rattle

2018-08-14 Thread Shivi Bhatia
togaware.com;, type="source"). > > Regards, Shivi > > > On Sun, Aug 12, 2018 at 7:20 PM Michael Dewey <mailto:li...@dewey.myzen.co.uk>> wrote: > >    Dear Shivi > >    What error message do you get when you try to install RGtk2? > >    Micha

Re: [R] Assistance on Installing Rattle

2018-08-13 Thread Shivi Bhatia
Michael Dewey wrote: > Dear Shivi > > What error message do you get when you try to install RGtk2? > > Michael > > On 12/08/2018 11:49, Shivi Bhatia wrote: > > Hi Eric, > > > > Thank you for the reply. I am adding the session details below, hope it > > h

Re: [R] Assistance on Installing Rattle

2018-08-12 Thread Shivi Bhatia
Best, > Eric > > > On Sat, Aug 11, 2018 at 6:55 PM, Shivi Bhatia > wrote: > >> Hi, >> >> Need assistance on installing Rattle. >> >> I have followed the instructions on https://rattle.togaware.com/ >> but still facing error installing the packag

[R] Assistance on Installing Rattle

2018-08-11 Thread Shivi Bhatia
Hi, Need assistance on installing Rattle. I have followed the instructions on https://rattle.togaware.com/ but still facing error installing the package. ERROR: dependency 'RGtk2' is not available for package 'rattle'. Have tried installing RGt2 from multiple sources and its still failing. One

Re: [R] Cannot Load A Package

2018-06-02 Thread Shivi Bhatia
Thank you Dan, this is what i had been searching. Thanks again, Regards, Shivi On Sat, Jun 2, 2018 at 12:33 PM, Daniel Nordlund wrote: > On 6/1/2018 4:17 PM, Duncan Murdoch wrote: > >> On 01/06/2018 5:24 PM, Shivi Bhatia wrote: >> >>> Hi All, >>> >&g

[R] Cannot Load A Package

2018-06-01 Thread Shivi Bhatia
Hi All, I am trying to download semnet package but getting the error: package not available for R version 3.4.4. I tried downloading it from install.packages('semnet',repos='http://cran.us.r-project.org') and install.packages('semnet',repos='http://cran.revolutionanalytics.com/') and even the

Re: [R] length of 'dimnames' [2] not equal to array extent- For Correlation Plot

2018-03-17 Thread Shivi Bhatia
ects a correlation matrix, not your original data. You need to > use cor() first. > > That's pretty clear in the documentation. See for instance the examples: > > data(mtcars) > M <- cor(mtcars) > corrplot(M) > > Sarah > > On Sat, Mar 17, 2018 at 12:00 PM Shiv

Re: [R] length of 'dimnames' [2] not equal to array extent- For Correlation Plot

2018-03-17 Thread Shivi Bhatia
f that doesn't work, then provide a reproducible example so we can > offer further advice. > > Sarah > > On Sat, Mar 17, 2018 at 11:08 AM, Shivi Bhatia <shivipm...@gmail.com> > wrote: > > Created a new data set with 3 numeric variable to find correlation > > > &

[R] length of 'dimnames' [2] not equal to array extent- For Correlation Plot

2018-03-17 Thread Shivi Bhatia
Created a new data set with 3 numeric variable to find correlation CR1<- mar%>% as_data_frame%>% select(AGE, OLD_CAR_PURCHASE_YRS, Total.Spend.With.AA) had to convert it to a data frame, code: as.matrix(as.data.frame(CR1)) Now i need to run a correlation plot for these 3 variables:

Re: [R] arguments imply differing number of rows

2017-09-20 Thread Shivi Bhatia
th=5), > seq(3000, 3200, length=5)) > > Bob > > On 20 September 2017 at 17:07, Shivi Bhatia <shivipm...@gmail.com> wrote: > > Hi Team, > > > > I using the syntax as: > > > > data.df<- data.frame( > > city= c(rep(c("Delhi", &qu

[R] arguments imply differing number of rows

2017-09-20 Thread Shivi Bhatia
Hi Team, I using the syntax as: data.df<- data.frame( city= c(rep(c("Delhi", "Bangalore","Chandigarh"),each=5)), population= c(4000:6000,3500:4300,3000:3200) ) But i am getting the error as arguments imply differing number of rows: 15, 3003. Tried searching google but could not understand

Re: [R] R and Tableau Compatibility

2017-06-21 Thread Shivi Bhatia
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } R and Tableau can easily get connected with their latest versions. I have been using both for my case. 10.1 version of tableau

[R] Error in .jcall

2017-03-10 Thread Shivi Bhatia
Hi Team, I am creating an n-gram analysis on a text mining data however receving the error as:- Error in .jcall("RWekaInterfaces", "[S", "tokenize", .jcast(tokenizer, : java.lang.NullPointerException I have used the function: Ngramtok= function(x)NGramTokenizer(x, Weka_control(min=1, max=5))

Re: [R] Reading Multiple Files for Text Mining in R Using TM Package?

2017-03-02 Thread Shivi Bhatia
u have 220+ files in this directory > > > > If you move respective files into some working directory you could use let > say > > > > docs<- Corpus(DirSource(directory = "D:/Shivi/R Project/work")) > > > > without need to use setwd. > > &g

Re: [R] Reading Multiple Files for Text Mining in R Using TM Package?

2017-03-02 Thread Shivi Bhatia
e- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Shivi > > Bhatia > > Sent: Thursday, March 2, 2017 1:00 PM > > To: R-help <r-help@r-project.org> > > Subject: [R] Reading Multiple Files for Text Mining in R Using TM > Package? > > >

[R] Reading Multiple Files for Text Mining in R Using TM Package?

2017-03-02 Thread Shivi Bhatia
Hi All , I am trying to read few csv files for some text mining assignment. I have used this command to check the # of files in the working directory: length(dir(path="D:/Shivi/R Project", all.files = TRUE)) This results to more than 220 approx. I just need 3 files from these to use for the

[R] Request body format is wrong. Make sure the json request is serialized correctly and there are no null members"- Text Mining With Cognitive API

2017-01-27 Thread Shivi Bhatia
Hi Team, I am building a sentiment and text mining model with R and Cognitive API. I am getting the error as mentioned in the subject: Request body format is wrong. Make sure the json request is serialized correctly and there are no null members. Can you please advice what is incorrect i am

[R] Error in FUN(content(x), ...) : invalid input in 'utf8towcs' in Twitter Analysis using TM package

2017-01-24 Thread Shivi Bhatia
Hi All, I am working on a twitter analysis using the TM package. Below are some codes: 1- Here i am creating a data frame of the data collected from twitter chennai=as.data.frame(cbind(tweet=jallitext,date=jallidate,lat=jallilat,lon=jallilon,

[R] PNG File in R Markdown HTML

2017-01-10 Thread Shivi Bhatia
Hi Team, I am successfully able to add the company logo to the R markdown file using the code below: ```{r, fig.width=3, fig.height=15,echo=FALSE, warning=FALSE, message=FALSE} library(png) library(grid) img <- readPNG("D:/Shivi/R Project/Name.png") grid.raster(img) ``` However the image gets

Re: [R] 0 rows> (or 0-length row.names)

2016-08-31 Thread Shivi Bhatia
(210)258-9476 > e-mail: msh...@txbiomed.org > > > On Aug 31, 2016, at 5:37 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > These are the packages i am using: > > library(woe) #WEIGHT OF EVIDENCE > > library(InformationValue) #INFORMATION VALUE >

Re: [R] 0 rows> (or 0-length row.names)

2016-08-31 Thread Shivi Bhatia
; could be using to look at weight of evidence and information value. For > example, there is a WOE function in the Information package and a woe > function in the woe package. > > Mark > > On Aug 30, 2016, at 2:15 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > Hi Mark,

Re: [R] 0 rows> (or 0-length row.names)

2016-08-30 Thread Shivi Bhatia
edical Research Institute > P.O. Box 760549 > San Antonio, TX 78245-0549 > Telephone: (210)258-9476 > e-mail: msh...@txbiomed.org > > > > > > > > > On Aug 30, 2016, at 12:32 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > Hi William/ Mark,

Re: [R] 0 rows> (or 0-length row.names)

2016-08-30 Thread Shivi Bhatia
L, 10L, 9L, 10L, 10L, 10L, 10L, 5L, 9L, 10L, 8L, 10L, 10L, 10L, 10L, 10L, 10L, 1L, 9L, 8L, 10L, 10L, 10L, 10L, 9L, 10L, 10L, 10L, 9L, 10L, 8L, 8L, 10L, 9L), rep_score = c(9.5, 10, 2, 10, 10, 3.5, 7.5, 10, 10, 10, 10, 10, 10, 2, 10, 7.5, 6, 10, 9.5, 10, 9, 10, 10, 5.5, 9, 10, 8, 10, 1

Re: [R] 0 rows> (or 0-length row.names)

2016-08-30 Thread Shivi Bhatia
.org > > > > > > > > > On Aug 30, 2016, at 11:24 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > I know this question has been asked zillion times but even after > consulting > > Stack Overflow & other forum cant figure out the reason.

[R] 0 rows> (or 0-length row.names)

2016-08-30 Thread Shivi Bhatia
I know this question has been asked zillion times but even after consulting Stack Overflow & other forum cant figure out the reason. I have one var in my data-set names case age. This variable is numeric as: class(SFDC$case_age) *numeric* however it throws this error: <0 rows> (or 0-length

Re: [R] Error in riv package

2016-08-18 Thread Shivi Bhatia
ity.html for > guidance on how to ask for help effectively. > > Best, > Ista > > Please correspond with the maintainer of that package. > > -- > > Sent from my phone. Please excuse my brevity. > > > > On August 17, 2016 3:23:33 AM PDT, Shivi Bhatia <shi

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
WOW!!! On Wed, Aug 17, 2016 at 8:15 PM, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > Not our problem. Please correspond with the maintainer of that package. > -- > Sent from my phone. Please excuse my brevity. > > On August 17, 2016 3:23:33 AM PDT, Shivi Bhatia

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
gt; > On Aug 16, 2016, at 11:07 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > HI Team, > > > > I am working to reduce the # of predictor variables from the model using > > woe and iv values. For this i am using riv package. However

[R] Error in riv package

2016-08-16 Thread Shivi Bhatia
HI Team, I am working to reduce the # of predictor variables from the model using woe and iv values. For this i am using riv package. However i am having a hard time installing this package: install_github("riv","tomasgreif") install.packages("DBI",dependencies=TRUE) The error i receive is :

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
> > On 12/08/2016 17:24, Shivi Bhatia wrote: > >> Hi Bert, >> >> Does this text file help. Apologies if this does not help as i have a >> hard time on many occasions to get a reproducible example. >> >> If this doesn't work a CSV with only 100kb of data

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
er > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Fri, Aug 12, 2016 at 7:58 AM, Shivi Bhatia <shivipm...@gmail.com>

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
w us the output? > > And please do not post in HTML as it will mangle your post into > unreadability. > > On 12/08/2016 10:10, Shivi Bhatia wrote: > >> Hi Team, >> >> I am creating *my first* Logistic regression on R Studio. I am working on >> a >> >>

[R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
Hi Team, I am creating *my first* Logistic regression on R Studio. I am working on a C-SAT data where rating (score) 0-8 is a dis-sat whereas 9-10 are SAT. As these were in numeric form so i had as below created 2 classes: new$survey[new$score>=0 & new$score<=8]<- 0 new$survey[new$score>=9]<- 1

Re: [R] Creating Dummy Var in R for regression?

2016-08-07 Thread Shivi Bhatia
e_t[d$score > 3] = "medium" > d$score_t[d$score >7 ] = "high" > d$score_t = factor(d$score_t, levels = c("low", "medium", "high"), > ordered=TRUE) #set ordered = FALSE for dummy variables > X = model.matrix(~score_t, data=d) > X

Re: [R] Creating Dummy Var in R for regression?

2016-08-05 Thread Shivi Bhatia
gt; Your ifelse will never work because > > reasons$salutation== "Mr" & reasons$salutation=="Father" is always FALSE > > and so is reasons$salutation=="Mrs" & reasons$salutation=="Miss". > > Try instead | (or), not & (and). > &

[R] Creating Dummy Var in R for regression?

2016-08-05 Thread Shivi Bhatia
Dear Team, I need help with the below code in R: gender_rec<- c('Dr','Father','Mr'=1, 'Miss','MS','Mrs'=2, 3) reasons$salutation<- gender_rec[reasons$salutation]. This code gives me the correct output but it overwrites the reason$salutation variable. I need to create a new variable gender to

Re: [R] Help with the RMD Output & rCharts Package

2016-08-04 Thread Shivi Bhatia
Found an alternative, error A) was because the score.sentiment was calling the stringr package so called it at the start of the RMD file error B) looked for other alternative as rcharts didnt worked On Thu, Aug 4, 2016 at 6:39 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > Dear Team,

[R] Help with the RMD Output & rCharts Package

2016-08-04 Thread Shivi Bhatia
Dear Team, I am in need of urgent help on RMD output in html. A) I am working on a sentiment analysis problem and have built a sentiment model which works perfectly on R Studio however the same on the RMD shows all the processing steps and details. I have used echo= FALSE but i still the see

Re: [R] WordCloud Does not display in RMD File in R Studio

2016-07-29 Thread Shivi Bhatia
Hi Yihui, Seems like the issue was with the wordcloud. I used wordcloud2 and it worked handsomely. & thanks for suggesting wordcloud2 seems far better than wordcloud. tc. On Sat, Jul 30, 2016 at 12:00 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > Thanks for the suggestion. eve

Re: [R] WordCloud Does not display in RMD File in R Studio

2016-07-29 Thread Shivi Bhatia
I'm not sure which wordcloud package you were using, but this one > is the best one I have seen: https://github.com/Lchiffon/wordcloud2 > > Regards, > Yihui > -- > Yihui Xie <xieyi...@gmail.com> > Web: http://yihui.name > > > On Fri, Jul 29, 2016 at 11:53 AM, Shiv

[R] WordCloud Does not display in RMD File in R Studio

2016-07-29 Thread Shivi Bhatia
Dear Team, I have created a text mining solution for one of my business owners. I am sharing with his using RMD via HTML. All is working ok however the WordCloud does not populate any output in RMD file. Few months back when this happened on R studio i searched and used dev.off() to shut down

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
te(date, format="%m-%d-%y")) > head(cleaned) > #date > #1 2016-05-30 > #2 2016-06-01 > #3 2016-06-27 > That last one looks ok, so move on to your next tranformation step. > > > > > Bill Dunlap > TIBCO Software > wdu

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
These are some of the codes will i have eir$date<- as.Date(eir$date, "%d-%m-%Y") class(eir$date) eir$week<- (eir$date) eir$week<- weekdays(as.Date(eir$week)) eir$week<- as.factor(eir$week) On Tue, Jul 26, 2016 at 10:24 PM, Shivi Bhatia <shivipm...@gmail.com> w

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
ill Dunlap > TIBCO Software > wdunlap tibco.com > > On Tue, Jul 26, 2016 at 9:33 AM, Shivi Bhatia <shivipm...@gmail.com> > wrote: > >> Thanks Tom for the recommendation. This is now working. >> >> Apologies if this sounds like a juvenile but i am not very g

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
ct is now displayed in the format %Y-%m-%d by default > > # so no need for the mdy() or ymd() function > > > > # extract the weekdays as number > > weekdays <- wday(a1$date) > > > > # note can’t have spaces in variable names > > week_names <- wday(a1$date, la

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
gt; If you can send this information before doing any processing on the date > (i.e. before the as.Date() function) we may be able to help. > > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Shivi > Bhatia > Sent: July 26, 2

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
Hi Team, Please read wdy as wday it was mistakenly copied. On Tue, Jul 26, 2016 at 9:15 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > Hi David please see the code and some reproducible data: > eir$date<- as.Date(eir$date,format = "%m-%d-%y") then i had used the &g

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
oved which are not relevant in this context. On Tue, Jul 26, 2016 at 8:55 PM, David L Carlson <dcarl...@tamu.edu> wrote: > Show us the output, don’t just tell us what you are seeing. If the dates > are correct in the csv file, show us the structure of the data frame you > create

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
bles: > $ date: Date, format: "2016-05-30" ... > $ days: chr "Monday" "Monday" "Monday" "Monday" ... > > > eir > date days > 1 2016-05-30 Monday > 2 2016-05-30 Monday > 3 2016-05-30 Monday > 4 2016-05-

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
s class(eir$date) as character and hence i cannot find weekdays from this variable. Sorry but i still dont understand in totality how R reads dates even though have tried enough. Regards, Shivi On Tue, Jul 26, 2016 at 5:12 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > T

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
Thanks Duncan for the quick response. I will check again as you suggested. If that doesn't work i will share a reproducible example. Thanks again On Tue, Jul 26, 2016 at 4:43 PM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 26/07/2016 7:05 AM, Shivi Bhatia wrote: >

[R] Date Time in R

2016-07-26 Thread Shivi Bhatia
Hi Team, This scenario may have come across a number of times however i checked nabble & SO and couldn't find a solution hence request assistance. I have a date variable in my data-set eir. The class of this var was character while i had read the file in r studio. Example of date - 05-30-16 To

Re: [R] findAssocs in TM package in R help?

2016-07-17 Thread Shivi Bhatia
Hi Team, Please suggest. On Sun, Jul 17, 2016 at 2:55 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > Good Day, > > I am working on a text mining assignment and have built the document > matrix using the tm package. > > Now I need to run findAssocs from my dtm

[R] findAssocs in TM package in R help?

2016-07-16 Thread Shivi Bhatia
Good Day, I am working on a text mining assignment and have built the document matrix using the tm package. Now I need to run findAssocs from my dtm with some word say 'like' with a correlation of 0.70 but as far as i have been researching it tells it this function is only viable when we have

Re: [R] 'ref' must be an existing level

2016-07-09 Thread Shivi Bhatia
On 09 Jul 2016, at 12:29 , Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > Dear Team, > > > > I am running a multinomial logistic regression model for one of the > > fictitious data before i implement the same on my real data. > > Here i am trying to predict b

[R] 'ref' must be an existing level

2016-07-09 Thread Shivi Bhatia
Dear Team, I am running a multinomial logistic regression model for one of the fictitious data before i implement the same on my real data. Here i am trying to predict based some scores and economic group whether a person will go for a diploma, general or honors. The code below: m11$prog2<-

Re: [R] Help with the Cut Function

2016-06-25 Thread Shivi Bhatia
s N/A. On Sun, Jun 26, 2016 at 3:25 AM, David Winsemius <dwinsem...@comcast.net> wrote: > > > On Jun 25, 2016, at 12:05 PM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > Dear Team, > > > > Please see the code below: > > > > Age1<- cut(

[R] Help with the Cut Function

2016-06-25 Thread Shivi Bhatia
Dear Team, Please see the code below: Age1<- cut(desc$Age, breaks = c(20,30,40,Inf),labels = c("Low","Mid","Top")) here i am creating three categories as mentioned from the age var from desc data set. All the values are set correctly however the values which are below 20 are set to NA. Is there

[R] Error in setwd() : argument "dir" is missing, with no default

2016-06-20 Thread Shivi Bhatia
Dear Team, I have searched for this error at various forums but enable to find a relevant solution. When i had installed R studio the WD was saved at a particular location now when i try to change it gives me this error: Error in setwd() : argument "dir" is missing, with no default. I have

[R] Warning Message With WordCloud

2016-02-23 Thread SHIVI BHATIA
Dear Team, I am working on Wordcloud package for one of my projects. While it running fine it is not showing the top most values in the output as it should. I have ran it earlier and it was fine but now there seems to be an issue. The wordcloud image shows the values which are appearing

[R] R Memory Issue

2016-02-17 Thread SHIVI BHATIA
Dear Team, Every now and then I face some weird issues with R. For instance it would not read my csv file or any other read.table command and once I would close the session and reopen again it works fine. It have tried using rm(list=ls()) & gc() to free some memory and restart R

Re: [R] Error with Twitter Authorization for Sentiment Analysis

2016-02-15 Thread SHIVI BHATIA
[mailto:sunnysingha.analyt...@gmail.com] Sent: Monday, February 15, 2016 5:52 PM To: SHIVI BHATIA <shivi.bha...@safexpress.com> Cc: r-help@r-project.org Subject: Re: [R] Error with Twitter Authorization for Sentiment Analysis Shivi, Could you also share the piece of code to have a look at ? R

[R] Error with Twitter Authorization for Sentiment Analysis

2016-02-15 Thread SHIVI BHATIA
Dear Team, Every now and then I face issues while connecting to Twitter: Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()' I have checked multiple github suggestion and statsexchange forum & have

[R] Error on Text Mining for WordCloud

2016-02-13 Thread SHIVI BHATIA
Dear Team, Please suggest on the below error while I am building a WordCloud on R for one of user twitter account: Error in UseMethod("TermDocumentMatrix", x) : no applicable method for 'TermDocumentMatrix' applied to an object of class "c('double', 'numeric')" I have tried

[R] Help with the Twitter Analysis

2016-02-12 Thread SHIVI BHATIA
Dear Team, Kindly refer to the error below while generating a Twitter Analysis for my firm: # Warning message: # In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit = retryOnRateLimit, : As I checked on forums such as StackOverflow and other r related literature it

[R] Paste Funtion Help

2016-02-04 Thread SHIVI BHATIA
HI Team, Need help with the below syntax. merge.salaries[, name:=paste("nameFirst","nameLast")]. Here merge.salaries is the data set I have merged. There are 2 columns nameFirst and nameLast I need to merge these two into one and name as name however I can getting an error: Error

Re: [R] Dput Help in R

2015-12-31 Thread SHIVI BHATIA
Hi Duncan, Please find the dput from the data. ab<-read.csv("collection_last.csv",header=TRUE) y<-ab[1:10,] ab<- "2,458", "2,461", "2,462", "2,463", "2,464", "2,465", "2,468", "2,469", "2,470", "2,473", "2,474", "2,475", "2,476", "2,477", "2,478", "2,479", "2,480", "2,483", "2,484,267",

[R] Dput Help in R

2015-12-30 Thread SHIVI BHATIA
Dear Team, I am facing an error while performing a manipulation using a dplyr package. In the code below, I am using mutate to build a new calculated column: kp<-read.csv("collection_last.csv",header=TRUE) mutate(kp,dif=DOC_AMOUNT-RECEIPT_AMT+TDS_AMT+REBATE) However it gives an

[R] Incorrect Summarization after As.numeric

2015-12-28 Thread SHIVI BHATIA
Dear Team, I am working on aggregate function in R & have used the below code: aggregate(a1$Final,list(Year=a1$Year),sum) initially a1$Final was factor hence I used a1$Final= as.numeric(a1$Final) to convert this into numeric. After conversion it shows the output but the summarization

Re: [R] Subscribe to Post

2015-12-27 Thread SHIVI BHATIA
This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return

Re: [R] Subscribe to Post

2015-12-26 Thread SHIVI BHATIA
Dear Team, Kindly look into the same at the earliest. Regards, Shivi From: SHIVI BHATIA [mailto:shivi.bha...@safexpress.com] Sent: Friday, December 25, 2015 6:10 PM To: 'r-help@r-project.org' <r-help@r-project.org> Subject: Subscribe to Post Dear Team, I have recen