" I don't know anything about windows but you installed the packages wrongly." "Perhaps, "pkg install nan" had some problems ?"
Well, I just followed to the letter the instructions (url below), and these do not include any "pkg install nan" command, only "rebuild" commands.... http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/Octave%203.6.1%20for%20Windows%20MinGW%20installer/ For info (still with this install / nan-2.5.4), I have the same error message once the "weird" tmp location of the m file is cleared from the cache: " octave:26> bland_altman([1,2,3,4,5,6]',[0,2,3,5,6,5]') error: Invalid call to corrcoef. Correct usage is: -- Function File: corrcoef (X) -- Function File: corrcoef (X, Y) error: called from: error: c:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\help\print_usage.m at line 87, column 5 error: c:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\deprecated\corrcoef.m at line 59, column 5 error: c:\Octave3.6.1_gcc4.6.2\share\octave\packages\nan-2.5.2\bland_altman.m at line 55, column 14 " Installing nan-2.5.4 as per Alois's advice fixed it...THX a lot Regards Pierre -----Original Message----- From: Alois Schloegl [mailto:alois.schlo...@ist.ac.at] Sent: Saturday, 31 March 2012 1:20 AM To: Carnë Draug Cc: Pierre Lonchampt; octave-dev@lists.sourceforge.net Subject: NaN v2.5.4 released [was Re: [OctDev] bug? in NaN/bland_altman] Hi Carne, the NaN-tb before v2.5.2 required zlib, which is not included in octave's mingw version. I've fixed this, now zlib is not used on windows. Moreover, documentation of cov() is improved, explaining the difference to corrcoef. When tested also with octave 3.6.1 on windows doing pkg install nan-2.5.4.tar.gz pkg load nan bland_altman(randn(100,2)) everything worked fine. The new release is available from http://pub.ist.ac.at/~schloegl/matlab/NaN/nan-2.5.4.tar.gz and I'm asking to upload it. P.S.: I can not reproduce your problem with bland_altman. The error message suggests you have "deprecated" before the NaN-tb in your path. In that case, deprecated/corrcoef.m will take precedence and you should not be surprised that there are problems. Perhaps, "pkg install nan" had some problems ? On 03/30/2012 01:38 PM, Carnë Draug wrote: > On 28 March 2012 06:34, Pierre Lonchampt<ploncha...@sonomat.com> wrote: >> >> >> Fresh install of 3.6.1 + forge pacakages on windows 7: >> octave:5> >> >> error: Invalid call to corrcoef. Correct usage is: >> >> -- Function File: corrcoef (X) >> -- Function File: corrcoef (X, Y) >> error: called from: >> error: C:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\help\print_usage.m at >> line 87, column 5 >> error: C:\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\deprecated\corrcoef.m >> at line 59, column 5 >> error: >> C:\Users\plonchampt.AMT\AppData\Local\Temp\7zO3098.tmp\bland_altman.m >> at line 55, column 14 > > I don't know anything about windows but you installed the packages > wrongly. The bland_altman function is trying to use the octave core > corrcoef function rather than the one from the NaN package. Also, the > location of your bland_altman function is really weird. > >> THX > > If you expect other people to spend their time fixing your problems, > at least spend the time it takes to write the whole word. > > Carnë > > ---------------------------------------------------------------------- > -------- > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev