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

st: Re: checking if a dataset exists

From   "Michael Blasnik" <>
To   <>
Subject   st: Re: checking if a dataset exists
Date   Thu, 03 Nov 2005 11:47:55 -0500

-help confirm-

Michael Blasnik

----- Original Message ----- From: "Jason Thompson" <>
To: "statalist" <>
Sent: Thursday, November 03, 2005 11:35 AM
Subject: st: checking if a dataset exists

Could someone give me a pointer on how to conditionally execute Stata code based on the existence of a file or lack thereof? Is there an OS-independent way of doing this? I would like to do something like "if a dataset exists in a particular location, use it. otherwise build it and then use it."
*   For searches and help try:

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