[R] Remove
Avi Gross
@v|gro@@ @end|ng |rom ver|zon@net
Sat Jan 29 22:55:44 CET 2022
Rui,
I have to wonder if valkremk using gmail.com is currently reading this thread. I am sending a copy of this email directly to them and requesting they look at what has been posted and let us know if their need is met and they have successfully written code that solves the problem so we can move on.
As noted, I think that people asking for free help show their appreciation by minimizing the work others do and letting others know that no further work is needed.
Sending a second request like this while not responding to others, suggests they may not be 'listening' or only to personal email replies. As far as I am concerned, we have shown an array of solutions way beyond the hints and teaching I originally intended and the matter is closed and future questions by this person will be viewed with suspicion by me as they are not responsive.
Maybe it is time for me to look for a job again, so I get paid for wasting my time.
Avi
-----Original Message-----
From: Rui Barradas <ruipbarradas using sapo.pt>
To: Val <valkremk using gmail.com>; r-help using R-project.org (r-help using r-project.org) <r-help using r-project.org>
Sent: Sat, Jan 29, 2022 8:17 am
Subject: Re: [R] Remove
Hello,
This question is repeated [1].
[1] https://stat.ethz.ch/pipermail/r-help/2022-January/473663.html
Rui Barradas
Às 02:20 de 29/01/2022, Val escreveu:
> Hi All,
>
> I want remove row(s) that contains a character string in an integer column
> or a digit in a character column
>
> Sample data
> dat1 <-read.table(text="Name, Age, Weight
> Alex, 20, 13X
> Bob, 25, 142
> Carol, 24, 120
> John, 3BC, 175
> Katy, 35, 160
> Jack3, 34, 140",sep=",",header=TRUE,stringsAsFactors=F)
>
> If the Age/Weight column contains any character(s) then remove
> if the Name column contains any digit then remove that row
>
> Desired output
>
> Name Age weight
> 1 Bob 25 142
> 2 Carol 24 120
> 3 Katy 35 160
>
> Thank you,
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list