R/startWinEdt.R

Defines functions startWinEdt

Documented in startWinEdt

startWinEdt <- function(InstallRoot, ApplData, WinEdtVersion, args=NULL){
    if(WinEdtVersion < 6){
        shell(paste('""', InstallRoot, '\\WinEdt.exe" -C="R-WinEdt" -E=', 
                     shQuote(normalizePath(file.path(ApplData, "R.ini"))), '"', sep = ""), 
               wait = FALSE)
    } else {
        shell(paste('""', InstallRoot, '\\WinEdt.exe""', if(!is.null(args)) args, sep = ""), wait = FALSE)
    }
}

Try the RWinEdt package in your browser

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

RWinEdt documentation built on May 2, 2019, 8:40 a.m.