I currently use orgstruct-mode tu structure scripts for statistical analysis in R. So I copy + paste some orgstruct-code into every R-file, where I would like to enjoy folding.
Is there any way to put the following lines of code into my .emacs-file, so the orgstruct-properties becaume default for all my .R-Files?

  ### * End of file

  ### Local Variables:
  ### eval: (orgstruct-mode 1)
  ### orgstruct-heading-prefix-regexp: "### "
  ### End:

(See https://stackoverflow.com/questions/14941429/structuring-a-statistical-analysis-with-r-using-emacs-ess for further references)