s-news
[Top] [All Lists]

[no subject]

To: "S-News" <s-news@wubios.wustl.edu>
Subject:
From: "Ori Davidov" <davidov@stat.haifa.ac.il>
Date: Sun, 12 May 2002 17:27:34 +0200
Reply-to: "Ori Davidov" <davidov@stat.haifa.ac.il>
Thanks to Steve Weller, Sam Buttrey and Jingshan Zhang for their help.
 
My question was:
 
> I am working with S-Plus 2000 for Windows. The machine I am using is also being used by others. I would like to create a personal
> working space including a personal object explorer. How do I do that?
 
(1)
 
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.
 
<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Ori Davidov <=