microsoft / RTVS

R Tools for Visual Studio.
MIT License
391 stars 111 forks source link

use of rtools | publish | preview html errors out but works in rstudio #3641

Open myusrn opened 7 years ago

myusrn commented 7 years ago

Please briefly describe what you were doing that led to the issue, if applicable:

Use of rtools | publish | preview html errors out but works in rstudio. The error dialog and console output errors i see are in attached images.

Should be able to repro this unexpected result using https://github.com/myusrn/dsJhuC5W4P2 | StormDataAnalysis.Rmd .

Can view output i can get w/o errors using r interactive console entered command rmarkdown::render("StormDataAnalysis.Rmd") by looking at StormDataAnalysis.md in that repo.

Can view the output i can get w/o errors using rstudio | knit | knit to html [ | | publish | publish document | rpubs by visiting http://rpubs.com/myusrn/dsJhuC5W4P2 .

If you have any screenshots demonstrating the issue, please include them as well to help us diagnose it better. rtoolspublishpreviewhtmlerrdlg rtoolspublishpreviewhtmlerrmsg

Additional information:

OS Information Version: Microsoft Windows NT 10.0.15063.0

RTVS Information: Assembly: Microsoft.VisualStudio.R.Package, Version=1.1.30523.1233, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Active R URI: R 3.3.2: C:\Program Files\R\R-3.3.2

rkurkure commented 6 years ago

I am also facing same issue is there any solution for this?

MikhailArkhipov commented 6 years ago

Are you using 2015 or 2017?