[GRASS-stats] Re: [GRASS-user] Calculating eigen values and % varianceexplainedafter PCA analysis

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Sun Mar 1 07:08:04 EST 2009


On Sun, 2009-03-01 at 12:46 +0100, Nikos Alexandris wrote:
> Nikos:
> > [...] i.pca just does not report the eigen_VALUES_. At some point some
> > C-expert needs to have a look in the code (i.pca) and correct the
> > "bug" which does not let the eigen_VALUES_ from being printed.
> 
> 
> Hamish:
> > done in devbr6 (6.5svn) please test, I'm not a multivariate stats guru
> > and may have done something dumb so didn't port to other branches yet.
> 
> 
> First test:
[...]
> Errors in:
> /usr/local/src/grass6_devel/imagery/i.pca
[...]
> Finished compilation: Sun Mar  1 11:46:34 CET 2009
> make: *** [default] Error 1
> nik at vertical:/usr/local/src/grass6_devel$ cd imagery/i.pca/
> nik at vertical:/usr/local/src/grass6_devel/imagery/i.pca$ make
> gcc -I/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -Wall       -DPACKAGE=\""grassmods"\"  -I/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/support.o -c support.c
> support.c: In function ‘write_history’:
> support.c:43: error: expected expression before ‘<<’ token
> support.c:46: error: expected expression before ‘==’ token
> support.c:49: error: expected expression before ‘>>’ token
> support.c:67: warning: format not a string literal and no format arguments
> make: *** [OBJ.x86_64-unknown-linux-gnu/support.o] Error 1


OK, I removed the lines below, compiled again and now it works.
Perfect!!!

43 +<<<<<<< .mine
44      if (!to_std)
45 -	G_message(_("Eigen values:"));

47 +=======



More information about the grass-stats mailing list