[R] Filtering data with dplyr or grep and losing data?

2018-12-19 Thread Satish Vadlamani
= sec1[grep("DF_API: input string",sec1$V1, perl = TRUE),] head(sec1_test2) write.csv(sec1_test, file = "test_out.txt", row.names = F, quote = F) write.csv(sec1_test2, file = "test2_out.txt", row.names = F, quote = F) Data (and code) is given at the link below. Sorry,

Re: [R] How to group by and get distinct rows of of grouped rows based on certain criteria

2016-07-15 Thread Satish Vadlamani
02 A > 902 B > > Some folks prefer to use subset() instead of "[". The previous expression > is equivalent to: > > > unique( subset(d, Category=="EQ", c("ATP Group", "Business Event"))) > ATP Grou

[R] How to group by and get distinct rows of of grouped rows based on certain criteria

2016-07-14 Thread Satish Vadlamani
|AC | |02 |B |AY | |02 |B |EQ | -- Satish Vadlamani [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.c

[R] question - how to subcribe to this list

2016-06-17 Thread Satish Vadlamani
Hello All: I posted one question in the past and another today and hope to get the same excellent help that I got last time. My question is this: is there any way to subcribe to the forum so that I can see the questions and answers posted to r-help? Thanks, -- Satish Vadlamani

[R] what is the best way to process the following data?

2016-06-17 Thread Satish Vadlamani
ocess_SLS_4.txt" will make it clear what I am trying to do. I want to compare the parallel process times taken for each step with the non parallel process times. If there are better ways of performing this task that what I am thinking, could you let me know? Thanks in advanc

Re: [R] How to form groups for this specific problem?

2016-03-28 Thread Satish Vadlamani
match, nodes) > > # use the igraph package to identify disconnected groups > library(igraph) > g <- graph(edges) > ngroup <- clusters(g)$membership > df$Group <- ngroup[match(df$Component, nodes)] > df > > Component TLA Group > 1C1 TLA1 1 > 2

[R] How to form groups for this specific problem?

2016-03-27 Thread Satish Vadlamani
on this. I could have looped through the observations and tried some logic but I did not try that yet. -- Satish Vadlamani [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Reading large files

2010-02-05 Thread Satish Vadlamani
Folks: Can anyone throw some light on this? Thanks. Satish - Satish Vadlamani -- View this message in context: http://n4.nabble.com/Reading-large-files-tp1469691p1470169.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] Reading large files

2010-02-05 Thread Satish Vadlamani
something, please let me know. Thanks. Satish End State Satish wrote: at one time I will need to load say 15GB into R - Satish Vadlamani -- View this message in context: http://n4.nabble.com/Reading-large-files-tp1469691p1470667.html Sent from the R help mailing list archive