AlexChristensen / SemNeT

Methods and Measures for Semantic Network Analysis
21 stars 4 forks source link

forward_flow.R #10

Open alc5907 opened 2 years ago

alc5907 commented 2 years ago

Copy and paste of error from your R console

Computing forward flow with glove...
Computing forward flow with glove...
Computing forward flow with glove...
Computing forward flow with glove...
Computing forward flow with glove...
Computing forward flow with glove...
Error: node stack overflow
Error during wrapup: node stack overflow
Error: no more error handlers available (recursive errors?); invoking 'abort' restart

To Reproduce:

Optional (but extremely helpful): Attach data to issue or send data to alexpaulchristensen@gmail.com with the subject line SemNeT Data: [your GitHub username] using this template response_matrix.csv

R and SemNeT versions:

Screen Shot 2022-09-19 at 11 17 11 PM

Operating System:

Additional context and comments

alc5907 commented 2 years ago

I also recently downloaded all packages (SemNet, SemNetCleaner, SemNetDictionaries, and NetworkToolbox) from the github repositories to make sure everything was up to date.

if(!"devtools" %in% row.names(installed.packages())){ install.packages("devtools") }

devtools::install_github("AlexChristensen/SemNeT", dependencies = c("Imports", "Suggests"))

AlexChristensen commented 2 years ago

Thank you, @alc5907, for the detailed report.

I ran the following code over your response_matrix.csv:

library(SemNeT)

#import data
response_matrix <- read.csv("response_matrix.csv")

#run function
pilot_results <- forward_flow(
  response_matrix = response_matrix,
  semantic_space = "all",
  min_cue = min_cue,
  min_response = 3,
  max_response = NULL,
  type = "free")

And was able to obtain results successfully: alc5907_results.zip

It's not clear to me where or why this error is happening. It could be a memory/processing related issue?