Re: IGNORE under $DATA ignored

From: Bill Denney Date: March 09, 2015 technical Source: mail-archive.com
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
Quoted reply history
On Mar 9, 2015, at 0:04, "Xinting Wang" <[email protected]<mailto:[email protected]>> wrote: Dear all, I have a technical question to ask regarding the IGNORE=@ 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
Mar 09, 2015 Xinting Wang IGNORE under $DATA ignored
Mar 09, 2015 Daniela Conrado RE: IGNORE under $DATA ignored
Mar 09, 2015 Bill Denney Re: IGNORE under $DATA ignored
Mar 09, 2015 Vineet Goti Re: IGNORE under $DATA ignored