Knit has stopped producing Spanish output in Word

I use the latest versions of RStudio and R and update my packages starting every session. I sometimes need to write Word reports in Spanish and will have 2 versions of a Rmd file (Spanish and English). I copy lines from the English Rmd and paste them in Google Translate for initial translation and paste them into the Spanish Rmd. It knitted fine until about 1 week ago when it suddenly stopped placing the accents, etc. in the Spanish reports. Any suggestions would be greatly appreciated. Thank you.

I found my error. I never cease to be amazed by my own stupidity.

1 Like

Could you share what was your error and how you correct it? it could be helpful to others with the same problem.

What I do is to write my FINAL report in an English Rmd file one sentence to a line. Then I copy a line at a time to Google Translate, paste, copy the translated sentence, and finally paste it in the Spanish Rmd file. That way the sentence numbers coincide and it is easy to re-translate small changes. The final translation of course is done by hand. The code is copied directly from the English Rmd to the Spanish Rmd. It has worked fairly efficiently.

However, this time I made fairly large changes in the FINAL report (English Rmd) and tried to incorporate them later into the Spanish Rmd. Somehow, the file was corrupted and hence the problem. (Note the use of the reflexive keeps me from being responsable.)

I started a new Spanish Rmd, everything from scratch, and it worked.

Hope that this helps.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.