Dear Robert, Change your line ending settings in git. See https://help.github.com/articles/dealing-with-line-endings/
Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey 2017-08-07 4:06 GMT+02:00 Robert Rankin <robertw.ran...@gmail.com>: > Dear Mac or Linux users, > I am trying to share capture-recapture R source code and JAGS models on > Github. > I am writing the scripts in Emacs on a GNU/linux Ubuntu machine. When > Windows users download my scripts, they get a single line of code (no line > breaks) and the JAGS models fail. What is your best-practises for getting > *nix scripts to work and read properly on Windows through Github? > > I am using the program unix2dos (in the ubuntu repositories) to convert the > *nix line-breaks to the Windows line-breaks, and this seems to work when I > download from Github and open on a Windows machine with notepad or > notepad++. However, other Windows users still can't get the JAGS models and > R source code to load properly. > > Here is my github directory for windows: > https://github.com/faraway1nspace/PCRD_JAGS_demo/tree/master/WINDOWS > > Can any Mac or Linux user share their workflow? > Thank you, > Robert > > -- > "You could give Aristotle a tutorial. And you could thrill him to the core > of his being ... Such is the privilege of living after Newton, Darwin, > Einstein, Planck, Watson, Crick and their colleagues." > -- Richard Dawkins > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > [[alternative HTML version deleted]] _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology