Skip to content

Commit 32b2512

Browse files
committed
Update setup.Rmd
1 parent 183ddb2 commit 32b2512

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

r/vignettes/developers/setup.Rmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ _Special instructions on Linux:_ You will need to set `LD_LIBRARY_PATH` to the `
100100

101101
```{bash, save=run & ubuntu & !sys_install}
102102
export LD_LIBRARY_PATH=$ARROW_HOME/lib:$LD_LIBRARY_PATH
103+
export R_LD_LIBRARY_PATH=$ARROW_HOME/lib:$R_LD_LIBRARY_PATH
103104
echo "export LD_LIBRARY_PATH=$ARROW_HOME/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile
105+
echo "export R_LD_LIBRARY_PATH=$ARROW_HOME/lib:$R_LD_LIBRARY_PATH" >> ~/.bash_profile
104106
```
105107

106108
Start by navigating in a terminal to the arrow repository. You will need to create a directory into which the C++ build will put its contents. We recommend that you make a `build` directory inside of the `cpp` directory of the Arrow git repository (it is git-ignored, so you won't accidentally check it in). Next, change directories to be inside `cpp/build`:
@@ -354,10 +356,6 @@ sudo apt install -y -V libarrow-dev
354356
MAKEFLAGS="LDFLAGS=" R CMD INSTALL .
355357
```
356358

357-
```{bash, save=run & !sys_install & ubuntu}
358-
R_LD_LIBRARY_PATH=$ARROW_HOME/lib:$R_LD_LIBRARY_PATH R CMD INSTALL .
359-
```
360-
361359
## `rpath` issues
362360

363361
If the package fails to install/load with an error like this:

0 commit comments

Comments
 (0)