简体   繁体   中英

R studio can't use ggplot2 with no error message

I test the simple code like this:

g <- ggplot(mpg, aes(class))
g + geom_bar()

Then the R studio shows busy, and hang on until I shutdown the R studio program from the system. There is no error message. However, it can work in RGui.

I have already uninstall and reinstall the R and R studio. It doesn't work either. Several days ago, I do the windows update, then it works for a while.

The version of OS is Win8.1 64bit. The versions for R and R studio are "R-3.3.1-win" and "RStudio-0.99.903"

Does anyone have any idea of this problem?

This is likely a bad interaction between 32bit versions of R 3.3.x and RStudio. You should be able to resolve this either by:

  1. Downgrading back to R 3.2.5,
  2. Switching to a 64bit version of R, or
  3. Installing the RStudio preview release .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM