From ihaka@stat.auckland.ac.nz  Fri May 16 05:59:17 1997
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Fri, 16 May 1997 16:59:17 +1200 (NZST)
Subject: R-alpha: A Quick Way to Kill S ...
Message-ID: <199705160459.QAA16516@stat1.stat.auckland.ac.nz>

Start S and detach the directory at position 2.

	S-PLUS : Copyright (c) 1988, 1996 MathSoft, Inc.
	S : Copyright AT&T.
	Version 3.4 Release 1 for Sun SPARC, SunOS 4.1.3_U1 : 1996 
	Working data will be in /users/rdev/ihaka/.Data 
	> search()
	[1] "/users/rdev/ihaka/.Data"                             
	[2] "/usr/local/pkg/splus/splus-3.4/splus/.Functions"     
	[3] "/usr/local/pkg/splus/splus-3.4/stat/.Functions"      
	[4] "/usr/local/pkg/splus/splus-3.4/s/.Functions"         
	[5] "/usr/local/pkg/splus/splus-3.4/s/.Datasets"          
	[6] "/usr/local/pkg/splus/splus-3.4/stat/.Datasets"       
	[7] "/usr/local/pkg/splus/splus-3.4/splus/.Datasets"      
	[8] "/usr/local/pkg/splus/splus-3.4/library/trellis/.Data"
	> detach(pos=2,save="x")
	Error in UseMethod("assign", where): No specific or default method found
	Dumped
	> assign
	function(x, value, frame, where = NULL, ...)
	UseMethod("assign", where)
	> search()
	[1] "/users/rdev/ihaka/.Data"                             
	[2] ""                                                    
	[3] "/usr/local/pkg/splus/splus-3.4/stat/.Functions"      
	[4] "/usr/local/pkg/splus/splus-3.4/s/.Functions"         
	[5] "/usr/local/pkg/splus/splus-3.4/s/.Datasets"          
	[6] "/usr/local/pkg/splus/splus-3.4/stat/.Datasets"       
	[7] "/usr/local/pkg/splus/splus-3.4/splus/.Datasets"      
	[8] "/usr/local/pkg/splus/splus-3.4/library/trellis/.Data"
	System terminating: bad address

Ouch!

As you can see I've been playing with search paths.  I hope to have
more patches next week which will implement search paths for R more
completely (I think I'll skip the feature above).

I have also converted to using XDR for workspace saving (maintaining
backwards compatibility).  The bits of XDR we use are pretty simple
so it may be possible to create version for windows and	the mac.

Now I want to be able to attach saved workspaces, and perhaps
introduce some sort of "demand loadable" data object.
	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: A Quick Way to Kill S ...
Ross Ihaka