config.getDefaultSweaveEngine());
uiPrefs.defaultLatexProgram().setProjectValue(
config.getDefaultLatexProgram());
uiPrefs.rootDocument().setProjectValue(
config.getRootDocument());
uiPrefs.useRoxygen().setProjectValue(
config.hasPackageRoxygenize());
// convert packrat option changes to console actions
emitPackratConsoleActions(options.getPackratOptions());