r-windows / docs

Documentation for rtools40 and R for Windows
31 stars 10 forks source link

pacman workaround. #35

Closed Phylloxera closed 2 years ago

Phylloxera commented 2 years ago

Was attempting to install package XML from source using your workaround (R 4.1.2; R Studio 1.4.1717) Guessing from structure that pacman -S mingw-w64-{i686,x86_64}-libxml2 is not an R command (it also doesn't work). Was thinking it could be a powershell command, but that also didn't work. I guess I either need clarification on the pacman command or I need to back up to another root problem, or both... thoughts?

jeroen commented 2 years ago

You run it in the rtools40 shell, see: https://github.com/r-windows/docs/blob/master/rtools40.md#readme