Learn R Programming

xpose4 (version 4.7.3)

xpose.ask.for.filename: Function to ask the user for the name of a file

Description

Asks the user for the name of a file.

Usage

xpose.ask.for.filename(
  object,
  listfile = paste("run", object@Runno, ".lst", sep = ""),
  modfile = paste("run", object@Runno, ".mod", sep = ""),
  ...
)

Value

The name of the file if it exists, otherwise nothing is returned.

Arguments

object

An xpose.data object.

listfile

A NONMEM output file

modfile

A NONMEM model file

...

Additional arguments passed to the function

Author

Niclas Jonsson, Justin Wilkins, Mats Karlsson and Andrew Hooker

Details

Function checks if the file exists, if it does then the filename is returned from the function.