Take a look at Chapter 9 in the S-PLUS 6 User's Guide, Working
with Objects and Databases. This describes in details how to create folders in
the Object Explorer and what kinds of objects the S-PLUS Object Explorer
recognizes.
If your machine is being used by others, the recommended way
to maintain a different personal workspace is to create separate S-PLUS
shortcut icons on your desktop for each project and set the environment variable
'S_PROJ' on the command-line of the shortcut icon, e.g:
C:\Splus.exe S_PROJ=C:\MySwork
If you don't want to do it this way,
you could the 'File | Chapters | Attach/Create Chapters'
menu option to specify a chapter to attach after launching S-PLUS.
The way I do this is to create a new directory within Windows -- say it's
named "c:\somewhere\Ori." Under that directory I create a "_data" directory.
Then inside S-Plus I create an "ori" function with an attach() command in it:
That would look like:
(2)
ori
<- function(i = 1) attach ("c:/somewhere/ori/_data",
pos=i)
Then
we you start S-Plus, type ori() and your directory will be attached in position
1.
By the
way the mechanism is slightly different in S-Plus 6; you'll need to "make a
chapter" for your stuff the first time, before attaching.
Hope this helps.