mynameisJEFF
mynameisJEFF

Reputation: 4239

R: just installed R on Window 7 but could not create any plots

I just installed the latest R on Window 7. I tried to execute a simple plot command but I got a very weird error.

Error in dev.hold() : no active or default device

I suspect that I am missing a graphics device. But I have no idea which graphics device I should use to create a device for plotting ? I used Quartz on my mac but I am not sure if it is also available on Window 7

Upvotes: 0

Views: 2293

Answers (1)

jprockbelly
jprockbelly

Reputation: 1607

Try to explicitly set the device to windows.

options(device="windows")

see here for details

Upvotes: 1

Related Questions