[ESS] render into word_document, overwriting existing file
Hüsing, Johannes
Joh@nne@@Hue@|ng @end|ng |rom kreb@reg|@ter@nrw@de
Fri Oct 18 16:24:20 CEST 2024
Thanks for checking.
I am getting the following reaction:
> rmarkdown::render("u:/R/wurschtel/overwrite.Rmd")
processing file: overwrite.Rmd
1/2
2/2 [unnamed-chunk-1]
output file: overwrite.knit.md
"C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/tools/pandoc" +RTS -K512m -RTS overwrite.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output overwrite.docx --lua-filter "C:\Users\jhuesing\AppData\Local\R\win-library\4.3\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style tango
Output created: overwrite.docx
### I edit the document and re-render it
> rmarkdown::render("u:/R/wurschtel/overwrite.Rmd")
processing file: overwrite.Rmd
1/2
2/2 [unnamed-chunk-1]
output file: overwrite.knit.md
"C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/tools/pandoc" +RTS -K512m -RTS overwrite.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output overwrite.docx --lua-filter "C:\Users\jhuesing\AppData\Local\R\win-library\4.3\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style tango
pandoc.exe: overwrite.docx: withBinaryFile: permission denied (Permission denied)
Error: pandoc document conversion failed with error 1
>
Note that the rendered output is not formatted in a table, instead all values in a single column:
Here’s a table
A
B
c
0.2324371
0.8154899
0.2349193
0.5720512
-1.2034408
1.9160205
-1.5431504
-1.0144870
2.0656989
0.9873043
-0.4589923
-1.6725520
-1.4139548
-0.9191561
-0.3762419
0.8564714
-0.2095437
-1.3855111
1.0269104
1.3953234
0.0575684
1.6567231
1.2196799
-0.1213293
-1.3993003
-0.3573008
-0.9249994
0.3284130
0.2893624
0.4209140
> R.Version()
$platform
[1] "x86_64-w64-mingw32"
$arch
[1] "x86_64"
$os
[1] "mingw32"
$crt
[1] "ucrt"
$system
[1] "x86_64, mingw32"
$status
[1] ""
$major
[1] "4"
$minor
[1] "3.1"
$year
[1] "2023"
$month
[1] "06"
$day
[1] "16"
$`svn rev`
[1] "84548"
$language
[1] "R"
$version.string
[1] "R version 4.3.1 (2023-06-16 ucrt)"
$nickname
[1] "Beagle Scouts"
> packageVersion("rmarkdown")
Error: unexpected '>' in ">"
> Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '$' in "$"
> Error: unexpected '[' in "["
> > Error: unexpected '>' in ">"
Dr. Johannes Hüsing
Epidemiologie
Landeskrebsregister NRW gGmbH
Gesundheitscampus 10
44801 Bochum
T 0234 54509-216
F 0234 54509-499
Johannes.Huesing using krebsregister.nrw.de
www.landeskrebsregister.nrw.de
Newsletter LKR NRW jetzt anmelden unter Newsletter <www.landeskrebsregister.nrw/aktuelles/newsletter>
Geschäftsführer
Dr. Andres Schützendübel
Vorsitzender der Gesellschafterversammlung
Staatssekretär Dr. Edmund Heller
Sitz der Gesellschaft
Bochum
Registergericht
Amtsgericht Bochum
HRB 17715
HINWEIS: Diese Nachricht ist nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie irrtümlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
More information about the ESS-help
mailing list