Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: RE: Re: RE: Re: OS memory availability


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: RE: Re: RE: Re: OS memory availability
Date   Tue, 30 Mar 2004 17:58:23 -0500

When I insheet the file, I get variable names and one observation
(containing the values), not 2 observations..

Michael Blasnik
[email protected]
----- Original Message ----- 
From: "Nick Cox" <[email protected]>
To: <[email protected]>
Sent: Tuesday, March 30, 2004 5:41 PM
Subject: st: RE: Re: RE: Re: OS memory availability


> r() stuff: good idea, but I see no typo (or even "type").
> The variable names v1, v2, ... are useless here.
>
> Nick
> [email protected]
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]]On Behalf Of Michael
> > Blasnik
> > Sent: 30 March 2004 23:31
> > To: [email protected]
> > Subject: st: Re: RE: Re: OS memory availability
> >
> >
> > This should be quite handy.   It would be worthwhile to make
> > it rclass and
> > leave behind key info in r(), such as r(freephysicalmemory).
> > Also, the
> > listing of info has a small type:
> >
> > di as txt `v'[1] ": " `v'[2]
> >
> > should be:
> >
> > di as txt "`v':  "` v'[1]
> >
> > Michael Blasnik
> > [email protected]
> >
> > ----- Original Message ----- 
> > From: "Nick Cox" <[email protected]>
> > To: <[email protected]>
> > Sent: Tuesday, March 30, 2004 5:17 PM
> > Subject: st: RE: Re: OS memory availability
> >
> >
> > > I built a bit on Kevin's useful idea.
> > > If you don't see the downside of this
> > > program, don't use it. If you want to
> > > build on it, feel free.
> > >
> > > program systeminfo
> > > version 8
> > > tempfile file
> > > preserve
> > > clear
> > > shell systeminfo /FO CSV > `file'
> > > qui insheet using `"`file'"', comma
> > >
> > > foreach v of var * {
> > > di as txt `v'[1] ": " `v'[2]
> > > }
> > > end
> > >
> > >
> > > Nick
> > > [email protected]
> > >


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index