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: A way to capture the size of a file being used
From
Tirthankar Chakravarty <[email protected]>
To
[email protected]
Subject
Re: st: A way to capture the size of a file being used
Date
Thu, 16 Dec 2010 22:36:48 -0800
Or, you can perform the calculation on page 391 of the manual entry on -memory-:
********************************
sysuse lifeexp, replace
memory
di "File memory usage (including pointer overheads) is: " ///
r(width)*_N + 8*_N " bytes."
********************************
T
On Thu, Dec 16, 2010 at 10:10 PM, Tirthankar Chakravarty
<[email protected]> wrote:
> Use Nikos Askitas's -ashell- (SSC) command:
>
> ********************************
> ssc install ashell, replace
> ashell dir "auto.dta" -S
> return list
> // parse the output
> local m = regexm("`r(o7)'", "[0-9,]+ bytes")
> di "The file size is: `=regexs(0)'."
> ********************************
>
> T
>
> On Thu, Dec 16, 2010 at 9:36 PM, Jason Ferris
> <[email protected]> wrote:
>> I would like to use Stata's calculated 'file size' that is available
>> when you 'describe' your dataset.
>> Is this available at all. I can't see it in the c-class values. Nor
>> following the r-class values. I did see the faq for size of dataset but
>> I am unsure if the r-class values map to Gould's formula.
>>
>> Any guidance?
>>
>> Jason
>>
>> ------------------------------------------
>> DISCLAIMER: This message (including any attachments) is intended solely for the addressee(s) named and may contain confidential or privileged information.
>> If you are not the intended recipient, please delete it and notify the sender.
>> Views expressed in this message are those of the individual sender,and are not necessarily the views of the Turning Point Alcohol and Drug Centre (ABN: 68 223 819 017).
>>
>> <a href="http://www.turningpoint.org.au">Turning Point Alcohol and Drug Centre</a>
>>
>> Although this message and any attachments have been scanned for viruses by 'Trend Micro InterScan' at the time of sending, you are advised to rescan on receipt.
>>
>> The whole or parts of this email may be subject to copyright of Turning Point Alcohol and Drug Centre (ABN: 68 223 819 017), and/or third parties.
>> You can only re-transmit, distribute or use the material if you are authorised to do so.
>>
>> Please consider the environment before printing this email or attachments.
>>
>> *
>> * 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/
>>
>
>
>
> --
> To every ω-consistent recursive class κ of formulae there correspond
> recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
> belongs to Flg(κ) (where v is the free variable of r).
>
--
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).
*
* 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/