You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
697B

  1. if(interactive())
  2. {
  3. options(blogdown.ext = ".md",
  4. blogdown.author = "maximewack",
  5. menu.graphics = F,
  6. browser = "qutebrowser",
  7. scipen = 999,
  8. width = 240,
  9. Ncpus = 2,
  10. pillar.bold = T,
  11. tibble.print_min = 20,
  12. tibble.print_max = 100,
  13. i2b2_user = "4117773",
  14. i2b2_pass = system("pass i2b2_oracle", intern = T),
  15. i2b2_map_user = "dih",
  16. i2b2_map_pass = system("pass cdw.egp.aphp.fr/wiki", intern = T))
  17. .View <- function(x)
  18. {
  19. x %>%
  20. dplyr::mutate_if(is.character, factor) %>%
  21. DT::datatable(filter = "top", options = list(paging = F, fixedHeader = T))
  22. }
  23. }