Bookmark and Share

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: transfer installed ados from one computer to another


From   Christopher Swearingen <christopher.swearingen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: transfer installed ados from one computer to another
Date   Mon, 2 Dec 2013 14:13:18 -0600

Paolo -

The sysprofile.do is a two command .do file executed when Stata first runs.

Assuming you are using Windows, the following two commands are in the file:

sysdir set PLUS "C:\Users\[localusername]\Dropbox\ado\plus"
sysdir set PERSONAL "C:\Users\[localusername]\Dropbox\ado\personal"

where [localusername] = whatever username Windows designates for the
particular account.

The other variable here is where your actual Dropbox / Cubby /
GoogleDrive local drive is stored.

Save sysprofile.do into the root Stata directory and restart Stata.
You should see a confirmation echo that sysprofile.do was called.
Type "sysdir" in the command window and you should see the directory
locations for PLUS and PERSONAL are changed.

~c
________________________________________________________
Christopher J. Swearingen, Ph.D.
Assistant Professor of Pediatrics, Genetics and Biostatistics
Associate Director, Pediatric Biostatistics
University of Arkansas for Medical Sciences
Department of Pediatrics
One Children's Way, Slot 512-43
Little Rock, AR 72202

http://www.arpediatrics.org/research/biostatistics




On Mon, Dec 2, 2013 at 12:04 PM, Paolo Moncagatta
<paoloemiliom@gmail.com> wrote:
> Thanks to everyone for your suggestions.  It seems like a system like
> Dropbox or Cubby would work nicely, as the optimal solution would be
> to have an .ado library that synchronized automatically from whichever
> computer you used (I have some .ados at home, some others at my
> office, and so, if I just replaced the whole .ado library on one
> computer with another, I would lose some of them).
>
> How have your experiences been, Christopher and Alan? When you have
> time, Christopher, could you go a bit more in detail on how you setup
> the sysprofile.do to direct the PLUS and PERSONAL directories to your
> Dropbox?
>
> Also, Alan, I am not familiar with Cubby. Would it work better than
> Dropbox for this purpose?
>
> Thanks again,
>
> Paolo
> paoloemiliom@gmail.com
>
> On Mon, Dec 2, 2013 at 6:56 PM, Nick Cox <njcoxstata@gmail.com> wrote:
>> Correct.  Stata leaves a record in various stata.trk files (and
>> sometimes others).
>> But copying a block of installed ado files should copy it too.
>>
>> Nick
>> njcoxstata@gmail.com
>>
>>
>> On 2 December 2013 17:03, Alfonso Sanchez-Penalver
>> <alfonso.statalist@gmail.com> wrote:
>>> Hi,
>>>
>>> This is something I've wondered in the past. I found that simply copying them across computers to the right directory will make the commands available to the new installation. However, when you run -adoupdate- Stata does not seem to have a list of the installed ado files. So I wonder if there is a file with the list that is updated every time you install an ado that -adoupdate- reads and we ought to copy as well.
>>>
>>> Best,
>>>
>>> Alfonso Sanchez-Penalver
>>>
>>>> On Dec 2, 2013, at 10:35 AM, Paolo Moncagatta <paoloemiliom@gmail.com> wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> A very simple question: is there any way to transfer the ados I have
>>>> installed on one computer to another one? Or do I have to install them
>>>> one by one in the new computer?
>>>> Thanks in advance,
>>>>
>>>> Paolo
>>>> paoloemiliom@gmail.com
>>>> *
>>>> *   For searches and help try:
>>>> *   http://www.stata.com/help.cgi?search
>>>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>>>> *   http://www.ats.ucla.edu/stat/stata/
>>>
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>>> *   http://www.ats.ucla.edu/stat/stata/
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index