Please help me with stastictical test in R...

#1
Hello! Please help me!
I have data set like following table:

group x1 x2 ... xn
0 * * ... *
0 * * ... *
1 * * ... *
0 * * ... *
1 * * ... *
1 * * ... *
0 * * ... *
... ... ... ... ...
where "*" is a decimal number.
This table is in *.csv-file.

I need to estimate whether significant differences between the groups 0 and 1.
How can I apply the Kolmogorov Smirnov test to this dataset in R? By using functions "ks.test", "apply" in R or otherwise?

Thanks!