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]

st: New version of -stcmd- on SSC


From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -stcmd- on SSC
Date   Mon, 15 Aug 2011 11:08:49 +0100

Thanks once again to Kit Baum, a new version of the -stcmd- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -stcmd-.

The -stcmd- command is described as below on my website, and is used to run the Stat/Transfer package from inside Stata, if the user has Stat/Transfer installed. The new version is still written in Stata Version 10, but adds a new module -outputstold-. The -outputstold- module is an alternative version of the -outputst- module, for use by users whose Stat/Transfer version is less up to date than the user's Stata version. There appears to be a tradition that Version K of Stat/Transfer is shipped on the same day as Version K+1 of Stata, and adds the ability to read Stata Version K+1 datasets. This may cause problems for the -outputst- module if the user has updated Stata without also updating Stat/Transfer, because -outputst- writes a temporary Stata dataset in the latest Stata version using -save-, and this temporary dataset is then input to Stat/Transfer, and, if the user's version of Stat/Transfer cannot read Stata datasets written by the user's version of Stata, then Stat/Transfer will fail, and so will -outputst-. The -outputstold- module writes the temporary Stata dataset in the previous Stata version using -saveold-, making it recognizable as a Stata dataset for the user's outdated version of Stat/Transfer.

Best wishes

Roger


--
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

Opinions expressed are those of the author, not of the institution.


-----------------------------------------------------------------------------------
package stcmd from http://www.imperial.ac.uk/nhli/r.newson/stata10
-----------------------------------------------------------------------------------

TITLE
      stcmd: Run the Stat/Transfer st command from inside Stata

DESCRIPTION/AUTHOR(S)
The program stcmd runs the Stat/Transfer st command from inside Stata, if Stat/Transfer is installed on the user's system. Stat/Transfer converts
      data sets from one format to another (eg Stata to/from R). It is
available from Stata Corporation and manufactured by Circle Systems, and
      further information can be found at http://www.stattransfer.com/. The
program inputst converts an existing non-Stata input file into a Stata dataset in the memory, overwriting any existing data. The program outputst
      converts the Stata dataset in the memory to a newly-created non-Stata
output file. The programs inputst and outputst require stcmd, and therefore
      should not be downloaded alone. If the Stat/Transfer directory on the
user's system is not on the user's default path, then the user must set the global macro StatTransfer_path to contain the path for the Stat/Transfer st command, possibly in the profile.do file (see on-line help for details).

      Author: Roger Newson
      Distribution-Date: 11august2011
      Stata-Version: 10

INSTALLATION FILES                                  (click here to install)
      stcmd.ado
      inputst.ado
      outputst.ado
      outputstold.ado
      stcmd.sthlp
      inputst.sthlp
      outputst.sthlp
      outputstold.sthlp
-----------------------------------------------------------------------------------
(click here to return to the previous screen)
*
*   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