11010tianyi / playwith

Automatically exported from code.google.com/p/playwith
0 stars 2 forks source link

playwith doesn't ask confirmation for overwrite #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. generate a plot
2. file > save
3. select an existing file (be careful to keep a backup!)
4. hit 'ok'

What is the expected output? What do you see instead?
I would expect playwith to ask to confirm the overwrite operation. Instead, it 
silently overwrites the existing file. This is a big issue as it leads to data 
loss. 

What version of the product are you using? On what operating system?
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C  

attached base packages:
[1] grid      splines   stats     graphics  grDevices utils     datasets  
methods  
[9] base     

other attached packages:
 [1] hexbin_1.26.0        RGtk2_2.20.13        playwith_0.9-53      gWidgetsRGtk2_0.0-74
 [5] gWidgets_0.0-44      cairoDevice_2.18     latticist_0.9-43     vcd_1.2-11          
 [9] colorspace_1.1-0     latticeExtra_0.6-18  RColorBrewer_1.0-5   lattice_0.19-26     
[13] plm_1.2-7            sandwich_2.2-8       zoo_1.6-5            MASS_7.3-13 

[17] Formula_1.0-0        nlme_3.1-101         bdsmatrix_1.0        Hmisc_3.8-3 

[21] survival_2.36-9      psych_1.0-98         plyr_1.5.2           
fortunes_1.4-2      
[25] sos_1.3-1            brew_1.0-6          

loaded via a namespace (and not attached):
[1] cluster_1.14.0 gridBase_0.4-3 tools_2.13.0  

Original issue reported on code.google.com by landroni...@gmail.com on 3 Oct 2011 at 10:18