Paws Linux Binaries
Closed this issue · 0 comments
DyfanJones commented
When working on linux paws
seems to take a long time to install.
Source:
Time difference of 16.62202 mins
We have 2 options:
- Push people to user to r2u when working on linux, for example:
FROM rocker/r2u:jammy
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev
RUN Rscript -e "install.packages('paws')"
CMD ["R"]
- Provide linux binaries to help improve installation. This will be in a similar vain to R torch.
install.packages('paws',
repos = c(paws = "https://paws-r-builds.s3.amazonaws.com/packages/0.3.0/", CRAN = 'https://cloud.r-project.org')
)
Binaries:
Time difference of 21.74674 secs
FROM rocker/r-base
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev
RUN Rscript -e "install.packages('paws', repos = c(paws = 'https://paws-r-builds.s3.amazonaws.com/packages/0.3.0/', CRAN = 'https://cloud.r-project.org'))"
CMD ["R"]
When working on cloud services like AWS Sagemaker option 2 would be more beneficial.