Export to Tab Delimited Text file

Export to Tab Delimited Text file - Poruke

#1 Objavljeno: 31. 8. 2016. 22:28:37
Ernesto

Ernesto

13 svidjanja u 74 postova.

Grupa: User

Is there a direct way to export a matrix to a tab delimited text file??

I have been exporting it to excel, then saving as a tab delimited text file. I'm hoping I could skip this extra step.
#2 Objavljeno: 1. 9. 2016. 02:26:59
Mike Kaganski

Mike Kaganski

184 svidjanja u 434 postova.

Grupa: User

http://en.smath.info/forum/yaf_postst1642_Data-Exchange-plugin.aspx
С уважением, Михаил Каганский
#3 Objavljeno: 1. 9. 2016. 13:32:32
Ernesto

Ernesto

13 svidjanja u 74 postova.

Grupa: User

Thanks Mike for pointing me to the other thread. I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.
#4 Objavljeno: 1. 9. 2016. 13:54:56
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

Wrote

Thanks Mike for pointing me to the other thread. I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.



I might try to add an optional argument to setup a custom separator

As alternative you can build your own functions using fwrite() from DataExchange + var2str(...) from CustomFunctions

example attached: export2tsv.sm (6,07 KiB) preuzeto 1319 put(ova).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 korisnika je svidelo ovu objavu
Ernesto 1. 9. 2016. 19:33:00
#5 Objavljeno: 1. 9. 2016. 18:39:17
Mike Kaganski

Mike Kaganski

184 svidjanja u 434 postova.

Grupa: User

Wrote

I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.



Sorry for not being clear.
There's no such standard as "tab delimited values file", only CSV, but the CSV allows for different kind of separators.
As Davide says, it requires a developer to add that ability, and I suppose, that would be great.
С уважением, Михаил Каганский
#6 Objavljeno: 1. 9. 2016. 19:33:10
Ernesto

Ernesto

13 svidjanja u 74 postova.

Grupa: User

Thanks for the file Davide, worked perfectly!
  • Novi postovi
  • Nema novih postova