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: Install ado Files on Mac (different from Windows PC?)


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: Install ado Files on Mac (different from Windows PC?)
Date   Wed, 12 Jan 2011 08:52:13 +0000

On Wed, Jan 12, 2011 at 8:11 AM, Nils Braakmann
<[email protected]> wrote:
> Hi everyone,
>
> I recently downloaded some .ado and .hlp Files from an author's
> private web page (not set up as a Stata download page). To install
> them the author recommended simply copying them into the appropriate
> personal folder (found by -adopath-). Being a former Windows user I
> remember that this approach always worked fine. However, after doing
> the same on my Mac Stata does not seem to be able to find the file
> (i.e., gives the error messages you would expect when a file simply
> does not exist). Is there anything fundamentally different with
> installing ado-files on a Mac? (If not I probably messed up somewhere,
> although I am not entirely sure how I could have managed to do that
> with copying a file, which seems simple enough...)

Well, what does your adopath contain?  (Type -adopath- in Stata to find out)

Where have you placed the files?

What are the permissions on the files?

OSX is a UNIX-based operating system (originally based on FreeBSD and
NetBSD, see http://en.wikipedia.org/wiki/Mac_OS_X) and as such
inherits the structure for file permissions common to all UNIX-like
systems (described in detail at
http://en.wikipedia.org/wiki/Filesystem_permissions).

To check the file permissions...

Start a terminal and then use 'cd' to change directory to where the
ado files are located.

Now list the files with details of their permissions by typing 'ls -l'

Look at the files in question, what does the first part say with
regards to '-rw-rw-r--' or '----------' (see above description on
Wikipedia for what these mean)

Check the file ownership as well, does it match your user name and
group membership?

Ideally the files should have '-rw-rw-r--' which means they are
read-able and write-able by the owner and group to which the file
belong.

You can change ownership of the files using 'chmod [user]:[group] [filename]'

You can change read-write permissions using 'chown 0664 [filename]'



Neil

-- 
"Our civilization would be pitifully immature without the intellectual
revolution led by Darwin" - Motoo Kimura, The Neutral Theory of
Molecular Evolution

Email - [email protected]
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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