Re: [R] subset data frame problem

2021-12-12 Thread Jeff Newmiller
Use one ampersand, not two. And post plain text. On December 12, 2021 8:30:11 PM PST, Kai Yang via R-help wrote: >Hi R team,I want to delete records from a data frame if Class = '1st' and >Survived = 'No'. I wrote the code below, test <- subset(PD, Class != '1st' && >Survived != 'No') >but

[R] subset data frame problem

2021-12-12 Thread Kai Yang via R-help
Hi R team,I want to delete records from a data frame if Class = '1st' and Survived = 'No'. I wrote the code below, test <- subset(PD, Class != '1st' && Survived != 'No') but the code return a wrong result. Can someone help me for this?  Thanks,Kai [[alternative HTML version deleted]]

Re: [R] help with parellel processing and RSelenium

2021-12-12 Thread Bert Gunter
I would suggest instead: foo <- function(pars){ with(pars, (res <- (x + y)*z^w list(result = res, message = alpha) )) } On Sun, Dec 12, 2021, 9:12 AM Rui Barradas wrote: > Hello, > > Inline. > > Às 16:43 de 12/12/21, akshay kulkarni escreveu: > > dear members, > >

Re: [R] help with parellel processing and RSelenium

2021-12-12 Thread Rui Barradas
Hello, Inline. Às 16:43 de 12/12/21, akshay kulkarni escreveu: dear members, I am a stock trader based in INDIA using R for my research. I have two questions: 1. I want to send the same function with different arguments to different cores. This link in SO

[R] help with parellel processing and RSelenium

2021-12-12 Thread akshay kulkarni
dear members, I am a stock trader based in INDIA using R for my research. I have two questions: 1. I want to send the same function with different arguments to different cores. This link in SO