Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paws Linux Binaries #648

Closed
DyfanJones opened this issue Jul 20, 2023 · 0 comments · Fixed by #649
Closed

Paws Linux Binaries #648

DyfanJones opened this issue Jul 20, 2023 · 0 comments · Fixed by #649
Assignees
Labels
enhancement 💡 New feature or request

Comments

@DyfanJones
Copy link
Member

When working on linux paws seems to take a long time to install.

Source:
Time difference of 16.62202 mins

We have 2 options:

  1. 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"]
  1. 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.

@DyfanJones DyfanJones self-assigned this Jul 20, 2023
@DyfanJones DyfanJones added the enhancement 💡 New feature or request label Jul 20, 2023
@DyfanJones DyfanJones linked a pull request Jul 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💡 New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant