Skip to content
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

A few functions crash R on Windows #14

Open
AGibsonV opened this issue Mar 16, 2023 · 6 comments
Open

A few functions crash R on Windows #14

AGibsonV opened this issue Mar 16, 2023 · 6 comments

Comments

@AGibsonV
Copy link

Hi Tim,

A colleague recommended your package and I've installed in according to the tutorial instructions. I'm following a r script that a previous colleague wrote to get some simple related estimates (i.e. the script produced the results needed). My dataset consists of 47 individuals and 32 loci. When trying to run functions such as compareestimators() and coancestry() R terminates with the time bomb aborted session message, with no other information.

I tested these functions on the GenotypeData which comes with the package, and compareestimators() works without a problem however coancestry() crashes too which makes me think it isn't just a problem with my data input. Regardless, I double checked the data inputs but the formatting and the read-in of the data is the same as the sample data provided by related.

I am running the script under:
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
I am running R within RStudio 2022.12.0 Build 353

Any help is greatly appreciated. This package seems like the perfect simple solution to my genetic related analysis needs!

All the best,

Aline

@timothyfrasier
Copy link
Owner

timothyfrasier commented Mar 20, 2023 via email

@ac-harris
Copy link

Hi, Tim--

Has this issue been resolved? I'm trying to run the coancestry function with the GenotypeData object from the package and get the same error as Aline. I'm running R version 4.2.2, platform x86_64-w64-mingw32/x64 (64-bit), and Rstudio 2023.03.0 Build 386.

Thanks for any guidance you can provide!
Audrey

@timothyfrasier
Copy link
Owner

timothyfrasier commented Apr 13, 2023 via email

@ac-harris
Copy link

Hi, Tim--

I am using a windows computer. I was able to revert back to an earlier version of R (4.1.2) and get the function working, but it seems like the windows version of 4.2.2 is where the problem lies.

Thanks!
Audrey

@timothyfrasier
Copy link
Owner

timothyfrasier commented Apr 13, 2023 via email

@neellab-umd
Copy link

Hi Tim -

I am still having this same problem on my Windows machine. It has happened with multiple versions of R, the latest being 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts".

Specifically for me, the coancestry() function crashes R on both my data and your test data. Have you been able to track down the problem? In case it helps, the crash happens only after the function has run for a long time. So perhaps it is something in how the results of coancestry() are written to an object at the end of the operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants