Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
6fe63e44
Commit
6fe63e44
authored
Nov 06, 2020
by
Jean-Francois Rey
☕
Browse files
install miktex first due to space disk limit
parent
ec0df042
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Vagrantfile
View file @
6fe63e44
...
...
@@ -15,7 +15,7 @@ Vagrant.configure("2") do |config|
vb
.
gui
=
false
vb
.
name
=
"windows10R4"
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
4096
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
4
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
3
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--vram"
,
128
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--graphicscontroller"
,
"vboxsvga"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--clipboard"
,
"bidirectional"
]
...
...
ansible_provisioning/files/install-pandoc.ps1
View file @
6fe63e44
...
...
@@ -28,3 +28,4 @@ else
$oldpath
=
(
Get-ItemProperty
-Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment'
-Name
PATH
)
.
path
$newPath
=
"
$oldpath
;C:\pandoc\pandoc-2.10.1\\"
Set-ItemProperty
-Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment'
-Name
PATH
-Value
$newPath
Remove-Item
$output
-Force
ansible_provisioning/files/install-r.ps1
View file @
6fe63e44
...
...
@@ -38,3 +38,4 @@ else {
$oldpath
=
(
Get-ItemProperty
-Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment'
-Name
PATH
)
.
path
$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
ansible_provisioning/files/install-rtools.ps1
View file @
6fe63e44
...
...
@@ -30,3 +30,4 @@ $newPath = "$oldpath;C:\Rtools\usr\bin"
Set-ItemProperty
-Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment'
-Name
PATH
-Value
$newPath
[
System.Environment
]::
SetEnvironmentVariable
(
'MSYS2_PATH_TYPE'
,
'inherit'
,
[
System.EnvironmentVariableTarget
]::
Machine
)
Add-Content
C:\Rtools\msys2.ini
"MSYS2_PATH_TYPE=inherit"
Remove-Item
$outputRtools
-Force
ansible_provisioning/playbook.yml
View file @
6fe63e44
...
...
@@ -9,6 +9,13 @@
# category_names:
# - SecurityUpdates
# reboot: yes
-
name
:
copy MiKTeX install script
win_copy
:
src
:
./files/install-miktex.ps1
dest
:
'
C:\Windows\Temp\'
remote_src
:
no
-
name
:
Install MiKTeX
win_command
:
powershell.exe -File C:\Windows\Temp\install-miktex.ps1
-
name
:
copy R script
win_copy
:
src
:
./files/install-r.ps1
...
...
@@ -56,13 +63,6 @@
remote_src
:
no
-
name
:
Install GitLab Runner
win_command
:
powershell.exe -File C:\Windows\Temp\install-gitlab-runner.ps1
-
name
:
copy MiKTeX install script
win_copy
:
src
:
./files/install-miktex.ps1
dest
:
'
C:\Windows\Temp\'
remote_src
:
no
-
name
:
Install MiKTeX
win_command
:
powershell.exe -File C:\Windows\Temp\install-miktex.ps1
-
name
:
copy pandoc install script
win_copy
:
src
:
./files/install-pandoc.ps1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment