Open bedantaguru opened 4 years ago
This is for https://github.com/r-rudra/tidycells/blob/3ddcdf6e9f664ffc46f432c57f0eeb4cc9bb13a3/R/shiny_main.R#L22
This may be implemented later if required.
Thanks to this SO
Following code works well :
library(rJava) .jinit() toolkit <- J("java.awt.Toolkit") default_toolkit <- .jrcall(toolkit, "getDefaultToolkit") dim <- .jrcall(default_toolkit, "getScreenSize") height <- .jcall(dim, "D", "getHeight") width <- .jcall(dim, "D", "getWidth")
This is for https://github.com/r-rudra/tidycells/blob/3ddcdf6e9f664ffc46f432c57f0eeb4cc9bb13a3/R/shiny_main.R#L22
This may be implemented later if required.
Thanks to this SO
Following code works well :