R Quick Tips

Error: java.lang.InternalError: Can’t start the AWT because Java was started on the first thread.  Make sure StartOnFirstThread is not specified in your application’s Info.plist or on the command line
Scenario: Encountered while trying to install Deducer package
Solution:

Sys.setenv(NOAWT=1)
install.packages("Deducer")
Sys.unsetenv("NOAWT")

One thought on “R Quick Tips

  1. Everything is very open with a very clear explanation of the issues.
    It was really informative. Your website is very helpful. Many
    thanks for sharing!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s