Installing the CircStats library, for users of S-PLUS 6.0 or later,
currently can be accomplished by using the data dump
representation
of the library given below. You will need to use the S-PLUS
function data.restore. Detailed instructions
are given below.
Data dump file of CircStats library: CircStats.Dump
Installing CircStats using the data.restore
function:
1. Download the file CircStats.Dump from the URL
http://statweb.calpoly.edu/lund/CircStats/Migrate.html.
2. Copy this file to a location on your computer.
I will suppose it is in C:\temp\.
Throughout the remainder of these instructions,
replace C:\temp\ with your choice of location.
3. Start SPLUS.
4. Use the menus: File -> Chapters -> Attach/Create Chapter
...
5. Create a new chapter by entering a "Chapter Folder" name.
I will suppose it is C:\temp\CircStats\.
Also, change Pos to equal 1.
You are creating a new SPLUS chapter, and making it
the working chapter for now.
6. Look on your computer now.
There will be a new folder with the name you
specified above, and a .Data folder inside.
7. At the SPLUS prompt, type search().
8. You should see the newly created chapter as the first location in
the list of search paths.
That means it is the working directory.
9. Now you will unpack the contents of the CircStats.Dump file.
At the SPLUS prompt, type
data.restore("C:\\temp\\CircStats.Dump").
Note the double backslashes.
Now, type ls(), and you should see all of the
functions that come with CircStats.
10. I suggest not leaving this chapter as the working chapter,
and instead moving it to position 2.
That way, you can still use the
functions, but you won't be saving new objects to the CircStats chapter.
To this effect, type detach(1) to detach
the current working directory (the CircStats chapter).
Then type
attach("C:\\temp\\CircStats\\", pos=2) to re-attach the CircStats
chapter in position 2.