Do loop for file entry


I'm afraid your request is not very clear and the code you provided is not a reprex we can work with. Could you try and generate a more general example of what you like to accomplish and clearly show the input and output you're expecting.

For instance, I don't see where the loop is coming in, and the fix command is something that requires manual entry thus cannot be automated per definition.

Please use the reprex guide if needed. A reprex consists of the minimal code and data needed to recreate the issue you're having. You can find instructions how to build and share one here:

Good luck!