Workaround for RStudio behaviour