[Stata] ado-Verzeichnis ändern

Allgemeine Fragen rund um Statistik mit Stata.

[Stata] ado-Verzeichnis ändern

Beitragvon MoonKid » Fr 10. Mai 2013, 12:28

Ich habe aus dem Netz ado-Files installiert. Die legt er dummerweise in $HOME/ado ab. Ich möchte das Verzeichnis gerne ändern, aber finde in den Settings dazu keinen Parameter. Mir war aber so, als ginge das irgendwie. ;)
MoonKid
 
Beiträge: 13
Registriert: Mo 30. Jul 2012, 09:47
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post

Re: [Stata] ado-Verzeichnis ändern

Beitragvon daniel » Fr 10. Mai 2013, 19:31

Möglicherweise -help adopath- ?
daniel
 
Beiträge: 1060
Registriert: Sa 1. Okt 2011, 17:20
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post

Re: [Stata] ado-Verzeichnis ändern

Beitragvon MoonKid » Sa 11. Mai 2013, 02:53

To change where Stata looks for ado-files, you can use the -sysdir- command.
For example:

sysdir set OLDPLACE "~/.ado"

This change is not recorded anywhere. Once you close and re-open Stata, the
change to the adopath reverts to the original defaults.

If you'd like to make the change "permanent" you can create a profile.do
do-file in your Stata 12 installation folder, like this:

vi /usr/local/stata12/profile.do

You would need to put the following commands into the profile.do do-file:

sysdir set PLUS "~/.ado/plus"
sysdir set PERSONAL "~/.ado/personal"
sysdir set OLDPLACE "~/.ado"
MoonKid
 
Beiträge: 13
Registriert: Mo 30. Jul 2012, 09:47
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post


Zurück zu Statistik allgemein

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 7 Gäste

cron