octave-maintainers
[Top][All Lists]
Advanced

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

Re: gramm Package installation for Octave


From: Rik
Subject: Re: gramm Package installation for Octave
Date: Thu, 19 Sep 2019 09:20:23 -0700

On 09/19/2019 05:06 AM, address@hidden wrote:
Subject:
gramm Package installation for Octave
From:
EAlvarez <address@hidden>
Date:
09/19/2019 01:28 AM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
quoted-printable
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=UTF-8
Message:
3

Hello Gurus of Octave!

I have the following Problem and hope somebody out there can help. I am new
to Octave. I am a long term user of R programming language, and have been
using Hadley´s Wickham ggplot2 for a long time to make plotting more easy. I
saw that there is a package called gramm developed for matlab. The
experienced used @CdeMills seemed to found a Workaround to make this package
executable on Octave, see this thread:
https://octave.1599824.n4.nabble.com/gramm-td4677378.html#none

I followed the instructions on the readme file and the comments on the
thread in how to run this package but have not had any luck!.

The readme says that i should add the @Folder containing the class to the
path. I do this the following way:

addpath('P:/35
MITARBEITERORDNER/Alvarez/Octave/Scripts/gramm-master/@gramm')

which add the path succesfully and running the example script ist able to
find the file, but when executing this i get the following error:


g=gramm_octave('x',cars.Model_Year,'y',cars.MPG,'color',cars.Cylinders,'subset',cars.Cylinders~=3
& cars.Cylinders~=5);
parse error near line 268 of file P:/35
MITARBEITERORDNER/Alvarez/Octave/Scripts/gramm-master/@gramm\gramm_octave.m

  external methods are only allowed in @-folders

    obj = update (obj, varargin)
I am making mistakes when loading the path? I tested the package the same
way in Matlab and was able to get perfect results and no Errors.

I hope somebody out there can help Thanks!

This sort of question is better suited to the Octave-Help mailing list (help on using Octave) rather than the Octave-Maintainers mailing list which is for programmers modifying Octave.

In any case, I think the simple answer is that you need to add the directory that contains @gramm to your path, not the @gramm directory itself.  Try

addpath('P:/35MITARBEITERORDNER/Alvarez/Octave/Scripts/gramm-master/
--Rik




reply via email to

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