I need help to import data in the same directory and how to create that directory please.
How to create a directory?
How to import data in such directory?
I am not certain that I am understanding your question. I think you are asking how to:
- Create a folder on your computer.
- Move a GAUSS program file and a data file to this location.
Create a new folder on your computer
You do not need to do this in GAUSS. You can do this as you normally would on your OS. For example:
- Open macOS or Windows Finder, or Windows File Explorer.
- Browse to the location in which you would like to create the new folder.
- Right-click and select New Folder, Create Folder, or the similar option for your operating system.
Move your files
If you have the file open in a program such as GAUSS or Excel, you can select File > Save as to save the file in your newly created folder.
If the file is not open, you can:
- Right-click on the file in Finder or Windows File Explorer.
- Browse to the new directory.
- Right-click in the new directory and select Paste from the context menu.
Change your GAUSS working directory
Once the files are where you want them, you will probably want to change your GAUSS working directory to this new folder. You can change your GAUSS working directory with the GAUSS
// Set your GAUSS working directory to your Documents directory chdir /Users/YourUserName/Documents; // Set your GAUSS working directory to your Documents directory chdir "C:\\Users\\YourUserName\\Documents";
or you can use the window menus by clicking the icon with three dots which is highlighted in orange below.
Then browse in the Finder or Windows File Explorer and select the new folder.