Hi R users,

I have a string for example 'X35.84375_.100.71875', and I have another
dataframe df that I want to export with the transformed string name
'35.84375_-100.71875' with no extension. How to do this in R? Thanks for
your help.

a = 'X35.84375_.100.71875'
write.table(df, file='', row.names=F, col.names=F)

        [[alternative HTML version deleted]]

______________________________________________
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