Displaying 1 result from an estimated 1 matches for "linkhtml".
Did you mean:
link_html
2005 Mar 02
1
Error on Windows installing package to non-default library
...os=NULL, lib=badLib)
package 'abind' successfully unpacked and MD5 sums checked
updating HTML package descriptions
Error in gsub("^URL: ../../../library", lib0, readLines(cfile)) :
invalid backreference 2 in regular expression
After looking at src/library/utils/R/windows/linkhtml.R, it seems the
error is that the "\\2" part of the path is interpreted by gsub as a
back reference.
Changing "\\" to "/" in the library path fixes this issue:
> okLib = chartr("\\", "/", badLib)
> z = .libPaths(okLib)
> z
[1] "...