Defines functions MakeRprofile

Documented in MakeRprofile

MakeRprofile =
    function(Overwrite = FALSE) {
      if (!file.exists(".Rprofile")) Overwrite = TRUE

      if (Overwrite) {
        cat('.First=function(){\n  .First.sys()\n  library(BrailleR)\n}\n',
            file = ".Rprofile")
            "The .Rprofile file has been updated. The BrailleR package will be automatically loaded on startup in this working directory.")
      } else {
        warning("An .Rprofile already exists. No action has been taken.\n")

Try the BrailleR package in your browser

Any scripts or data that you put into this service are public.

BrailleR documentation built on July 7, 2017, 9:03 a.m.