delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/07/17/17:43:56

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 665A93857C43
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1689630235;
bh=wegOC1N0U5yKw19rCy8HmDPTv6uEH0ex07+ay6JW06Y=;
h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=jrT45aMD/STlyASbdmx60JDmdmK0dfFX0Y4kg0wTz0YrXuor2t3HjhJPRq2uPCbun
FCigF5+YABMomK0u9n6vDUGVjoslNPEmKuyrJnPIPiEo7tfVLvX7KyxtZClDLAokKB
WIPWis4HJgB+Aq3TrvwWzCEbjXv6NvukixXewv68=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C8293858D28
Date: Tue, 18 Jul 2023 06:43:13 +0900
To: cygwin AT cygwin DOT com
Cc: Bryan VanSchouwen <vanschbm2 AT gmail DOT com>
Subject: Re: Previously-functional Octave software routine now mysteriously
failing - Please help!
Message-Id: <20230718064313.fe08864e5c49be759b4736af@nifty.ne.jp>
In-Reply-To: <CAC7Qdh1cy=vqYLGxSmYMTgv0miHiYwcJhsZi+yXJYEUhNRew=g@mail.gmail.com>
References: <CAC7Qdh1cy=vqYLGxSmYMTgv0miHiYwcJhsZi+yXJYEUhNRew=g AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Mon, 17 Jul 2023 17:27:37 -0400
Bryan VanSchouwen wrote:
> Hello.
> 
> I just tried performing a correlation matrix calculation with
> Cygwin's Octave software (having successfully performed this calculation
> previously on other similar data sets) using the following commands within
> Cygwin:
> *****(start of commands)*****
> [vansc AT LAPTOP-OHN2RCVM
> ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$
> octave
> GNU Octave, version 5.2.0
> Copyright (C) 2020 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
> 
> Octave was configured for "x86_64-pc-cygwin".
> 
> Additional information about Octave is available at https://www.octave.org.
> 
> Please contribute if you find this software useful.
> For more information, visit https://www.octave.org/get-involved.html
> 
> Read https://www.octave.org/bugs.html to learn how to submit bug reports.
> For information about changes from previous versions, type 'news'.
> 
> octave:1> load dm
> octave:2> cdmt = cor(dm.')
> octave:3> save dm.octave
> *****(end of commands)*****
> 
> 
> However, when I tried executing the "cdmt = cor(dm.')" command, I got the
> following error message:
> octave:2> cdmt = cor(dm.')
> error: 'cor' undefined near line 1 column 8
> octave:2>
> 
> For reference, I have attached a copy of the input "dm" matrix data file
> that I was trying to use in the calculations within Octave (see attached
> file).
> 
> Do you have any idea what is going on here, and if there is a way to fix it
> (or work around it)??

I do not really understand what you want to do, but
corr() or corrcoef(), not cor()?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019