Export to Tab Delimited Text file

Export to Tab Delimited Text file - Сообщения

#1 Опубликовано: 31.08.2016 22:28:37
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 Опубликовано: 01.09.2016 02:26:59
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

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

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 Опубликовано: 01.09.2016 13:54:56
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 КиБ) скачан 62 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Ernesto 01.09.2016 19:33:00
#5 Опубликовано: 01.09.2016 18:39:17
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: 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 Опубликовано: 01.09.2016 19:33:10
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: User

Thanks for the file Davide, worked perfectly!
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений