[R] Help with R-Markdown please

Ege Rubak rub@k @end|ng |rom m@th@@@u@dk
Tue May 12 14:42:48 CEST 2020


Looks like your files are on a Windows network drive (UNC path). I have
experienced many problems with this on a Windows laptop from work. If
at all possible you should avoid this. As an absolute minimum make sure
your R library (collection of installed packages) is on the local file
system and not a UNC path. If you are lucky this could be enough to
make things work.

You can check your library location(s) with the command .libPaths() in
an R session.

Good luck.

Ege

On Tue, 2020-05-12 at 10:15 +0000, Poling, William via R-help wrote:
> #UPDATED 05/05/2020
> #RStudio Version Version 1.2.1335 need this one--> 1.2.5019
> sessionInfo() 
> # R version 4.0.0 Patched (2020-05-03 r78349)
> #Platform: x86_64-w64-mingw32/x64 (64-bit)
> #Running under: Windows 10 x64 (build 17763)
> 
> Good morning.
> 
> This is the first time I have tried RMarkdown on new laptop with new
> employer.
> I am not sure how to go about fixing this problem below?
> 
> Would someone please advise course of action.
> 
> Thank you.
> 
> WHP 
> 
> 
> 
> processing file: Member-Geo-Location-Test-V1.Rmd
>  
> |..........                                                          
>   |  14%
>   ordinary text without R code
> 
>  
> |....................                                                
>   |  29%
> label: unnamed-chunk-1 (with options) 
> List of 1
>  $ echo: logi FALSE
> 
>  
> |..............................                                      
>   |  43%
>   ordinary text without R code
> 
>  
> |........................................                            
>   |  57%
> label: setup (with options) 
> List of 2
>  $ include: logi FALSE
>  $ warning: logi FALSE
> 
>  
> |..................................................                  
>   |  71%
>   ordinary text without R code
> 
>  
> |............................................................        
>   |  86%
> label: Table1 (with options) 
> List of 2
>  $ echo   : logi FALSE
>  $ results: chr "asis"
> 
>  
> |....................................................................
> ..| 100%
>    inline R code fragments
> 
> 
> output file: Member-Geo-Location-Test-V1.knit.md
> 
> "C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Member-
> Geo-Location-Test-V1.utf8.md --to html4 --from
> markdown+autolink_bare_uris+tex_math_single_backslash+smart --output
> Member-Geo-Location-Test-V1.html --email-obfuscation none --self-
> contained --standalone --section-divs --template "\\winp-oaf-
> 113\FldrRedir_1$\A436798\Data\R\R-
> 4.0.0patched\library\rmarkdown\rmd\h\default.html" --no-highlight --
> variable highlightjs=1 --variable "theme:bootstrap" --include-in-
> header "C:\Users\A436798\AppData\Local\Temp\RtmpSajZla\rmarkdown-
> str2ae846253313.html" --mathjax --variable "mathjax-url:
> https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
> " --lua-filter "\\winp-oaf-113/FldrRedir_1$/A436798/Data/R/R-
> 4.0.0patched/library/rmarkdown/rmd/lua/pagebreak.lua" --lua-filter
> "\\winp-oaf-113/FldrRedir_1$/A436798/Data/R/R-
> 4.0.0patched/library/rmarkdown/rmd/lua/latex-div.lua" 
> Could not fetch http://?/UNC/winp-oaf-
> 113/FldrRedir_1$/A436798/Data/R/R-
> 4.0.0patched/library/rmarkdown/rmd/h/default.html
> HttpExceptionRequest Request {
>   host                 = ""
>   port                 = 80
>   secure               = False
>   requestHeaders       = []
>   path                 = "/"
>   queryString          = "?/UNC/winp-oaf-
> 113/FldrRedir_1$/A436798/Data/R/R-
> 4.0.0patched/library/rmarkdown/rmd/h/default.html"
>   method               = "GET"
>   proxy                = Nothing
>   rawBody              = False
>   redirectCount        = 10
>   responseTimeout      = ResponseTimeoutDefault
>   requestVersion       = HTTP/1.1
> }
>  (InvalidDestinationHost "")
> Error: pandoc document conversion failed with error 61
> Execution halted
> 
> WHP
> 
> 
> Proprietary
> 
> NOTICE TO RECIPIENT OF INFORMATION:\ This e-mail may
> con...{{dropped:16}}
> 
> ______________________________________________
> 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.
-- 
Ege Rubak, Associate Professor,
Department of Mathematical Sciences, Aalborg University
Skjernvej 4A, 9220 Aalborg East, Denmark
Phone: (+45)99408861
Mobile: (+45)30230252
Email: rubak using math.aau.dk


More information about the R-help mailing list