Hi all,
For my money, switching workspaces / projects is a tricky business.
Have you tried separating your S+ sessions out? In Windows .....
* Create a new directory called (say) "C:\Project"
* Create a shortcut to "S_HOME\cmd\splus.exe" in this directory (usually
drag and drop)
* Right click your new shortcut and add the line S_PROJ="C:\Project" to
the end of the target line (so the target line should now read something
like 'C:\Program Files\Insightful\splus62\cmd\splus.exe
S_PROJ="C:\Project"'
* Open S+ using this shortcut - click ok at the warning message
* Now your project directory is C:\Project
* Use the /MULTIPLEINSTANCES flag (see Programmers Guide) for multiple
S-PLUS sessions ...
This is tricky first time around, but it separates projects very neatly.
For example, in my C:\Project directory I can store all the
data/reporting files that go along with this project, keeping all my
pieces of work separate ...
I find this way of working very neat - I'm sure others will have similar
preferred methods of working .....
Hope this helps,
Rich.
Mango Solutions
Tel : +44 (0)1628 418134
Mob : +44 (0)7967 808091
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of Michael
Conklin
Sent: 22 January 2004 16:50
To: s-news@wubios.wustl.edu
Subject: [S] Changing the Working Chapter
When Splus 6.2 starts, the working chapter is S_HOME. To attach a new
working chapter you can either, use New Working Chapter or Attach
Chapter from the menu. Attach Chapter (at position 1) gives me access
to the data for my project and to special functions in my S_Home
directory. But, any file output goes into S_Home instead of the project
directory. getCurrDirectory still shows S_Home even though all Splus
activity takes place in my project directory. If I use New Working
Chapter instead, Splus (as noted in the manual) removes my S_Home
directory after attaching the project directory. Now, while file
writing happens in the directory I want, I lose access to the special
functions I have in my S_Home directory. I would like to override the
removal of the previous working directory. I look in the history file
and it only shows that the dialog has called the function .attach which
by itelf does not remove the previous working directory. Basically, I
want this to work like the "New Workspace" procedure in Splus 2000. Any
pointers would be appreciated.
Michael Conklin
****************************************
Michael Conklin
Sr. VP Analytic Services
GfK Custom Research Inc.
8401 Golden Valley Rd
Minneapolis, MN 55427
mconklin@gfkcustomresearch.com
763-542-0821 (Voice)
763-542-0864 (Fax)
===================================================================
IMPORTANT CONFIDENTIALITY NOTICE: The documents and accompanying
email communication contain confidential information belonging to
the sender, GfK Custom Research Inc. and/or GfK Database Solutions,
and are legally protected. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution
or the taking of any action in reliance on the contents of the
communicated information is strictly prohibited.
===================================================================
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 28/08/2003
|