LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 3 Mar 2008 08:32:43 -0500
Reply-To:     "Statman (WMB)" <statmanz@earthlink.net>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Statman (WMB)" <statmanz@earthlink.net>
Subject:      Re: V16 Extensions
Comments: To: "Reutter, Alex" <areutter@spss.com>
In-Reply-To:  <E0428445172CB7469BF187FF4D00514907CA681E@CHIEMAIL1.spss.com>
Content-Type: text/plain; charset="us-ascii"

Got it

Tks to all

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Reutter, Alex Sent: Sunday, March 02, 2008 11:57 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: V16 Extensions

I was able to obtain the help text below by:

1. Installing the Python Integration Plugin 2. Copying text.xml to the \extensions subdirectory of the SPSS 16 installation directory 3. Copying TEXT.py to the \Lib\site-packages subdirectory of the Python 2.5 installation directory 4. Executing TEXT /HELP. in a syntax window.

If I don't follow step 3, on step 4 I receive the error "Extension command TEXT could not be loaded. The module or a module that it requires may be missing, or there may be syntax errors in it." If that's what you're getting, then for some reason SPSS can't find TEXT.py.

Alex

TEXT list-of-strings [/OUTLINE TITLE=text] [/HELP]

Example: TEXT 'the first line of text' 'the second line of text' /OUTLINE TITLE='Note to Reader'.

The text is inserted in a new textblock in the Viewer. Each quoted string is a single line. If no strings are supplied, an empty comment will be created. There must be a nonempty dataset open before this command can be used.

The text appears under the Outline heading "Comment". /HELP displays this text and does nothing else.

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Statman (WMB) Sent: Thursday, February 28, 2008 3:02 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: V16 Extensions

OK, I thought it about time to remove my statistical hat and "attempt" to learn Python starting with the extensions before I got too serious :)

This isn't going well so it must, by definition for me, be pretty simple.

For example, the TEXT extension readme says "type text /help for the full syntax". Sounds simple so I type "TEXT /HELP." in the syntax editor and RUN but get an error and it can't be loaded.

What am I missing?

W

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page