D12987: Fix creating temporary directory for R backend

Nikita Sirgienko noreply at phabricator.kde.org
Sat May 19 21:18:50 UTC 2018


sirgienko created this revision.
sirgienko added a reviewer: asemke.
sirgienko added a project: Cantor.
Restricted Application added a project: KDE Edu.
Restricted Application added a subscriber: kde-edu.
sirgienko requested review of this revision.

REVISION SUMMARY
  `QDir::mkdir` don't work with creating of nested directory, so when `cantor_rserver` try to create `$TPDIR/cantor/rserver-XXX`, the directory don't be created and it breaks output for image, lists (lists prints as html table), etc.

TEST PLAN
  1. Start R backend
  2. run `x <- seq(-pi, pi, len=50)`
  3. run `plot(x)`
  4. Check, that plot appears.

REPOSITORY
  R55 Cantor

BRANCH
  fix-R-backend-tmpdir-error

REVISION DETAIL
  https://phabricator.kde.org/D12987

AFFECTED FILES
  src/backends/R/rserver/rserver.cpp

To: sirgienko, asemke
Cc: kde-edu, asemke, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180519/911e8a62/attachment.html>


More information about the kde-edu mailing list