[ 
https://issues.apache.org/jira/browse/ARROW-17224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573131#comment-17573131
 ] 

Jacob Wujciak-Jens commented on ARROW-17224:
--------------------------------------------

{quote} I just don't hope the link to the binaries is brittle or unreliable 
(you might want to check that too){quote}

Which link do you mean the RSPM link? 
("https://packagemanager.rstudio.com/all/__linux__/focal/latest";)? This is will 
always give you the newest version. If you want to pin a certain version you 
can check the RSPM docs on how to create a time stamped link. (But I would 
probably rather use [renv|https://rstudio.github.io/renv/index.html] or 
[conda-lock|https://anaconda.org/conda-forge/conda-lock] if you require a 
reproducible environment.)

{quote} I've also gotten it to work with the 'nightly' version hosted on 
Apache.  The compilation is much slower than the RStudio instructions{quote}

Yes while we have pre-compiled libarrow binaries and a script that detects 
which one matches you distro best, we still need to compile the actual R 
package which takes ~5 minutes. While RSPM (PPM soon :D) supplies package 
binaries that don't require any compilation. An important note in regards to 
the nightlies: these are 100% brittle as we only ever keep 14 versions/days 
around and delete everything else. So if you require reproducibility I would 
advise against using them.

I have talked to some conda-forge users and they all recommend using 
[mamba|https://github.com/mamba-org/mamba] when using conda-forge packages as 
it has a much faster solver. Something that might need to be added to the docs.

> [R][Doc] minor error in Linux installation documentation ('conda' option) for 
> R on CRAN
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-17224
>                 URL: https://issues.apache.org/jira/browse/ARROW-17224
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Documentation, R
>    Affects Versions: 8.0.1
>         Environment: Ubuntu 20.04
>            Reporter: Wayne Smith
>            Priority: Minor
>             Fix For: 8.0.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The documentation for the Linux installation for the r-arrow binary for R is 
> at:
>     https://cran.r-project.org/web/packages/arrow/vignettes/install.html
> The documentation indicates that the 'conda' installation syntax should be:
> {{}}
> {code:java}
> conda install -c conda-forge --strict-channel-priority r-arrow{code}
> {{}}
> I can't get that to work.  What works for me is:
> {code:java}
> conda config --set channel_priority strict
> conda install -c conda-forge r-arrow{code}
> I'm wondering if the syntax presented in the documentation is either 
> deprecated or incorrect.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to