Clearing namespace and memory

Hi there,

I've run into some issues where some variables get stored in memory and get reused when running new snippets of code.

I'm looking for a way to reset everything: the whole namespace; clearing out all the data from GAUSS' memory.

The two ways I know how to do this are:

  • running "clearg" with each variable
  • closing GAUSS and opening it again

Since both of these methods are quite a hassle, I just wanted to check if there was another easier way doing this.


1 Answer


Yes, there is a MUCH easier way! The new command clears out all variables and procedure definitions in the GAUSS workspace.

// It is a good idea to start your programs
// by clearing out your GAUSS workspace
// variables with the 'new' command

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy