ggplot2 error (ffi_standalone_check_number_1.0.7)

Having trouble with ggplot2. It was working fine, but now I get this error message.
This example is using the ggplot2 bundled data set mpg, but I get the same message with any data set/code that I try.

Error in .standalone_types_check_dot_call(ffi_standalone_check_number_1.0.7, :
object 'ffi_standalone_check_number_1.0.7' not found

ggplot(mpg, aes(displ, hwy)) +

There is a suggested solution in this stackoverflow thread

1 Like

Unless you have created a data.frame called mpg it looks like you want to use the mtcars data set. mtcars does not have variables named "displ" or "hwy"

This should plot:

ggplot(mtcars, aes(disp, hp)) + geom_point()

mpg is a dataset in the ggplot2 package

I can't thank you enough- took me a bit to fix, but that was definitely the problem :grinning:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.