Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rmd not rendering on Windows with latest Preview build #3551

Closed
lgaborini opened this issue Sep 27, 2018 · 4 comments
Closed

Rmd not rendering on Windows with latest Preview build #3551

lgaborini opened this issue Sep 27, 2018 · 4 comments

Comments

@lgaborini
Copy link

@lgaborini lgaborini commented Sep 27, 2018

System details

Rstudio 1.2.1009 build 1039 (e9babcc)
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Steps to reproduce the problem

Rstudio does not knit/render any .Rmd, even the default template.

When the Knit button is pressed, it inserts a blank character in the path (just after the .Rmd) and fails.
However, the knitting works if called from the console.

==> rmarkdown::render('C:/Users/Lorenzo/test_rmd.Rmd',  encoding = '');
Error: unexpected end of input
Execution halted

See the screenshot:

image

Rstudio Preview 1.2.907 was not affected.

sessionInfo() output:

Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Italian_Italy.1252  LC_CTYPE=Italian_Italy.1252   
[3] LC_MONETARY=Italian_Italy.1252 LC_NUMERIC=C                  
[5] LC_TIME=Italian_Italy.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_3.5.1  backports_1.1.2 magrittr_1.5    rsconnect_0.8.8 rprojroot_1.3-2
 [6] htmltools_0.3.6 tools_3.5.1     yaml_2.2.0      Rcpp_0.12.18    stringi_1.2.4  
[11] rmarkdown_1.10  knitr_1.20      stringr_1.3.1   digest_0.6.17   evaluate_0.11
@ronblum ronblum added this to the v1.2-preview milestone Sep 27, 2018
@ronblum
Copy link
Contributor

@ronblum ronblum commented Sep 27, 2018

@lgaborini Thank you for reporting this. I'm able to reproduce this on Windows 10 and we will take a look at this issue.

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Sep 27, 2018

This should be resolved in the latest daily builds of RStudio. (This is another manifestation of #3548)

@jmcphers
Copy link
Member

@jmcphers jmcphers commented Sep 27, 2018

I've updated the preview release to 1.2.1013-1, which should have a fix for this issue. @lgaborini please re-open if you find it isn't fixed for you!

@dfalty
Copy link

@dfalty dfalty commented Nov 6, 2018

Verified fixed on version 1.2.1090.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants