-
Notifications
You must be signed in to change notification settings - Fork 3
R Session Aborted #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, If I try and use quotes around the tree file name instead of pointing to the working directory I get an error that the file doesn't exist. If I try to use the working directory the R session crashes. Do you have any advice or can I provide any files to help troubleshoot this? Thanks! |
Hi @hofskatr, Sorry for responding so slowly on this. The homoplasyFinder/R/homoplasyFinder.R Lines 270 to 279 in faed16f
The issue you have is that this function only wants the path to the file and then it will read in a file with file name structured: Note the In your case to avoid the error you might run something like:
Sorry again for not replying sooner and let me know if the above makes sense and helps! Joe |
I generated the files using GUI HomoplasyFinder and then tried to make a tree in R. But as soon as I load the file the session gets terminated. Kindly help me sort the issue library(homoplasyFinder) date <- format(Sys.Date(), "%d-%m-%y") Read in the annotated treetree <- readAnnotatedTree(workingDirectory) R crashes at this step Plot the annotated treeplotAnnotatedTree(tree, inconsistentPositions, fastaFile) |
I think the
R Session Aborted
error is caused byhomoplasyFinder
hanging after an error has been introduced. See the image below, I introduced an error by sending the wrong file name, it sends error and the next time I tryrunHomoplasyFinderInJava()
I get theR Session Aborted
error.Maybe I could add an
rJava
close all function at the start ofrunHomoplasyFinderInJava()
?The text was updated successfully, but these errors were encountered: