Function to ask the user for the name of a file

Share:

Description

Asks the user for the name of a file.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
xpose.ask.for.filename(object,
                       listfile = paste("run",object@Runno,".lst",sep= ""),
                       modfile = paste("run",object@Runno,".mod",sep =""),
                       ...)

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

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

Arguments

object

An xpose.data object.

listfile

A NONMEM output file

modfile

A NONMEM model file

...

Additional arguments passed to the function

Details

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

Value

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

Author(s)

Niclas Jonsson, Justin Wilkins, Mats Karlsson and Andrew Hooker

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.