ramnathv / htmlwidgets

HTML Widgets for R
http://htmlwidgets.org
Other
783 stars 207 forks source link

Error: pandoc document conversion failed with error 99 #314

Open slfan2013 opened 6 years ago

slfan2013 commented 6 years ago

Code for reproducing:

library(morpheus)
  x <- t(mtcars)
  columnAnnotations <- data.frame(annotation1=1:32, annotation2=sample(LETTERS[1:3], ncol(x),
                                                                       replace = TRUE))
  o = morpheus(x,
           colorScheme=list(scalingMode="relative", colors=heat.colors(3)),
           columnAnnotations=columnAnnotations,
           columns=list(list(field='id', display=list('text')), list(field='annotation2',
                                                                     highlightMatchingValues=TRUE, display=list('color'))))
  htmlwidgets::saveWidget(o,file = "heatmap.html", selfcontained = T)

Error:

File heatmap_files/morpheus-css-0.0.0\fonts/glyphicons-halflings-regular.eot not found in resource path
Error: pandoc document conversion failed with error 99
In addition: Warning message:
running command 'C:/PROGRA~2/Pandoc/pandoc +RTS -K512m -RTS C:\Users\Sili\Documents\Github\Abib.go\heatmap.html --from markdown --output C:\Users\Sili\Documents\Github\Abib.go\heatmap.html --self-contained --template C:\Users\Sili\AppData\Local\Temp\RtmpMVSgfk\file2618260a1d48.html' had status 99 
davidvilanova commented 5 years ago

I have the same problem. Any fixed to this ?

john-james-ai commented 5 years ago

Same here. Pandoc not able to find figures on its resource path.

rlusch commented 5 years ago

I am also having this issue.

ahsan-iftikhar commented 5 years ago

I am also having this same issue although the path to the file is correct. I am using RStudio installed on a Fedora 29 system.

niu9146 commented 4 years ago

run the code in R script (not in RStudio) .

shmyshmy commented 4 years ago

I have the same error, it is not able to find the image in the folder, funny thing it worked fine a couple of months ago. Any ideas?

capitantyler commented 4 years ago

I have the same error with this code `library(profvis) library(htmlwidgets)

prof <- profvis({ data(diamonds, package = "ggplot2")

plot(price ~ carat, data = diamonds) m <- lm(price ~ carat, data = diamonds) abline(m, col = "red") })

saveWidget( prof, "obtiene_interes.html", selfcontained = TRUE, title = "profile obtiene_interes.R" )`

SaltyDalty0 commented 3 years ago

I ran into the same issue with this simple code:

'<

library(emdbook)

curve3d(((.25*pi)*exp(-.5*(x^2+y^2)) + (1/8*pi)*exp(-.25*((x-3)^2+(y-3)^2))), xlim=c(-10,10), ylim=c(-10,10), n=c(100,100),  sys3d="persp") 

'>

AnotherDataGuy commented 3 years ago

I am having the same issue when creating a column containing html:

df %>% mutate( Thumbnail = ifelse(!is.na(df$Thumbnail), paste0('

', ' Image source: ', "
", paste0(ThumbnailSource), "
")