RE: [External] Re: [NMusers] How to format output table as purely comma-separated file

From: Singla, Sumeet K <sumeet-singla_at_uiowa.edu>
Date: Thu, 14 Mar 2019 20:55:13 +0000


Simba,

It still gives the same results. All the variables are in first column, rather than in different columns, separated by comma.

Regards,
Sumeet
From: Simbarashe Peter Zvada <simba.zvada_at_gmail.com>
Sent: Thursday, March 14, 2019 3:34 PM
To: Singla, Sumeet K <sumeet-singla_at_uiowa.edu>
Cc: Emmanuel Chigutsa <echigutsa_at_yahoo.com>; nmusers_at_globomaxnm.com; Sebastien Bihorel <sebastien.bihorel_at_cognigencorp.com>
Subject: Re: [External] Re: [NMusers] How to format output table as purely comma-separated file

Hi Sumeet and Sebastian,

Following Mannie's suggestion, sometimes starting with the file works, may be not in all cases:

$TABLE FILE=mytab1.csv FORMAT=, ID TIME CMT ... IPRED NOPRINT ONEHEADER

Thanks,
Simba

On Thu, Mar 14, 2019 at 4:21 PM Singla, Sumeet K <sumeet-singla_at_uiowa.edu<mailto:sumeet-singla_at_uiowa.edu>> wrote:
Emmanuel,

It didn’t work for me.

Regards,
Sumeet

From: owner-nmusers_at_globomaxnm.com<mailto:owner-nmusers_at_globomaxnm.com> <owner-nmusers_at_globomaxnm.com<mailto:owner-nmusers_at_globomaxnm.com>> On Behalf Of Emmanuel Chigutsa
Sent: Thursday, March 14, 2019 2:47 PM
To: nmusers_at_globomaxnm.com<mailto:nmusers_at_globomaxnm.com>; Sebastien Bihorel <sebastien.bihorel_at_cognigencorp.com<mailto:sebastien.bihorel_at_cognigencorp.com>>
Subject: [External] Re: [NMusers] How to format output table as purely comma-separated file

Hi Sebastien,

Try the following example code, with the relevant pieces in red:

$TABLE ID TIME CMT IPRED FORMAT=, FILE=mytab1.csv NOPRINT ONEHEADER

Mannie

On Wednesday, March 13, 2019, 9:14:21 AM EDT, Sebastien Bihorel <sebastien.bihorel_at_cognigencorp.com<mailto:sebastien.bihorel_at_cognigencorp.com>> wrote:



Hi,

I was wondering if there is a way to create "pure" csv file with $TABLE. I have tried various things with the FORMAT option but always ended up with spaces in between entries (in addition to the comma delimiters).

Is there a proper fortran format one can use in $TABLE to make this happen?

Thanks in advance

Sebastien



--
e-mail: simba.zvada_at_gmail.com<mailto:mba.zvada_at_gmail.com>
mobile: +1-240-758-2758


Received on Thu Mar 14 2019 - 16:55:13 EDT

This archive was generated by hypermail 2.3.0 : Fri Sep 27 2019 - 17:03:47 EDT