================================================================================ = Excel & Csv files ================================================================================ -------------------------------------------------------------------------------- Excel & Openoffice -------------------------------------------------------------------------------- Open excel file File/Save as File type Text Csv (.csv) Edit filter parameters - UTF 8 - Field separator {Tab} - Text separator " -------------------------------------------------------------------------------- Openoffice Decimal separator , (coma) => . (dot) -------------------------------------------------------------------------------- The decimal parameter must be the . (dot) Example in french the separator is the coma that lust be changed into the dot: Outils/Paramètres linguistiques/Langues - Environnement linguistique Anglais (U.S.A.) - Touche séparateur de décimales x Identique à l'environnement linguistique ================================================================================ = PLOT ================================================================================ -------------------------------------------------------------------------------- Introduction -------------------------------------------------------------------------------- R uses 2 graphics libs trellis and graphics that use 2 différent parameters structures. Part of those structures may be redefined in file ~/.datamind/config_plot.R which is source before each plot. Graphics and lattice may be redefined using the classical par() and trellis.par.get()/trellis.par.set() functions. -------------------------------------------------------------------------------- Examples: -------------------------------------------------------------------------------- ## Coppy the folowing in ~/.datamind/config_plot.R ----------- # Symbol: darkblue filled bullet pch=16 plot_symb=trellis.par.get("superpose.symbol") plot_symb$col="darkblue" plot_symb$pch=16 trellis.par.set("plot.symbol", plot_symb) # If several symbol are ploted # then lattice function use superpose.symbol instead of plot.symbol sup_symb=trellis.par.get("superpose.symbol") sup_symb$col[1]="darkblue" sup_symb$col[2]="red" sup_symb$pch=c(16,16,16,16,16,16,16) trellis.par.set("superpose.symbol", sup_symb) ## -------- # Line: darkblue plot_line=trellis.par.get("plot.line") plot_line$col="darkblue" trellis.par.set("plot.line", plot_line) # if several symbol are ploted # then lattice function use superpose.line instead of plot.line sup_line=trellis.par.get("superpose.line") sup_line$col[1]="darkblue" sup_line$col[2]="red" trellis.par.set("superpose.line", sup_line)