Commit bf4a08b6 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update R environ

wait for reboot vm
parent 3377d659
......@@ -39,3 +39,13 @@ $oldpath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentC
$newPath = "$oldpath;C:\R\bin"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newPath
Remove-Item $outputR -Force
# configure LANG
$renv = C:\Users\vagrant\.Renviron
New-Item -Path $renv -ItemType File
Add-Content -Path $renv -Value "LC_COLLATE = \"French_France.1252\""
Add-Content -Path $renv -Value "LC_CTYPE = \"French_France.1252\""
Add-Content -Path $renv -Value "LC_MONETARY = \"French_France.1252\""
Add-Content -Path $renv -Value "LC_NUMERIC = \"French_France.1252\""
Add-Content -Path $renv -Value "LC_TIME = \"French_France.1252\""
......@@ -75,5 +75,6 @@
- name: Reboot after install
win_reboot:
reboot_timeout: 3600
post_reboot_delay: 1200
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment