Closed ritviksahajpal closed 2 weeks ago
Also added to the sits library github page: https://github.com/e-sensing/sits/issues/905
xref https://github.com/microsoft/planetary-computer-containers/issues/36.
Last I looked, rtorch wasn't available in conda-forge. I see that https://github.com/conda-forge/r-torch-feedstock is available now, so perhaps that's unblocked.
I also see that r-sits includes it as a dependency on conda-forge now. I'll see if I can update https://github.com/Microsoft/planetary-computer-containers to include it.
Dear Tom and Ritvik
We use the R version of torch in MPC for our work without any problems. Please follow the installation procedures described in https://e-sensing.github.io/sitsbook/setup.html.
In any case, we suggest that you use an Ubuntu virtual machine. There are a number of limitation of Windows platforms for the R environment, most notably linked to parallelisation.
Please use an Ubuntu VM, install R and RStudio, and then install “sits” from CRAN in the usual way:
install.packages(“sits”, dependencies = TRUE).
This should install everything, including “torch”. After installation is finished, please run
torch::install_torch()
In case of problems, please contact us.
On 30 Jan 2023, at 09:24, Tom Augspurger @.***> wrote:
xref microsoft/planetary-computer-containers#36. Last I looked, rtorch wasn't available in conda-forge. I see that https://github.com/conda-forge/r-torch-feedstock is available now, so perhaps that's unblocked. I also see that r-sits includes it as a dependency on conda-forge now. I'll see if I can update https://github.com/Microsoft/planetary-computer-containers to include it. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
The hub is no longer available.
Describe the bug Thank you for a great service. I am reporting a bug related to an installation error for torch package on MSPC
To Reproduce install.packages("torch")
If reporting a change from previous versions
Please read https://cran.r-project.org/web/packages/sits/news/news.html first.
Additional context