torch
Tensors and Neural Networks with 'GPU' Acceleration
Description
Provides functionality to define and train neural networks similar to 'PyTorch' by Paszke et al (2019) <doi:10.48550/arXiv.1912.01703> but written entirely in R using the 'libtorch' library. Also supports low-level tensor operations and 'GPU' acceleration.
Downloads
12.7K
Last 30 days
1113th
37.9K
Last 90 days
165.5K
Last year
Trend: -1.4% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | WARNING |
| r-devel-linux-x86_64-debian-gcc | WARNING |
| r-devel-linux-x86_64-fedora-clang | WARNING |
| r-devel-linux-x86_64-fedora-gcc | WARNING |
| r-devel-macos-arm64 | WARNING |
| r-devel-windows-x86_64 | WARNING |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | WARNING |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (10 non-OK)
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API calls to R: ‘R_UnboundValue’, ‘Rf_findVarInFrame’ This entry point may be removed soon: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API calls to R: ‘R_UnboundValue’, ‘Rf_findVarInFrame’ This entry point may be removed soon: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API calls to R: ‘R_UnboundValue’, ‘Rf_findVarInFrame’ This entry point may be removed soon: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API calls to R: ‘R_UnboundValue’, ‘Rf_findVarInFrame’ This entry point may be removed soon: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API call to R: ‘Rf_findVarInFrame’ This entry point may be removed soon. Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File 'torch/libs/x64/torchpkg.dll': Found non-API calls to R: 'R_UnboundValue', 'Rf_findVarInFrame' This entry point may be removed soon: 'Rf_findVarInFrame' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points.
installed package size
installed size is 117.0Mb
sub-directories of 1Mb or more:
R 6.2Mb
help 1.7Mb
include 1.9Mb
libs 106.9Mb
installed package size
installed size is 107.3Mb
sub-directories of 1Mb or more:
R 6.1Mb
help 2.3Mb
include 1.9Mb
libs 96.7Mb
installed package size
installed size is 19.2Mb
sub-directories of 1Mb or more:
R 5.9Mb
help 1.8Mb
include 1.9Mb
libs 9.3Mb
compiled code
File ‘torch/libs/torchpkg.so’:
Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’,
‘Rf_findVarInFrame’
This entry point may be removed soon:
‘Rf_findVarInFrame’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Additional Issues
Check History
WARNING 6 OK · 7 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API call to R: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API call to R: ‘Rf_findVarInFrame’ This entry point may be removed soon. Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API call to R: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘torch/libs/torchpkg.so’: Found non-API call to R: ‘Rf_findVarInFrame’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File 'torch/libs/x64/torchpkg.dll': Found non-API call to R: 'Rf_findVarInFrame' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points.
installed package size
installed size is 117.0Mb
sub-directories of 1Mb or more:
R 6.2Mb
help 1.7Mb
include 1.9Mb
libs 106.9Mb
installed package size
installed size is 107.3Mb
sub-directories of 1Mb or more:
R 6.1Mb
help 2.3Mb
include 1.9Mb
libs 96.7Mb
installed package size
installed size is 19.2Mb
sub-directories of 1Mb or more:
R 5.9Mb
help 1.8Mb
include 1.9Mb
libs 9.3Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 117.0Mb
sub-directories of 1Mb or more:
R 6.2Mb
help 1.7Mb
include 1.9Mb
libs 106.9Mb
installed package size
installed size is 107.3Mb
sub-directories of 1Mb or more:
R 6.1Mb
help 2.3Mb
include 1.9Mb
libs 96.7Mb
installed package size
installed size is 19.2Mb
sub-directories of 1Mb or more:
R 5.9Mb
help 1.8Mb
include 1.9Mb
libs 9.3Mb