Bug 299385

Summary: Cantor stops responding when R returns a matrix 50̣×50
Product: [Applications] cantor Reporter: Christopher Yeleighton <giecrilj>
Component: r-backendAssignee: Alexander Rieder <alexanderrieder>
Status: RESOLVED FIXED    
Severity: normal CC: alexanderrieder, filipe, warquark
Priority: NOR    
Version: 0.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: http://cran.r-project.org/doc/manuals/R-intro.html#A-sample-session
Latest Commit: Version Fixed In:
Bug Depends on: 394018    
Bug Blocks:    

Description Christopher Yeleighton 2012-05-04 16:51:47 UTC
Displaying large output in the worksheet is not a good idea; it is guaranteed to bring Cantor and/or the operating system to a halt when there is too much data to display.  Given such large data, Cantor should ask whether to display the result, and if so required, render the reply as a background task, making the sheet temporarily read-only.

Reproducible: Always

Steps to Reproduce:
  1. Open a new R worksheet.

  2. Evaluate:
x <- seq(-pi, pi, len=50)
y <- x

  3. Evaluate:
f <- outer(x, y, function(x, y) cos(y)/(1 + x^2))

Actual Results:  
3. Cantors stops responding for a noticeable period of time.

Expected Results:  
  3. Let Cantor ask whether to display large output.
Comment 1 Nikita Sirgienko 2018-07-05 19:14:23 UTC
I think, it's now not relevant, because i tried this code and all works fast, so I close it

But you have a point there, for large ouptut we plan add warning and question "Should Cantor show this output?". And also we thinking about show/hide feature for results.