> testscores
   diffgeom complex algebra reals statistics 
 1       36      58      43    36         37
 2       62      54      50    46         52
 3       31      42      41    40         29
 4       76      78      69    66         81
 5       46      56      52    56         40
 6       12      42      38    38         28
 7       39      46      51    54         41
 8       30      51      54    52         32
 9       22      32      43    28         22
10        9      40      47    30         24
11       32      49      54    37         52
12       40      62      51    40         49
13       64      75      70    66         63
14       36      38      58    62         62
15       24      46      44    55         49
16       50      50      54    52         51
17       42      42      52    38         50
18        2      35      32    22         16
19       56      53      42    40         32
20       59      72      70    66         62
21       28      50      50    42         63
22       19      46      49    40         30
23       36      56      56    54         52
24       54      57      59    62         58
25       14      35      38    29         20
 
> factanal(testscores,factors=2)
Sums of squares of loadings:
 Factor1 Factor2 
  2.2196  1.8667

The number of variables is 5 and the number of observations is 25 

Component names:
                                                                                                                      
 "loadings" "uniquenesses" "correlation" "criteria" "factors" "dof" "method" "center" "scale" "n.obs" "scores" "call"

Call:
factanal(x = testscores, factors = 2)
> summary(factanal(testscores,factors=2))
Importance of factors:
               Factor1 Factor2 
   SS loadings 2.21965 1.86667
Proportion Var 0.44393 0.37333
Cumulative Var 0.44393 0.81726

The degrees of freedom for the model is 1.

Uniquenesses:
 diffgeom complex algebra   reals statistics 
  0.19701  0.1879 0.12012 0.19841    0.21024

Loadings:
           Factor1 Factor2 
  diffgeom 0.506   0.739  
   complex 0.457   0.777  
   algebra 0.787   0.510  
     reals 0.775   0.448  
statistics 0.730   0.507  
 
> summary(factanal(testscores,factors=2,rotation="varimax"))
Importance of factors:
               Factor1 Factor2 
   SS loadings 2.21965 1.86667
Proportion Var 0.44393 0.37333
Cumulative Var 0.44393 0.81726

The degrees of freedom for the model is 1.

Uniquenesses:
 diffgeom complex algebra   reals statistics 
  0.19701  0.1879 0.12012 0.19841    0.21024

Loadings:
           Factor1 Factor2 
  diffgeom 0.506   0.739  
   complex 0.457   0.777  
   algebra 0.787   0.510  
     reals 0.775   0.448  
statistics 0.730   0.507  
>