[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 comp

Re: [R] Assistance on Installing Rattle

2018-08-14 Thread Shivi Bhatia
os="https://rattle.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 inst

Re: [R] Assistance on Installing Rattle

2018-08-13 Thread Shivi Bhatia
n Sun, Aug 12, 2018 at 7:20 PM 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

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 o

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 htt

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

2018-03-17 Thread Shivi Bhatia
ation 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 Shivi Bhatia > wro

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

2018-03-17 Thread Shivi Bhatia
work, then provide a reproducible example so we can > offer further advice. > > Sarah > > On Sat, Mar 17, 2018 at 11:08 AM, Shivi Bhatia > wrote: > > Created a new data set with 3 numeric variable to find correlation > > > > CR1<- mar%>% as_data_frame%&g

[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: corrplot(

Re: [R] arguments imply differing number of rows

2017-09-20 Thread Shivi Bhatia
3200, length=5)) > > Bob > > On 20 September 2017 at 17:07, Shivi Bhatia wrote: > > Hi Team, > > > > I using the syntax as: > > > > data.df<- data.frame( > > city= c(rep(c("Delhi", "Bangalore","Chandigarh"),each=5)),

[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 ca

[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
ry > > > > 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. > > > > But maybe I do not understa

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

2017-03-02 Thread Shivi Bhatia
use the same command for reading them from that other directory. > > You probably could do this from R itself however I am almost sure that > doing this task by OS is far less complicated. > > Cheers > Petr > > > > -Original Message- > > From: R-help [mailto:

[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 tex

[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 doing

[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, isretweet=isretweet,retweeted=

[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 di

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

2016-08-31 Thread Shivi Bhatia
l: msh...@txbiomed.org > > > On Aug 31, 2016, at 5:37 AM, Shivi Bhatia wrote: > > > > These are the packages i am using: > > library(woe) #WEIGHT OF EVIDENCE > > library(InformationValue) #INFORMATION VALUE > > > > The syntax used is : > > WOE(X=S

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

2016-08-31 Thread Shivi Bhatia
ht 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 wrote: > > Hi Mark, > What i understand, probably when i run the WOE

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

2016-08-30 Thread Shivi Bhatia
; 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 wrote: > > > > Hi William/ Mark, > > > > I am using WOE & IV (weight of

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

2016-08-30 Thread Shivi Bhatia
4L, 4L, 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,

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

2016-08-30 Thread Shivi Bhatia
> > R. Mark Sharp, Ph.D. > Director of Primate Records Database > Southwest National Primate Research Center > Texas Biomedical Research Institute > P.O. Box 760549 > San Antonio, TX 78245-0549 > Telephone: (210)258-9476 > e-mail: msh...@txbiomed.org > > > > &

[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 row

Re: [R] Error in riv package

2016-08-18 Thread Shivi Bhatia
nce 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 > wrote: > > >Hi David, > &g

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
WOW!!! On Wed, Aug 17, 2016 at 8:15 PM, Jeff Newmiller 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 > wrote: > >Hi David, &

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
11:07 AM, Shivi Bhatia 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 i am having a > > hard time installing this package: > > > >

[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 : *Us

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

2016-08-12 Thread Shivi Bhatia
error message. If I assume repS is in fact rep_score I get > another variable not found (delivery_segmentation). > > I am afraid that I am unable to sort that one out so this is going to > remain a mystery. I endorse Bert's suggestion of getting local help. > > On 12/08/2

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

2016-08-12 Thread Shivi Bhatia
uble 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 > wrote: > > Hi Michael, > > > >

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

2016-08-12 Thread Shivi Bhatia
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 >> >> C-SAT data where rating (sc

[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 T

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

2016-08-07 Thread Shivi Bhatia
ot;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 > > > > On Fri, Aug

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

2016-08-05 Thread Shivi Bhatia
easons$salutation== "Mr" & reasons$salutation=="Father" is always FALSE > > and so is reasons$salutation=="Mrs" & reasons$salutation=="Miss". > > Try instead | (or), not & (and). > > > > Hope this helps, > > > >

[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 ca

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 wrote: > Dear Team, > > I am in need

[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 the

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 wrote: > Thanks for the suggestion. even without png isnt not

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

2016-07-29 Thread Shivi Bhatia
hich wordcloud package you were using, but this one > is the best one I have seen: https://github.com/Lchiffon/wordcloud2 > > Regards, > Yihui > -- > Yihui Xie > Web: http://yihui.name > > > On Fri, Jul 29, 2016 at 11:53 AM, Shivi Bhatia > wrote: > > Dear Team

[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 an

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
t;- transform(raw, date=as.Date(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 Sof

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 wrote: > Hi Bill, > > I ha

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
TIBCO Software > wdunlap tibco.com > > On Tue, Jul 26, 2016 at 9:33 AM, Shivi Bhatia > wrote: > >> Thanks Tom for the recommendation. This is now working. >> >> Apologies if this sounds like a juvenile but i am not very good with dates >> in R. What i initially did

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
rmat %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, label=TRUE) > > &

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
rmation 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, 2016 11:46 AM > To: David L Ca

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 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 > lubridate library

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
have removed which are not relevant in this context. On Tue, Jul 26, 2016 at 8:55 PM, David L Carlson 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 > created with read.csv() and show

Re: [R] Date Time in R

2016-07-26 Thread Shivi Bhatia
variables: > $ 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-30

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 wrote: > Thanks Duncan for the quick response. I will c

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 wrote: > On 26/07/2016 7:05 AM, Shivi Bhatia wrote: > >> Hi Team, >> &g

[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 c

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 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 with some word say 'like'

[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 mo

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

2016-07-09 Thread Shivi Bhatia
Hi Peter, It gives me breakdown of all categories with their respective freq. Diploma general honors 50 45 105 On Sat, Jul 9, 2016 at 4:07 PM, peter dalgaard wrote: > > What does table(m11$prog) tell you? > -pd > > > On 09 Jul 2016, at 12:29 , S

[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<- relev

Re: [R] Help with the Cut Function

2016-06-25 Thread Shivi Bhatia
alues exceeding 40 as N/A. On Sun, Jun 26, 2016 at 3:25 AM, David Winsemius wrote: > > > On Jun 25, 2016, at 12:05 PM, Shivi Bhatia wrote: > > > > Dear Team, > > > > Please see the code below: > > > > Age1<- cut(desc$Age, breaks = c(20,30,40,Inf),lab

[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 a

[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 tried

[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 on

[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 Also

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 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 ? Regards, Sunny Singha > On 14-

[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 sear

[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", "2,485",

[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 error:

[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 fr

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 e-mail.

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' Subject: Subscribe to Post Dear Team, I have recently re-subscribed