Bug 299385 - Cantor stops responding when R returns a matrix 50̣×50
Summary: Cantor stops responding when R returns a matrix 50̣×50
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: r-backend (show other bugs)
Version: 0.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL: http://cran.r-project.org/doc/manuals...
Keywords:
Depends on: 394018
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-04 16:51 UTC by Christopher Yeleighton
Modified: 2018-07-05 19:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.