Hi Rasmus, thank you I will see if this is something I can do without IT admin
access.
In the mean time I have reloaded rmarkdown. To local
package ?rmarkdown? successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\A436798\AppData\Local\Temp\RtmpYjSy7G\downloaded_packages
library(rmarkdown)
But R is still looking for it in : " Could not fetch
http://?/UNC/winp-oaf-113/FldrRedir_1$/A436798/Data/R/R-4.0.0patched/library/rmarkdown/rmd/h/default.html"
More recently I have installed other pkgs for the first time use and they have
gone to local like above for rmarkdown and I have used functions from them so
they are being searched for correctly I guess?
Very confusing.
Thank you for your response Sir!
WHP
"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\RtmpglP9GJ\rmarkdown-str314c55414a00.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"
output file: Member-Geo-Location-Test-V1.knit.md
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
-----Original Message-----
From: Rasmus Liland <jral at posteo.no>
Sent: Wednesday, May 13, 2020 2:10 PM
To: Poling, William <PolingW at aetna.com>
Cc: r-help at r-project.org
Subject: [EXTERNAL] Re: [R] Help with R-Markdown please
**** External Email - Use Caution ****
On 2020-05-13 18:46 +0000, Poling, William via R-help
wrote:> Hello all.
>
> I am still struggling with this issue.
>
> It appears that new installations are going to local drive.
>
> # #Test 05/13/2020
> # install.packages("abjutils")
> # package ?abjutils? successfully unpacked and MD5 sums checked # #
> The downloaded binary packages are in #
> C:\Users\A436798\AppData\Local\Temp\RtmpCuXNJn\downloaded_packages
>
> However, when I run .libPaths() it
> indicates our UNC path
>
> [1]
"\\\\winp-oaf-113/FldrRedir_1$/A436798/Data/R/R-4.0.0patched/library"
>
> Is there a way for me to change this myself in my instance of R?
Dear William,
Perhaps you could try to set the variable R_LIBS_USER to some local folder. I
do not know how to do this on Windows, but there seems to be some guys in this
rstudio discussion thread that came to some sort of a
conclusion:
https://urldefense.proofpoint.com/v2/url?u=https-3A__community.rstudio.com_t_help-2Dregarding-2Dpackage-2Dinstallation-2Drenviron-2Drprofile-2Dr-2Dlibs-2Dr-2Dlibs-2Dsite-2Dand-2Dr-2Dlibs-2Duser-2Doh-2Dmy_13888_8&d=DwIDaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=q_5fam9luSaeNgs-KOUZS-w-YAVaPzQdZgIlejBCDFA&s=NWDnltFH8cjC-pj6K08lWXC1FjfFcyY1mueSZnor9Ng&e=
Since long ago, I have had this line in my ~/.zshrc.local :)
[ -e /usr/bin/Rscript ] && R_LIBS_USER=`Rscript -e
'cat(Sys.getenv("R_LIBS_USER"))'`
Best,
Rasmus
NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you
have received this e-mail in error, please advise the sender by reply e-mail and
then delete this e-mail immediately.
This e-mail may also contain protected health information (PHI) with information
about sensitive medical conditions, including, but not limited to, treatment for
substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of
information may be protected by various federal and/or state laws which prohibit
any further disclosure without the express written consent of the person to whom
it pertains or as otherwise permitted by law. Any unauthorized further
disclosure may be considered a violation of federal and/or state law. A general
authorization for the release of medical or other information may NOT be
sufficient consent for release of this type of information.
Thank you. Aetna