I cannot install a toolbox I downloaded

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

I cannot install a toolbox I downloaded

Spenduelar
Hi

I have just downloaded M5PrimeLab toolbox, and struggling to install it on octave.

I am using the following command: 
pkg install M5PrimeLab.zip

I get the following error

package is missing file: COPYING
error: called from
    install>verify_directory at line 335 column 7
    install at line 109 column 9
    pkg at line 394 column 9

Please assist me. Thank you


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: I cannot install a toolbox I downloaded

Przemek Klosowski-7
On 03/07/2018 11:42 AM, Phenyo Moletsane wrote:

> I have just downloaded M5PrimeLab toolbox, and struggling to install
> it on octave.
>
> I am using the following command:
> pkg install M5PrimeLab.zip
>
> I get the following error
>
> package is missing file: COPYING
> error: called from
>     install>verify_directory at line 335 column 7
>     install at line 109 column 9
>     pkg at line 394 column 9
If you're talking about http://www.cs.rtu.lv/jekabsons/regression.html 
then it's simply an archive of .m files, so just unzip it into a
directory in your path and start using it.  Read the DESCRIPTION.txt
file: the section on Matlab installation essentially tells you what
needs to be set in Octave as well.

The pkg command is really intended for installation of packages that
require native code compilation, so you don't need it here.


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: I cannot install a toolbox I downloaded

tmacchant
In reply to this post by Spenduelar
----- Original Message -----

>From: Phenyo Moletsane 
>To: [hidden email]
>Date: 2018/3/8, Thu 01:42
>Subject: I cannot install a toolbox I downloaded
>
>
>Hi
>
>
>I have just downloaded M5PrimeLab toolbox, and struggling to install it on octave.
>
>
>I am using the following command: 
>pkg install M5PrimeLab.zip
>
>
>I get the following error
>
>
>package is missing file: COPYING
>error: called from
>    install>verify_directory at line 335 column 7
>    install at line 109 column 9
>    pkg at line 394 column 9
>



Please read carefully DESCRIPTION.txt in the zip file.
It seems that it is not octave pkg package so that you cannot install via pkg install.

Part of DESCRIPTION.txt


Installation (for Matlab):
Start Matlab and select "Set path..." from the File menu. Click
"Add with subfolders" button and select the M5PrimeLab folder in the
file dialog. Press the Save button in order to save your changes
to the Matlab search path. The toolbox is now installed. Have fun.

For Octave. you expand the folder to the place you like and  use "addpath" to addpath
so that Octave finds m files.

You can find the help for "addpath" by

>> help addpath

You can find an example in p.16 of M5PrimeLab.pdf.
I could execute it.

HTH 

Tatsuro



-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: I cannot install a toolbox I downloaded

tmacchant
In reply to this post by Spenduelar
Sorry for top posting. I am using a smart phone.

This is the first time accessing this package.
I am not familiar to dealing big data.

Someone those who are specialist to big data will help you.

Tatsuro


--- [hidden email] wrote:

> Thanks, I just did that and i can access M5PrimeLab.
> I want to build random forest for an M5P model tree. Have you ever tried it? Also, can octave be used for big data? 
>
> On Thu, Mar 8, 2018 at 3:15 AM, Tatsuro MATSUOKA <[hidden email]> wrote:
> ----- Original Message -----
> >From: Phenyo Moletsane 
> >To: [hidden email]
> >Date: 2018/3/8, Thu 01:42
> >Subject: I cannot install a toolbox I downloaded
> >
> >
> >Hi
> >
> >
> >I have just downloaded M5PrimeLab toolbox, and struggling to install it on octave.
> >
> >
> >I am using the following command: 
> >pkg install M5PrimeLab.zip
> >
> >
> >I get the following error
> >
> >
> >package is missing file: COPYING
> >error: called from
> >    install>verify_directory at line 335 column 7
> >    install at line 109 column 9
> >    pkg at line 394 column 9
> >
>
>
>
> Please read carefully DESCRIPTION.txt in the zip file.
> It seems that it is not octave pkg package so that you cannot install via pkg install.
>
> Part of DESCRIPTION.txt
>
>
> Installation (for Matlab):
> Start Matlab and select "Set path..." from the File menu. Click
> "Add with subfolders" button and select the M5PrimeLab folder in the
> file dialog. Press the Save button in order to save your changes
> to the Matlab search path. The toolbox is now installed. Have fun.
>
> For Octave. you expand the folder to the place you like and  use "addpath" to addpath
> so that Octave finds m files.
>
> You can find the help for "addpath" by
>
> >> help addpath
>
> You can find an example in p.16 of M5PrimeLab.pdf.
> I could execute it.
>
> HTH 
>
> Tatsuro
>
>



-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------