On 20/11/2021 5:27 a.m., Steven Yen wrote:
I have named NUMEROUS objects (each containing, e.g., 48 obs. of 5
variables), such as
    mec1.p.emb
    mec2.p.emb
    meb1.p.emb
    meb2.p.emb
    mej12.p.emb
    mej22.p.emb

How would I rename these objects removing the silly ".emb", into objects
    mec1.p
    mec2.p
    meb1.p
    meb2.p
    mej12.p
    mej22.p


Use a global search and replace on your source code, and create them with the correct names.

Duncan Murdoch

______________________________________________
R-help@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.

Reply via email to