Reading a txt file

Dear Gauss users,

I have the file xc.txt in Gauss repertory having two columns without headers and 510 lines (i.e. 30*17); when I wrote the following line:

t=30;
n=17;
load x1[t*n,2]="xc.txt";

Gauss was running without showing me the data.

 

Can you please help me.

Thanks

1 Answer



0



The load command loads data into a GAUSS variable. In your case, x1. It does not print any output. If you would like to see the contents of x1, you can enter:

print x1;

or click on the GAUSS Data Tab and double-click on x1 in the list of loaded data. It also might be helpful to take a look at some of the tutorials here.

aptech

1,773

Your Answer

1 Answer

0

The load command loads data into a GAUSS variable. In your case, x1. It does not print any output. If you would like to see the contents of x1, you can enter:

print x1;

or click on the GAUSS Data Tab and double-click on x1 in the list of loaded data. It also might be helpful to take a look at some of the tutorials here.


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