[R] problems in knitting to html

Yihui Xie x|e @end|ng |rom y|hu|@n@me
Tue Apr 20 18:08:38 CEST 2021


Could you provide a minimal reproducible example along with your
xfun::session_info('rmarkdown')? Thanks!

Regards,
Yihui
--
https://yihui.org

On Tue, Apr 20, 2021 at 11:06 AM Troels Ring <tring using gvdnet.dk> wrote:
>
> Dear friends - newly installed windows 10 and R version 4.0.5
> (2021-03-31) -- "Shake and Throw" and newest version of RStudio I tend
> to get an error when knitting to html.
>
> The message I get is ("applications-of-charge-balance-160421.rmd" is my
> file name)
>
> /output file: applications-of-charge-balance-160421.knit.md//
> /
>
> /then (in my translated Danish) //
> /
>
> /Error in file(con,   "w") : cannot open connection/
>
> /call: <Anonymous> ... extract_preserve_chunks -> write_utf8 ->
> writeLines -> file//
> /
>
> /In file(con, "w") ://
> //  cannot open file 'applications-of-charge-balance-160421.utf8.md':
> Invalid argument//
> //run aborted/
>
> But when I then simply try again it works well with no troubles.
>
> I wonder what error I have done?
>
> All best wishes
>
> Troels Ring,
> Aalborg, Denmark
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list