what is the procedure to reset the default directory to ~
thank you
Tools > Global Options ... > General > Basic > R Sessions (first entry).