[Bug 1172426] New: Pandoc unable to be called from RStudio from profiler as path points towards non-existent folder
http://bugzilla.opensuse.org/show_bug.cgi?id=1172426 Bug ID: 1172426 Summary: Pandoc unable to be called from RStudio from profiler as path points towards non-existent folder Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: email@chanjp.me QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
From the Tumbleweed official package of RStudio, the following profiler test was run:
--- df = data.frame(v = 1:4, name = letters[1:4]) profvis(expr = { sub.test1 <- system.time( for (i in 1:50000) { df[3, 2] } ) sub.test2 <- system.time( for (i in 1:50000) { df[3, "name"] } ) sub.test3 <- system.time( for (i in 1:50000) { df$name[3] } ) } ) --- This resulted in the output: --- sh: /usr/lib/rstudio/bin/pandoc/pandoc: Not a directory Warning message: In system(paste(shQuote(pandoc_path), "--version"), intern = TRUE) : running command ''/usr/lib/rstudio/bin/pandoc/pandoc' --version' had status 126 --- In the RStudio directory, the pandoc executable could be seen, but not in the folder structure specified by RStudio. Since I had pandoc installed in /usr/bin/pandoc, I postulated renaming Pandoc in the RStudio directory would force the RStudio profiler to use the system-installed Pandoc instead. The command: sudo mv /usr/lib/rstudio/bin/pandoc /usr/lib/rstudio/bin/pandoc-exec I was then able to run the profiler in RStudio. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com