
Last chance! 50% off unlimited learning
Sale ends in
## Rename dot-txt file as dot-csv
ans <- fileparts("/home/luser/foo.txt")
fullfile(ans$pathstr, paste(ans$name, "csv", sep=".")) # /home/luser/foo.csv
Run the code above in your browser using DataLab