I have a C++ that I'm running though R (via Rcpp). Recently, I found that the C++ program I'm wrapping with Rcpp fails when using Windows-style line endings.
I'm wondering if anyone knows of a cross-platform way for me to change Windows-style line endings to Unix-style line endings in either C++ or R or ash shell (which comes installed with R).
Thanks!