https://bugs.kde.org/show_bug.cgi?id=405386
--- Comment #7 from Adley <adleyv...@gmail.com> --- Created attachment 118778 --> https://bugs.kde.org/attachment.cgi?id=118778&action=edit rk.sessionInfo() For question number 2: rk.show.html(), Preview->R Markdown and Preview->R Console are the same; They can't work properly to the "output.html", but Preview->R Console shows a message: Warnings or Errors: Error in attr(exprs, "srcref")[[i]] : subscript out of bounds I think it means the attr "xmlns". Yes, you right. I think it might be related to my installation steps, since it works in kdevelop without removing the "xmlns". My installation steps as below: Fist, I list all the dependencies I installed. kf5-kdewebkit-devel.x86_64 kf5-ktexteditor-devel.x86_64 kf5-kdoctools-devel.x86_64 R-devel.x86_64 extra-cmake-modules.noarch qt5-qtscript-devel.x86_64 kf5-knotifications-devel.x86_64 kf5-kxmlgui-devel.x86_64 kf5-kwidgetsaddons-devel.x86_64 kf5-kdbusaddons-devel.x86_64 kf5-kconfigwidgets-devel.x86_64 kf5-ki18n-devel.x86_64 kf5-kwindowsystem-devel.x86_64 kf5-kcrash-devel.x86_64 get the snapshot from github kde mirror 1. mkdir build; cd build 2. cmake /home/user/rkward-master/ -DR_LIBDIR='/home/user/R/x86_64-redhat-linux-gnu-library/3.5' 3. make 4. make install -- You are receiving this mail because: You are watching all bug changes.