Reputation: 759
I wanted to know if there's a difference between .Rmd files and .rmd files (uppercase vs lowercase). When I test it, there doesn't seem to be one.
Upvotes: 2
Views: 725
Reputation: 368241
As commented above earlier, the short answer is 'no -- there is no difference'.
The larger context is that for some operating systems, file.rmd
and file.Rmd
are in fact the same as they are on purpose treating filenames in a case-insensitive matter. (In hindsight that quite likely might not have been their brightest idea---but stuff happens and now it is a fact that is hard to undo.) So R plays along and treats them the same way too.
You can even dig around existing R packages (and browsing e.g. at https://github.com/cran/ lets you view all CRAN packages via that 'mirror') and may notice that some packages do in fact use file.r
even if most stick with file.R
. Again, they are treated the same by R, reflecting the fact that one of the operating systems R runs effectively enforces that.
Upvotes: 4