Stylo error in hclust(...

22 views
Skip to first unread message

Karina van Dalen-Oskam

unread,
Sep 23, 2022, 4:31:09 AM9/23/22
to computation...@googlegroups.com

Dear all,

 

Running Stylo I get this error:

 

[….all going well, but then:]

 

Assigning plot colors according to file names...

 

Error in hclust(as.dist(distance.table), method = linkage) :

  NA/NaN/Inf in foreign function call (arg 10)

 

It occurred after I searched and replaced some digits and punctuation into other characters in the corpus files, so as to include them in my measurement. No error occurred when I ran Stylo on the original files.

Does anyone know how to solve this?

 

Best,

Karina

 

Karina van Dalen-Oskam

unread,
Sep 23, 2022, 4:35:48 AM9/23/22
to computation...@googlegroups.com

PS I use Windows.

Karina van Dalen-Oskam

unread,
Sep 23, 2022, 8:32:21 AM9/23/22
to computation...@googlegroups.com

Problem solved! (Stupid mistake in python made all files exactly the same).

Best,

Karina

Jan Rybicki

unread,
Sep 23, 2022, 8:42:51 AM9/23/22
to Karina van Dalen-Oskam, computation...@googlegroups.com
... which is technically a bug in stylo!
Best
Jan

Wysłane ze smartfona w T-Mobile, sieci największych możliwości.
Pobierz aplikację Outlook dla systemu Android

From: 'Karina van Dalen-Oskam' via computationalstylistics <computation...@googlegroups.com>
Sent: Friday, September 23, 2022 2:32:16 PM
To: computation...@googlegroups.com <computation...@googlegroups.com>
Subject: [computationalstylistics] RE: Stylo error in hclust(...
 
--
You received this message because you are subscribed to the Google Groups "computationalstylistics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to computationalstyl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/computationalstylistics/d90e3f83d7524983abe8bddd0ba590bd%40EXCH36.ia.knaw.local.
Reply all
Reply to author
Forward
0 new messages