rolf turner rturneraucklandacnz 8082008 839 carol white wrote hi save r object example matrix vector objects created session usually performed saveimage qyes two approaches 1 clean workspace contains objects really want qyes use rmwhatever dont need probably good idea anyhow focuses mind wondrously ive written little interactive cleanup function clean function lll lspos 1 xxx lll pmpt pasteremove xxx sep ans readlinepmpt ans removelist xxx pos 1 invisible type clean answer objects want get rid 2 save object want keep separate file eg savexfilemelvin want use object x new r session either loadmelvin b attachmelvin read help load attach see difference effect unfamiliar functions could also instead using save use dput dputxmelvin want x new r session x dgetmelvin note name x maintained dput contents x unlike usage load attach applied results save need assign output dget object neednt necessarily called x could easily clyde dgetmelvin contents clyde contents used call x extra flexibility chance confuse cheers rolf attention email message privileged confiddropped9 ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code fri 08 aug 2008 091729 1200 r save r object selectively