Question: PLEASE SOLVE IN R PROGRAM LANGUAGE ONLY!!! (1) Given a list of filenames, write a function to check which of the filenames have a given

PLEASE SOLVE IN R PROGRAM LANGUAGE ONLY!!!

PLEASE SOLVE IN R PROGRAM LANGUAGE ONLY!!! (1) Given a list of

(1) Given a list of filenames, write a function to check which of the filenames have a given suffix. (2) Given a vector of arbitrary strings show how to count how many strings start with a letter followed by '"' and contain exactly one '@' and exactly one '., with the '@' somewhere to the left of ":' but with at least one character in-between. Eg. for c("a-777@xyz.pqr", "b777@xyz.pqr", "a-777@xy@z.pqr", "a-777@.pqr", "W-@xyz.pqr") the answer is 2 since only the first and the last string obey the rule

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!