Learn R Programming

RcmdrPlugin.DoE (version 0.12-5)

Menu.exportTab: Using the export menu

Description

This help file describes the design exporting options. Default choices are no exporting for design generation forms or exporting an html file and an rda file, when separately calling the export routine.

Arguments

Author

Ulrike Groemping

Details

design information

At the top of the form, the design name is shown (provided on the first tab of the design generation form) or can be chosen from the designs available in the R work space.

(How to) export radio buttons

determine the type(s) of export file(s). Choices are that
no export file is generated (export tabs on design generation menus),
OR all file types listed below are generated,
OR only an rda file is generated,
OR an rda file and an html file are generated,
OR an rda file and a csv file are generated.
If Microsoft Excel is to be used in providing the actual experimenters with an annotated file for experimentation, usage of an html file is recommended. After the experiment has been carried out, the data can be stored as csv and reimported into R, where they can be processed using the structural information from the design, if the stored rda file is also provided.

decimal separator radio buttons

determine the decimal separator to be used; relevant, if the data contain decimal numbers; the default uses the OutDec option of the R system, the other choices explicity determine the decimal separator. If chosen correctly, the html file can be opened in Excel with decimal numbers read as such; furthermore, decimal separator “,” is taken to also mean separator “;”, i.e. csv files also use the matching separator (decimal separator comma goes with separator semicolon and corresponds to read.csv2, decimal separator point goes with separator comma and corresponds to read.csv).

The Storage Directory

can be changed with the selection button. For the separate export menu, the chosen directory will become the new working directory; this is not the case for the Export tab in design creation menus.

Provide the file name

without ending in the file names field. Files with this name and the appropriate endings are produced, as chosen by the “(How to) export” radio buttons.

The replace checkbox

can be checked, if you want to replace previously created files. In this context, note that the rda file exports an R workspace that ONLY includes the generated design and NOT the complete R workspace content.
If you want to store the complete R workspace, use the appropriate menu item on the R commander file menu (usually the left-most menu).

See Also

See Also function export.design from package DoE.base for the function that actually does the exporting