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

st: Adopath


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   st: Adopath
Date   Fri, 22 Jul 2005 08:15:36 -0500

I have a problem with ado paths that perhaps someone might help with.

On my home machine

. adopath
[1] (UPDATES) "C:\Program Files\Stata9\ado\updates/"
[2] (BASE) "C:\Program Files\Stata9\ado\base/"
[3] (SITE) "C:\Program Files\Stata9\ado\site/"
[4] "."
[5] (PERSONAL) "c:\ado\personal/"
[6] (PLUS) "c:\ado\stbplus/"
[7] (OLDPLACE) "c:\ado/"

I have this.

On my office machine, I have a special problem. The office network has ados and data on the network. That allows everyone to have a common source of files. In general, they do not have "personal" ado.

These users have the following path:


[1] "//Fs-arc\statastuff\statdata\DataConvert/"
[2] (UPDATES) "C:\Program Files\Stata9\ado\updates/"
[3] (BASE) "C:\Program Files\Stata9\ado\base/"
[4] (SITE) "C:\Program Files\Stata9\ado\site/"
[5] "."
[6] (PERSONAL) "c:\ado\personal/"
[7] (PLUS) "c:\ado\stbplus/"
[8] (OLDPLACE) "c:\ado/"

[1] is the common set of ados

This creates a problem when [1] contains an older ado file that is also in [BASE} as [1] executes first.

I can easily do this:

. adopath
[1] (UPDATES) "C:\Program Files\Stata9\ado\updates/"
[2] (BASE) "C:\Program Files\Stata9\ado\base/"
[3] (SITE) "C:\Program Files\Stata9\ado\site/"
[4] "."
[5] (PERSONAL) "c:\ado\personal/"
[6] (PLUS) "c:\ado\stbplus/"
[7] (OLDPLACE) "c:\ado/"
[8] "//Fs-arc\statastuff\statdata\DataConvert/"

But what I really need to do is to do is to have

"//Fs-arc\statastuff\statdata\DataConvert/"

optionally come before or after [5] (PERSONAL) "c:\ado\personal/"
, but always after:

[1] (UPDATES) "C:\Program Files\Stata9\ado\updates/"
[2] (BASE) "C:\Program Files\Stata9\ado\base/"
[3] (SITE) "C:\Program Files\Stata9\ado\site/"

I don't see a clear way to do that with the commands in help adopath.

Any suggestions? or am I overlooking something very simple (probably).




Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125 Fax (316) 263-0761
[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