Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion R/install-dev.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ set SPARK_HOME=%~dp0..

MKDIR %SPARK_HOME%\R\lib

R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" %SPARK_HOME%\R\pkg\
rem When you pass the package path directly as an argument to R CMD INSTALL,
rem it takes the path as 'C:\projects\spark\R\..\R\pkg"' as an example at
rem R 4.0. To work around this, directly go to the directoy and install it.
rem See also SPARK-32074
pushd %SPARK_HOME%\R\pkg\
R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" .
popd

rem Zip the SparkR package so that it can be distributed to worker nodes on YARN
pushd %SPARK_HOME%\R\lib
Expand Down
4 changes: 2 additions & 2 deletions dev/appveyor-install-dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ $env:Path += ";$env:HADOOP_HOME\bin"
Pop-Location

# ========================== R
$rVer = "3.6.2"
$rToolsVer = "4.0.0"
$rVer = "4.0.2"
$rToolsVer = "4.0.2"

InstallR
InstallRtools
Expand Down