Export to Tab Delimited Text file

Export to Tab Delimited Text file - Messages

#1 Posted: 8/31/2016 10:28:37 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: 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 Posted: 9/1/2016 2:26:59 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

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

Ernesto

13 likes in 74 posts.

Group: 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 Posted: 9/1/2016 1:54:56 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: 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 KiB) downloaded 61 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Ernesto 9/1/2016 7:33:00 PM
#5 Posted: 9/1/2016 6:39:17 PM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: 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 Posted: 9/1/2016 7:33:10 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

Thanks for the file Davide, worked perfectly!
  • New Posts New Posts
  • No New Posts No New Posts