christianparobek / skeleSim

Null models, performance testing, and power estimation with population simulations
3 stars 6 forks source link

Error: invalid description argument #75

Open FloKu opened 5 years ago

FloKu commented 5 years ago

Hi,

I am new to genetic simulations, and currently trying to run Rmetasim via skeleSim. However, when performing the skeleSimGUI() the following error occurs: the GUI starts fine almost immediately after, below the "Read skeleSim object from file" button the red error-message "Error: invalid 'descripition' argument" appears.

It seems like running a simulation is still working fine, but when trying to safe the newly created skeleSim object, the whole GUI becomes somewhat grey-ish and doesnt work anymore. No object is created, and nothing works from that moment on.

Below the R output of the error message (including session() for info).

I hope for help resolving this issue, with best regards, Florian

Why I want to use skeleSim: I am looking for a way to forward-simulate real STR data (200 individuals, 4 connected populations), testing for different potential management scenarious (cut-off of one population, different migration rates, etc). However, I do not know by now if I will be able to use my STR data as input for forward-simulation...is it possible? Thanks in advance.

R output:

skeleSimGUI()

Attaching package: ‘dplyr’
The following objects are masked from ‘package:igraph’:
as_data_frame, groups, union
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Listening on http://127.0.0.1:3372
Warning: Error in gzfile: invalid 'description' argument
99: gzfile
98: load
97: renderUI [loadParams.R#22]
96: func
83: origRenderFunc
82: output$uiSelectParamObj
2: runApp
1: skeleSimGUI
Warning: Error in gzfile: invalid 'description' argument
99: gzfile
98: load
97: renderUI [loadParams.R#22]
96: func
83: origRenderFunc
82: output$uiSelectParamObj
2: runApp
1: skeleSimGUI
Warning in gzfile(file, "wb") : cannot open file '/': it is a directory
Warning: Error in gzfile: cannot open the connection
75: gzfile
74: save
73: observeEventHandler [saveParams.R#15]
2: runApp
1: skeleSimGUI

sessionInfo()


R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=German_Austria.1252  LC_CTYPE=German_Austria.1252    LC_MONETARY=German_Austria.1252 LC_NUMERIC=C                   
[5] LC_TIME=German_Austria.1252    
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
other attached packages:
[1] ggplot2_3.1.1    dplyr_0.8.0.1    adegenet_2.1.1   ade4_1.7-13      skeleSim_0.9.8   shinyFiles_0.7.3 shiny_1.3.2      igraph_1.2.4.1