lstExtractTime function

Extract run time from output control stream

Extract run time from output control stream

lstExtractTime(file, tz.lst = "as.is")

Arguments

  • file: path to output control stream
  • tz.lst: The time zone of the time stamp from Nonmem. The default ("as.is") is to try to extract it or take it from the system on which this function is run. See details.

Returns

A POSIXct date-time object

Details

Time zones are system specific. See OlsonNames()

for a list of what time zones are available on the system.

Examples

file <- system.file("examples/nonmem/xgxr003.lst",package="NMdata") NMdata:::lstExtractTime(file) file <- system.file("examples/nonmem/xgxr003.mod",package="NMdata") NMdata:::lstExtractTime(file) ## Not run: all.lsts <- list.files( system.file("examples/nonmem",package="NMdata"), pattern="\\.lst",full.names=TRUE) lapply(all.lsts,NMdata:::lstExtractTime) ## End(Not run)
  • Maintainer: Philip Delff
  • License: MIT + file LICENSE
  • Last published: 2025-03-21