Daniel Falbel
Daniel Falbel
Cool! I'll submit a new version to CRAN soon.
The approach sounds reasonable, my questions are: - Can a CRAN package take a dependency on a Bioc package? - Can we pre-determine the size of the shared object, so...
AFAICT PyTorch uses similar ideas, eg: https://pytorch.org/docs/stable/generated/torch.Tensor.share_memory_.html And is able to fully avoid memory copies.
I was looking at Pytorch source code to make use of `share_memory_()`. Once you call `at::share_memory_` on a Tensor, you should be able to obtain a handle and size for...
We currently look for the `row.names` attribute when querying info for the data explorer: https://github.com/posit-dev/ark/blob/75de9287cbfc6fd53e2bf7189cb5f0b7d743fcc3/crates/ark/src/data_explorer/r_data_explorer.rs#L1035-L1052 We could special case it to use `index` when dealing with `xts`/`zoo` objects. To add...
That sounds reasonable to me! I think adding support for dimnames should be straigthforward by making sure we also check for dimnames in: https://github.com/posit-dev/ark/blob/334d8c93fe2456749e48e483caa7283123c23d6d/crates/ark/src/data_explorer/r_data_explorer.rs#L1006
@ZhimingYe I opened a new issue https://github.com/posit-dev/positron/issues/6287 to separate from the original XTS support request.
Will be fixed in #155
Can you provide the link that is failing? I don't think `torch-cdn.mlverse.org` has anything in it's root that can be accessed, so it's possible that we're actually generating the wrong...
There's definitely something wronmg with the URL: Should be: https://torch-cdn.mlverse.org/binaries/refs/heads/cran/v0.14.2/latest/lantern-0.14.2%2Bcpu+arm64-Darwin.zip But it has `cran/v0.14.0` in the path Is this the CRAN version of torch?