Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: mac editor for big files
From
Eric Booth <[email protected]>
To
"<[email protected]>" <[email protected]>
Subject
Re: st: mac editor for big files
Date
Fri, 19 Aug 2011 21:23:04 +0000
<>
I usually use TW as well for large files, but I guess I haven't opened one that is larger than 1GB since I've never had one choke. I'd try Vim or UltraEdit -- I've read that both can handle large (>1 or 2 GB ) text files. Also, VEDIT can handle text files up to 2 GB, but it's not free.
However, you can load large text files into Stata via commands like -insheet-, or if it's not a dataset you can import with -intext- (From SSC). Also, you can view just a part of the file from terminal by using the 'head' or 'tail' commands to see the start or end of the large text file very quickly (e.g., head -n 100 myfile.txt to see the first 100 lines). Finally, if you need to edit or make changes to the file before importing into Stata as a dataset, consider using -filefilter- to make changes to the file.
- Eric
On Aug 19, 2011, at 4:02 PM, Richard Goldstein wrote:
> Hi,
>
> I currently use Text Wrangler; however, neither it nor BBEdit will,
> apparently, edit ascii files >1 GB in size (I have 32 GB of RAM); does
> anyone know of an editor for the Mac that will edit files of >1 GB?
>
> Rich
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/