Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Kountry Program Help (on Mac)

From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: Kountry Program Help (on Mac)
Date   Thu, 28 Oct 2010 19:31:34 +0000


Your adofiles are located in the proper location.  The problem is that kountryadd.ado doesn't have quotes around filepaths, so the error "invalid `Support'" is telling you that the OS doesnt know where to look when there is a space in your path.  That is, kountryadd.ado  interprets the line:


as your local path where k_other_extras.txt is located -- which is most likely something like:

     ~/Library/Application Support/Stata/ado/plus/k/k_other_extras.tx

but without quotes, it chokes on the 'Support' part after the space.

You can fix this problem by manually editing the adofiles with quotes around all the filepaths and save (try using  Dan Blanchette's -adoedit- (from SSC)  to edit the files) .  Then type -discard- or restart Stata and try it again.   
 I just did this with my copy of -kountry-/-kountryadd- and it fixed the problem.
Also, I've sent an email to Rafal Raciborski (kountry's author) about possibly adding these changes to the official adofiles.



Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754
Fax: +979.845.0249

On Oct 28, 2010, at 1:50 PM, Stephen Amrock wrote:

> Hi,
> I'm somewhat new to STATA and installed the "kountry" program to
> standardize country codes for a merge. The program correctly runs with
> the from(other) option, but I have two issues with the program:
> (1) I receive an error message of "invalid 'Support'" when attempting
> to use the kountryadd procedure; and
> (2) I receive a similar error when attempting to convert between
> formats (e.g., iso3n to cown).
> I've confirmed that the kounty.dta file is installed and attempted to
> remedy the k_others_extra.txt file by manually entering in a series of
> replace commands to no avail.
> Any help or advice would be appreciated. Is this an issue of file
> location? If so, where should the .dta and k_others_extra.txt file be
> located?
> Thanks,
> Steve
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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