NONMEM Users Network Archive

Hosted by Cognigen

[NMusers] [Suggest] NONMEM adds UTF-8 support for csv files

From: Mark Tepeck <mark.tepeck_at_gmail.com>
Date: Sun, 3 Jun 2018 22:28:02 -0400

Hi NONMEM Users,


As a PK scientist, I often manipulate csv files with Microsoft Excel, R,
and NONMEM. As some of you may have seen, if the first record in a csv file
is a string “ID”, Microsoft Excel would mistake it as an SY=
LK file which
cannot be opened normally by Excel. One workaround is to use any strings
other than ID, e.g. id, '‘ID’. However, this may cause new =
problems in some
scenarios. Another potential solution is to use the R function
readr::write_excel_csv ('dataframe.csv') to output a csv file with UTF-8
Byte order mark. Unfortunately, this csv file turned out to become
unreadable for NONMEM although Excel likes it. Since waiting for bug fixing
of Excel by Microsoft is not optimistic, I would truly appreciate it if
NONMEM can add UTF-8 support.


Thank you,


Mark Tepeck


Received on Sun Jun 03 2018 - 22:28:02 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_at_globomaxnm.com.