Trying to use the torch library, but the following error shows up:
library(torch)
trying URL 'https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.9.0%2Bcpu.zip'
Content type 'application/zip' length 203602338 bytes (194.2 MB)
downloaded 194.2 MB
trying URL 'https://storage.googleapis.com/torch-lantern-builds/refs/heads/cran/v0.6.0/latest/Windows-cpu.zip'
Content type 'application/zip' length 1726568 bytes (1.6 MB)
downloaded 1.6 MB
Warning message:
Failed to install Torch, manually run install_torch().
C:\Users...\Documents\R\win-library\4.1\torch\deps\lantern.dll - %1 is not a valid Win32 application.