Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezing upon mistyping variables to plot #264

Open
atakanekiz opened this issue May 1, 2020 · 1 comment
Open

Freezing upon mistyping variables to plot #264

atakanekiz opened this issue May 1, 2020 · 1 comment

Comments

@atakanekiz
Copy link

atakanekiz commented May 1, 2020

Hello,

I posted an issue similar to this some time ago (#180). The fix mentioned there worked, but I'm running into a similar problem when I deal with big data frames and make a mistake in passing variable names to plot. A reprex is below. Thanks!

library(ggpubr)

set.seed(1)

rown <- 1000
coln <- 50000



df <- data.frame(
    matrix(rnorm(rown*coln), nrow = rown, ncol = coln))

df$groupvar <- rep(c("type1", "type2"), rown/2)

# Works
# ggdotplot(df, x="groupvar", y="X1")


# As expected, this fails, but causes freezing
# ggdotplot(df, x="grp", y="X1")

@atakanekiz
Copy link
Author

Hello! I was wondering if there is any development on this issue? Mistyping variables (thanks to careless self) leads to freezing that is unrecoverable when dealing with some datasets. The stop button to break the process doesn't do anything when this issue occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants