help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new to octave - difficulty in installing a package (statistics)


From: Tatsuro MATSUOKA
Subject: Re: new to octave - difficulty in installing a package (statistics)
Date: Thu, 31 Jul 2014 05:28:42 +0900 (JST)

>>>>>Hi,

>>>>>
>>>>>
>>>>>Im very new to octave, but getting on reasonably with running some old 
>>>>>matlab code, which is great.  I have come across a need to use nanmean 
>>>>>which I have seen is included in the statistics package.
>>>>>
>>>>>
>>>>>I have downloaded this and saved in the same directory as octave runs 
>>>>>from.  I have checked it is in the current path and tried installing it by 
>>>>>typing   "pkg install -forge statistics-1.2.3.tar.gz"  but i get the error 
>>>>>"package not found".
>>>>>
>>>>>
>>>>>i have tried a few other things like "pkg install statistics-1.2.3.tar.gz" 
>>>>>but get the error " the following dependancies where unsatisfied needs 
>>>>>io>=1.0.18
>>>>>
>>>>>
>>>>>As i am running windows 8.1 i have only been able to work out how to 
>>>>>install version 3.6.4  is this causing my problem?  is there an older 
>>>>>version of the package i should be trying to install?
>>>>>
>>>>>
>>>>>i have tried searching the forum so hope i am not replicating a question 
>>>>>already asked!
>>>>>
>>>>>
>>>>Which version of octave do you use ?
>>>>
>>>>1. octave 3.6.4 msvc build
>>>>2. octave 3.6.4 mingw build
>>>>3. octave 3.8.x mingw(MXE) build
>>>>
>>>>From what you wrote, I think that you are using octave 3.6.4. 
>>>>But there are two different kind of build.
>>>>
>>>>Replies depend on which version octave do you use.
>>>>
>>>>Tatsuro  
>>>>

>>>Hi,
>>>
>>>
>>
>>>Thanks for your reply.  I am running 3.6.4 but dont know which build.  i 
>>>installed it from the link in 
>>>http://youneedtoprogram.wordpress.com/2013/10/12/installing-octave-3-6-4-on-windows-8/
>>>
>>>
>>>i.e. 
>>>    * octave-3.6.4-vs2010-setup.exe (68.2 MB)
>>
>>>I have now managed to install the statistics package, by first installing 
>>>io.  i had to use io-1.2.5 as later versions required octave 3.8.  it does 
>>>still not recognise nanmean though.  I presume that once the package is 
>>>installed i should then beable to call the function without doing anything 
>>>else?
>>>
>>>
>>>Is there a method for installing octave3.8 on windows8?  maybe my issues 
>>>would be sorted with the newer version of octave?
>>>
>>>
>>>Thanks for your help
>>>
>>>
>>>Roger
>>>

>>Ok. You have installed 1, octave 3.6.4 msvc build.
>>
>>In the case, it is difficult to install octave-forge package via pkg install 
>>command.
>>You should install VC-2010 (Free Express version can be used.)  and external 
>>dependencies.
>>
>>The installer includes pre-build octave-forge packages but those are not 
>>installed by default.
>>(The page you pointed ignores the octave-forge package install.)
>>(The version of pre-build statistics package is 1.2.0 but not 1.2.3.)
>>
>>
>>1. Uninstall octave 3.6.4 from control panel.
>>2. Re-install octave 3.6.4 from the installer. At install, do not forget to 
>>check octave-forge.
>>3. Try "pkg list" from the octave prompt and confirm the octave-forge 
>>packages are installed.
>>4. If you want to activate the statistics package, execute "pkg load 
>>statistics" from the octave prompt.
>>
>>
>>If you want to load the statistics package at the start up, describe   "pkg 
>>load statistics"
>>in the C:\Software\Octave-3.6.4\share\octave\site\m\startup\octaverc.
>>
>>HTH
>>
>>Tatsuro
>>
>
>Thank you very much for your help.
>
>
>After i uninstall octave 3.6.4 from the control panel, do i use a different 
>installer?  Can you point me towards the installer i should download?
>
>
>kind regards
>
>
>Roger

>
You do use the same installer. So I used the term of "re-install" in the 
explanation. 
The reason why one have to uninstall is that this version does not allow 
multiple install of octave.  
So uninstall is required to install pre-build octave-forge packages.

Tatsuro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]