Re: [NMusers] IGNORE under $DATA ignored

From: Denney, William S. <William.S.Denney_at_pfizer.com>
Date: Mon, 9 Mar 2015 04:24:55 +0000

Hi Xinting,

It looks like your data file has quotes in it instead of just character data. You could confirm this in Linux with the head command (head data.csv). The fix is to use quote=FALSE in your call to write.csv in R.

Thanks,

Bill

On Mar 9, 2015, at 0:04, "Xinting Wang" <wxinting1986_at_gmail.com<mailto:wxinting1986_at_gmail.com>> wrote:

Dear all,

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

I have a data set created by R and submitted to run under NONMEM, but somehow 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. Additionally, I tried to use different output functions (write.table and write.csv) under R, tried different coding (using fileEncoding= option) but this problem still occurs. I am wondering if anyone else has come across this problem 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 advance for your kind help.

Best

--
Xinting
Received on Mon Mar 09 2015 - 00:24:55 EDT

This archive was generated by hypermail 2.3.0 : Fri Sep 27 2019 - 16:43:30 EDT