<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Rose,<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>All CLAN input and output files are in plain text format and can be opened by any text editor. The problem you seems to be encountering is due to R application's failure to recognize files with .cex as text files. You can change CLAN's output filename extension either by locating that file on the hard disk and renaming it from .cex to .txt manually or you can use CLAN's rename command "ren" to do it. Here is the rename command "ren *.cex *.txt".</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>The reason the +f.txt option works the way it does is because files are associated with applications based in their filename extensions. And we wanted to allow people to change some part of the filename extension without losing those files association with CLAN application. The reason for that is that even though CLAN output files are encoded in plain text format some text editor might still be unable to display some CLAN files correctly. In particular any file that has underlines or has any non-english characters would have to be opened in a special way by other text editor. CLAN files are encoded in UTF-8. If text editor or your program R is unable to display CLAN files correctly automatically, then you will have to instruct that application to treat CLAN output files as "plain text", UTF-8 encoded files.</div><div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">Leonid.</div><div><br></div></div></span></div></span></span></div></span></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jun 5, 2013, at 02:42 , rose maier wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<div>I am running CHIP on several transcripts, and I would like to import the output statistics into another program (R) for analysis. In particular, I want to be able to read in the ADU, CHI, ASR, and CSR stats (the +d1 portion of the output). R doesn't seem able to read the .cex files (I am using the R function read.table, if you happen to be familiar with that), so I was hoping to switch the CLAN output format to something like .txt instead. In the manual, the section on the +f switch seems to suggest that it is possible to change the file extension by typing +f.txt, but when I do this, I just get files that end with ".txt.cex". I've tried it with and without quotes around the .txt in the +f switch, and with several commands other than CHIP, such as FREQ and KWAL. I continue to get .txt.cex files in my output folder no matter what I do. </div><div>This is the command I'm using in CLAN:</div><div>chip +bMOT +cCHI +g +harticles.cut +hsubpro.cut +hpronounobjs.cut -hexclude.cut +d1 +f.txt *.cha<br></div><div>I'm running it on a MacBook Pro (OSX 10.6.8) and I'm pretty sure I'm using the most recent version of CLAN (I re-installed it about a week ago). </div><div>Any assistance you can provide would be much appreciated. Or perhaps there is a totally different, more straight forward way to export CLAN output into data tables or spreadsheets? </div><div>Thanks in advance,</div><div>Rose Maier</div><div><br class="webkit-block-placeholder"></div>
-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:chibolts@googlegroups.com">chibolts@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/edbb5290-1b14-48a2-95b0-7ee381ce9e26%40googlegroups.com?hl=en-US">https://groups.google.com/d/msgid/chibolts/edbb5290-1b14-48a2-95b0-7ee381ce9e26%40googlegroups.com?hl=en-US</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br>
<br>
<br>
</blockquote></div><br></div></body></html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe@googlegroups.com.<br />
To post to this group, send email to chibolts@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/E594488A-A813-474E-948D-3A1AEFFF9D85%40andrew.cmu.edu?hl=en-US">https://groups.google.com/d/msgid/chibolts/E594488A-A813-474E-948D-3A1AEFFF9D85%40andrew.cmu.edu?hl=en-US</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />