eivimeycook / shinydigitise Goto Github PK
View Code? Open in Web Editor NEWshinyDigitise: The GUI for metaDigitise
License: MIT License
shinyDigitise: The GUI for metaDigitise
License: MIT License
Brush to delete points rather than entire group
Still allows for plotting of points and deleting based on the previously clicked row.
if you haven't yet clicked on any point, (so just added a group) changing the sample size crashed it
when a row is selected and then deselected, it is still stored and so click points can be used for this. Its not a massive issue, but could cause problems if for example a user added a new group and then clicked ''click points' without selecting the new group, and so the points were clicked for a previous group.
I think a solution to this could be to clear the last row selected when add mode goes to false. Not sure if its possible to deselect the row in the table at the same time - if so this would be perfect
no group selected, click groups, get error message, if then click on plot it crashes
Dear @EIvimeyCook,
after launching the app, none of the functions are recognised. Could you please into this issue?
the error on the console is:
data <- shinyDigitise("C:/Users/xxx/Pictures/test")
Listening on http://127.0.0.1:4065
Warning: Error in check_plottype: could not find function "check_plottype"
98: renderText [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#600]
97: func
84: renderFunc
83: output$plottype_check_text
2: shiny::runApp
1: shinyDigitise
Warning: Error in check_orientation: could not find function "check_orientation"
98: renderText [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#607]
97: func
84: renderFunc
83: output$orientation_check_text
2: shiny::runApp
1: shinyDigitise
Warning: Error in check_calibrate: could not find function "check_calibrate"
98: renderText [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#614]
97: func
84: renderFunc
83: output$calibrate_check_text
2: shiny::runApp
1: shinyDigitise
Warning: Error in check_extract: could not find function "check_extract"
98: renderText [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#621]
97: func
84: renderFunc
83: output$extract_check_text
2: shiny::runApp
1: shinyDigitise
Warning: Error in do.call: object 'internal_redraw' not found
170: do.call
169: renderPlot [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#631]
167: func
127: drawPlot
113: reactive:plotObj
97: drawReactive
84: renderFunc
83: output$metaPlot
2: shiny::runApp
1: shinyDigitise
Warning: Error in do.call: object 'internal_redraw' not found
170: do.call
169: renderPlot [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#631]
167: func
127: drawPlot
113: reactive:plotObj
97: drawReactive
84: renderFunc
83: output$metaPlot
2: shiny::runApp
1: shinyDigitise
Warning: Error in : No digitised files to import!
50: stop
49: metaDigitise::getExtracted
30: callback [C:\Users\xxx\AppData\Local\R\win-library\4.2\shinyDigitise\shinyDigitise/server.R#2138]
2: shiny::runApp
1: shinyDigitise
Error: No digitised files to import!
Below is the session info:
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=German_Germany.utf8 LC_CTYPE=German_Germany.utf8 LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C
[5] LC_TIME=German_Germany.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_1.7.5 metaDigitise_1.0.1 shinyDigitise_0.1.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.11 lattice_0.20-45 prettyunits_1.1.1 png_0.1-8 shinyWidgets_0.8.0 ps_1.7.5 utf8_1.2.3
[8] rprojroot_2.0.3 digest_0.6.33 mime_0.12 R6_2.5.1 pillar_1.9.0 rlang_1.1.1 uuid_1.1-1
[15] shinyalert_3.0.0 curl_5.0.2 rstudioapi_0.15.0 fontawesome_0.5.2 tippy_0.1.0 miniUI_0.1.1.1 callr_3.7.3
[22] urlchecker_1.0.1 jquerylib_0.1.4 Matrix_1.5-1 DT_0.29 reticulate_1.31 textshaping_0.3.6 desc_1.4.2
[29] devtools_2.4.5 shinyjs_2.1.0 stringr_1.5.0 htmlwidgets_1.6.4 xfun_0.40 compiler_4.2.2 httpuv_1.6.11
[36] systemfonts_1.0.4 pkgconfig_2.0.3 pkgbuild_1.4.2 htmltools_0.5.7 tibble_3.2.1 fansi_1.0.4 crayon_1.5.2
[43] withr_3.0.0 later_1.3.1 grid_4.2.2 jsonlite_1.8.7 xtable_1.8-4 lifecycle_1.0.4 magrittr_2.0.3
[50] cli_3.6.1 stringi_1.7.12 cachem_1.0.8 fs_1.6.3 promises_1.2.1 remotes_2.4.2.1 bslib_0.6.1
[57] ragg_1.2.5 shinyFiles_0.9.3 ellipsis_0.3.2 vctrs_0.6.3 tools_4.2.2 glue_1.6.2 purrr_1.0.2
[64] crosstalk_1.2.1 processx_3.8.2 pkgload_1.3.2.1 fastmap_1.1.1 yaml_2.3.7 sessioninfo_1.2.2 memoise_2.0.1
[71] knitr_1.45 profvis_0.3.8 sass_0.4.7 usethis_2.2.2
Bug occurs when group info is edited - changes all points to the same colour and shape
Scatterplot plot option?
need to make sure instructions are much more helpful and appear when they are meant to
lost tickes and crosses and shinydigitise logo
if there is only one group its a bit annoying to input a group name
At the moment the sample size only changes if you reclick the points. Would be good if changing the table updates the rawdata
Currently outputs a datafile into the terminal but not into the folder as a .csv or Renv
At the moment a new scatterplot group causes the same combo (Orange and Circle) to be selected. The problem i believe is the lack of ability to update the popupmodal, maybe a reactive dataframe?
You can click the points during extract mode and the emoji doesn't change when finished.
use plot_brush to get zoom coords to zoom in, and plot_dblclick to zoom out. update internal_redraw to have a zoom argument, and then plot given coords
I think there is currently a limit to what the DT table can display - it didnt display 13 groups....
add a image_name arguement to shinyDigitise function, and get it to just import that one image. Do same for metaDigitise
We are aware that the package currently works fine on Macs but users have reported issues on Windows.
There is a known bug that causes shiny apps to not appear in the default window. Switching to browser works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.