NONMEM Users Network Archive

Hosted by Cognigen

Re: [NMusers] IGNORE under $DATA ignored

From: Vineet Goti <Vineet.Goti_at_live.mercer.edu>
Date: Mon, 9 Mar 2015 04:37:15 +0000

Dear Xinting,


I have faced this problem several times. I have not identified the source f=
or this problem,but I think this problem is with R rather than NONMEM. When=
 R outputs data, maybe there is a space introduced in the _at_ column you are =
using to IGNORE the variable names at the top of your data. There are two s=
olutions which worked for me :


1. Go to the cell immediately below the _at_ at the top our data and delete th=
e contents (even if it is an empty cell), then drag the cell to end of your=
 data. You may then introduce the _at_ to ignore whichever rows you seem fit. =
Alternatively, you can also only select the blank cells in the _at_ column of =
your excel sheet and do the delete-drag process so that you do not disturb =
the cells containing _at_ used to ignore rows within the data.


2. Remove the variable identifiers when you are outputting the data from R.=
 You can do this by using the col.names=FALSE argument in the write.table=
 function. Just be sure you are referencing the columns correctly in the $I=
NPUT record in your control file. This option obviates the use of _at_ to igno=
re the row containing variable identifiers. However, this option will not w=
ork for you if you want to ignore specific rows within the data.


Hope this helps. Eager to hear other responses to solve this problem. Thank=
 you.


Regards,


VINEET GOTI
Graduate Student,
COP/Center for Pharmacometrics,
Mercer University Atlanta.

Phone: 678-547-6264
           678-314-1893

________________________________
From: owner-nmusers_at_globomaxnm.com <owner-nmusers_at_globomaxnm.com> on behalf=
 of Xinting Wang <wxinting1986_at_gmail.com>
Sent: Sunday, March 08, 2015 11:26 PM
To: nmusers_at_globomaxnm.com
Subject: [NMusers] IGNORE under $DATA ignored

Dear all,

I have a technical question to ask regarding the IGNORE=_at_ option under $D=
ATA.

I have a data set created by R and submitted to run under NONMEM, but someh=
ow the IGNORE option is not read by the program and give me a list of error=
 messages saying:

(DATA ERROR) RECORD 1, DATA ITEM 14, CONTENTS: "DOSE"
 ITEM IS NOT A NUMBER.

 (DATA ERROR) RECORD 1, DATA ITEM 15, CONTENTS: "SEX"
 ITEM IS NOT A NUMBER.


?I tried to move the IGNORE to a different line without any effect. Additio=
nally, I tried to use different output functions (write.table and write.csv=
) under R, tried different coding (using fileEncoding= option) but this p=
roblem still occurs. I am wondering if anyone else has come across this pro=
blem and if so, could you please share your resolving experience?

All of the R and NONMEM program were run under Red Hat Linux. Thanks? in ad=
vance for your kind help.

Best

--
Xinting

Received on Mon Mar 09 2015 - 00:37:15 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request_at_iconplc.com. Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.