inst/testScripts/setup.R

#!/usr/bin/env Rscript

library("aroma.affymetrix")

pathT <- system.file("testScripts", package="aroma.affymetrix")
pathT <- Arguments$getReadablePath(pathT)

path <- "testScripts/"
path <- filePath(path, expandLinks="any")
if (!isDirectory(path)) {
  createLink(target=pathT)
}
path <- Arguments$getReadablePath(path)

pathname <- "menu.Rex"
if (!isFile(pathname)) {
  code <- c(
    'if (interactive()) savehistory()',
    'library("R.menu")',
    'launchMenu("testScripts")'
  )
  cat(file=pathname, code, sep="\n")
}
pathname <- Arguments$getReadablePathname(pathname)

Try the aroma.affymetrix package in your browser

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

aroma.affymetrix documentation built on July 18, 2022, 5:07 p.m.