R/GetWriteR.R

Defines functions GetWriteR

Documented in GetWriteR

### problems so temporary override follows experimental work

GetWriteR =
    function() {
      if (interactive()) {
        if (.Platform$OS.type == "windows") {
              .DownloadAFile()
              download.file(
                  "https://R-Resources.massey.ac.nz/writer/WriteRInstaller.exe",
                  "WriteRInstaller.exe")
              file.rename("WriteRInstaller.exe",
                          paste0(getOption("BrailleR.Folder"), "WriteRInstaller.exe"))
              .Added2MyBrailleR()
            .DeleteAnytime()
        } else {
          .WindowsOnly
        }
      } else {
        .InteractiveOnly()
      }
      return(invisible(NULL))
    }

Try the BrailleR package in your browser

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

BrailleR documentation built on July 26, 2023, 5:46 p.m.