Re: [R] Question

2017-06-22 Thread Amrith Deepak
> dta2 <- dta > dta2$D <- c( "awe", "abcd", "asdf", "xyz" ) > dta2 <- dta2[ , c( "A", "D" ) ] > -- > Sent from my phone. Please excuse my brevity. > > On June 22, 2017 11:22:57 AM PDT, Amrith Deepak wrote: &g

Re: [R] Question

2017-06-22 Thread Amrith Deepak
This function won’t work with objects in spark as you can’t do a dfda$a in spark as it’s not stored as a local variable. Thanks, Amrith > On Jun 22, 2017, at 4:15 PM, David Winsemius wrote: > > >> On Jun 22, 2017, at 11:22 AM, Amrith Deepak wrote: >> >> Hi, >

[R] Question

2017-06-22 Thread Amrith Deepak
Hi, I am using Spark and the Sparklyr library in R. I have a file with several lines. For example A B C awer.ttp.netCode554 abcd.ttp.netCode747 asdf.ttp.netPart554 xyz.ttp.net Part747 I want to split just column A of the table and I want