Software: Search: Software for Exploring Data Structure: Search Documentation

Search Installation Guide

Search Installation Guide

Search is a set of C and FORTRAN routines that can be launched from R, SAS, SPSS or Stata or run independently using data from many sources. Search is currently available for personal computers using the Linux, Mac OS X and Microsoft Windows systems. The SAS implementation runs natively only on Linux and Windows.

Search for Windows

  1. Install Srclib. Download the srclib_windows.exe installer and run it. The default directory for the installation is “C:\Program Files (x86)\Srclib”, but you can put it wherever you want it. The location you choose will replace “~/srclib” in the guides for using Search with R, SAS, SPSS, Stata and Srcware. The installer will create a desktop icon unless you tell it not to.
  2. If you plan to use Srclib with R, SAS, SPSS or Stata and the version you want can’t be invoked by its lower-case name, edit the Srclib\settings.xml file to provide the correct path. You can get the correct path from the properties of the desktop icon for the software.
  3. To verify that Srclib is installed correctly, download the search_example_windows.zip file, extract the Examples directory into an appropriate parent directory, for example, “Documents/Search”. You can put it wherever you want it.
  4. Double-click the Srclib desktop icon, click File and then Open, navigate to the Examples directory, open an appropriate setup file, for example, search_example_srcware.xml, and click Run.
  5. Using MS Word or other software, check the *.log files produced by the run to see that there were no errors and compare the *.lst files produced by run with the corresponding *.chk files. They should differ only in the dates.

Search for Linux

  1. Install Srclib. Download the srclib_pclinux64.tgz file and extract the srclib directory into an appropriate parent directory, such as, /usr/local/ or ~/. You can put it wherever you want it. The location you choose will replace “~/srclib” in the guides for using Search with R, SAS, SPSS, Stata and Srcware.
  2. If you plan to use Srclib with R, SAS, SPSS or Stata and the version you want can’t be invoked by its lower-case name, edit the srclib/settings.xml file to provide the correct path.
  3. To verify that Srclib is installed correctly, download the search_example_pclinux.tgz file, extract the example directory into an appropriate parent directory, for example, ~/search. You can put it wherever you want it.
  4. Navigate to the example directory and use srcexec to run an appropriate setup file, for example,

    ~/srclib/bin/srcexec search_example_sas.xml

  5. OR run emacs with “-l ~/srclib/srcshell.el” as a command-line or icon option, click File and then Open, navigate to the Examples directory, open an appropriate setup file, for example, search_example_srcware.xml, and click press F8.
  6. Using the Linux cat and diff commands or other software, check the *.log files produced by the run to see that there were no errors and compare the *.lst files produced by run with the corresponding *.chk files. They should differ only in the dates.

Search for Mac OS X

  1. Install Srclib. Download the srclib_macosx64.tgz file and extract the srclib directory into an appropriate parent directory, such as, /Applications or ~/Applications. You can put it wherever you want it. The location you choose will replace “~/srclib” in the guides for using Search with R, SAS, SPSS, Stata and Srcware.
  2. If you plan to use Srclib with R, SPSS or Stata and the version you want can’t be invoked by its lower-case name, edit the srclib/settings.xml file to provide the correct path.
  3. To verify that Srclib is installed correctly, download the search_example_macosx.tgz file, extract the example directory into an appropriate parent directory, for example, ~/Search. You can put it wherever you want it.
  4. Navigate to the example directory and use srcexec to run an appropriate setup file, for example,

    /Applications/srclib/bin/srcexec search_example_sas.xml

  5. OR run emacs with “-l ~/srclib/srcshell.el” as a command-line or icon option, click File and then Open, navigate to the Examples directory, open an appropriate setup file, for example, search_example_srcware.xml, and click press F8.
  6. Using the Linux cat and diff commands or other software, check the *.log files produced by the run to see that there were no errors and compare the *.lst files produced by run with the corresponding *.chk files. They should differ only in the dates.

Please report bugs or send comments via e-mail to Peter Solenberger.

Last updated 19 July 2016