radiant-rstats / radiant

Business analytics using R and Shiny. The radiant app combines the menus from radiant.data, radiant.design, radiant.basics, radiant.model, and radiant.multivariate.
https://radiant-rstats.github.io/docs/
Other
455 stars 130 forks source link

plot tab for linear regression #211

Open koushr89 opened 12 months ago

koushr89 commented 12 months ago

In the diamonds dataset, I regress price on x. After that I go to the plot tab. I choose scatter plot but it gives me this error:

image

Interestingly, if I choose two explanatory variabels, it makes the plot:

image

vnijs commented 11 months ago

I'm not able to reproduce this issue. See the screenshot below.

image

Can you try upgrading to the latest version of the radiant packages using the command below and try again? If you can share a state file (save icon in navbar) then I can try to reproduce your settings exactly.

options(repos = c(RSM = "https://radiant-rstats.github.io/minicran", CRAN = "https://cloud.r-project.org"))
install.packages("remotes")
remotes::install_github("radiant-rstats/radiant.update", upgrade = "never")
radiant.update::radiant.update()
koushr89 commented 11 months ago

plot.state.zip

Please find the state file attached.

Interestingly some students in the class did not have this issue but some others had this issue. They all installed Radiant at around the same time (last 10 days of August).

After running your code I still face the same error.

vnijs commented 11 months ago

Very odd. I still can't reproduce using your state file.

image

Can you share the output from

devtools::session_info()
koushr89 commented 11 months ago

Sorry but I don't know how to do that.

vnijs commented 11 months ago

Just run that code mentioned in Rstudio (console) and copy-and-paste results back here.

vnijs commented 9 months ago

Can you update to the latest version of the radiant.data package and report if you still see this issue?