[R-SIG-Mac] How to delete R session history?

Federico Calboli f.calboli at imperial.ac.uk
Tue Jun 26 18:45:37 CEST 2012


go to your working dir, I assume that would be /Users/your_username

do

ls -a

if the file is there kill it, otherwise find the dir where you were working when you saved the session and go through the step above

F




On 26 Jun 2012, at 17:31, C W wrote:

> I accidentally saved my R session, and all my variables are saved.
> 
> I have,
> 
> [R.app GUI 1.52 (6188) x86_64-apple-darwin9.8.0]
> 
> [Workspace restored from /Users/Mike/Documents/.RData]
> 
> [History restored from /Users/Mike/Documents/.Rapp.history]
> 
> 
> When I type,
> 
>> ls()
> 
> [1] "alpha"  "beta"  "current_q"  "epsilon"  "f"    "i"
> 
> [7] "L"          "model"          "Nsim"       "p"       "theta"
> "samples"
> 
> will always show up.    Seems like it stays in the console forever, and is
> stored in .Rapp.history.  Where can I find that file?
> 
> 
> Mike
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20120626/ee377a91/attachment.bin>


More information about the R-SIG-Mac mailing list