search for: yutani

Displaying 16 results from an estimated 16 matches for "yutani".

Did you mean: yutang
2024 Apr 22
1
Is ALTREP "non-API"?
...n-API" just to show the possibility of future breaking changes. Whether you call it API or non-API, clever users will still accept the breaking changes on it if it's reasonable. For example, how about "experimental API" or "unstable API"? They sound better to me. Best, Yutani [1]: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Parsing-R-code-from-C 2024?4?22?(?) 16:37 Gabriel Becker <gabembecker at gmail.com>: > Hi Yutani, > > ALTREP is part of the official R api, as illustrated by the presence of > src/include/R_ext/Altrep.h. Everyth...
2023 Feb 27
1
Undocumented change of dirname("C:/") on R-devel on Windows
...ustWork = FALSE) == normalizePath('./a/b', mustWork = FALSE) but it became FALSE at some point in r-devel. I think 'a/b' and './a/b` should be treated as the same path. Does that make sense? Thanks! Regards, Yihui -- https://yihui.org On Thu, Feb 23, 2023 at 11:44 PM Hiroaki Yutani <yutani.ini at gmail.com> wrote: > I confirmed the revert fixed my failing test. Thanks! > > 2023?2?23?(?) 20:12 Hiroaki Yutani <yutani.ini at gmail.com>: > > > Thanks for the prompt response, I'll confirm it after the new R-devel > > binary is available. &g...
2024 Apr 22
2
Is ALTREP "non-API"?
Hi Yutani, ALTREP is part of the official R api, as illustrated by the presence of src/include/R_ext/Altrep.h. Everything declared in the header files in that directory is official API AFAIK (and I believe that is more definitive than the manuals). The documentation of ALTREP has lagged behind its implemen...
2023 Feb 24
1
Undocumented change of dirname("C:/") on R-devel on Windows
I confirmed the revert fixed my failing test. Thanks! 2023?2?23?(?) 20:12 Hiroaki Yutani <yutani.ini at gmail.com>: > Thanks for the prompt response, I'll confirm it after the new R-devel > binary is available. > Also, thanks for the detailed explanation. I agree with you in general. > > > "/" in "C:/" is a path separator or not, and whe...
2024 Apr 22
2
Is ALTREP "non-API"?
> On Apr 22, 2024, at 7:37 PM, Gabriel Becker <gabembecker at gmail.com> wrote: > > Hi Yutani, > > ALTREP is part of the official R api, as illustrated by the presence of > src/include/R_ext/Altrep.h. Everything declared in the header files in that > directory is official API AFAIK (and I believe that is more definitive than > the manuals). > That is not true at all - t...
2024 Apr 22
1
Is ALTREP "non-API"?
...n-API" is considered a violation of CRAN repository policy, which means CRAN will kick out the R package. I know many CRAN packages use ALTREP, but just being accepted by CRAN at the moment doesn't mean CRAN will keep accepting it. So, I want to clarify the current status of ALTREP. Best, Yutani 2024?4?22?(?) 10:17 <hcortina71 at gmail.com>: > Hello, I don't believe it is illegal, as ALTREP "implements an abstraction > underneath the C API". And is "compatible with all code which uses the > API". > > Please see slide deck by Gabriel Becker, w...
2023 Feb 23
1
Undocumented change of dirname("C:/") on R-devel on Windows
...ename of "C:/" should be "C:/". However, at the same time, I don't feel this is worth a breaking change, so I think we can preserve the current (R 4.2.2) behavior. [1]: https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#apply-the-current-directory Best, Yutani 2023?2?23?(?) 17:15 Tomas Kalibera <tomas.kalibera at gmail.com>: > > On 2/23/23 03:27, Hiroaki Yutani wrote: > > Hi, > > > > I found dirname() behaves differently on R-devel on Windows. Since I'm > not > > sure which behavior is right, let me ask here b...
2024 Apr 22
1
Is ALTREP "non-API"?
...C API - Generalizes whats underneath the API - Without changing how data are accessed - Compatible with all C code which uses the API - Compatible with R internals I hope this helps, Hernando -----Original Message----- From: R-devel <r-devel-bounces at r-project.org> On Behalf Of Hiroaki Yutani Sent: Sunday, April 21, 2024 8:48 PM To: r-devel <r-devel at r-project.org> Subject: [Rd] Is ALTREP "non-API"? Writing R Extension[1] defines "API" as: Entry points which are documented in this manual and declared in an installed header file. These can be used in dis...
2023 Feb 23
1
Undocumented change of dirname("C:/") on R-devel on Windows
On 2/23/23 03:27, Hiroaki Yutani wrote: > Hi, > > I found dirname() behaves differently on R-devel on Windows. Since I'm not > sure which behavior is right, let me ask here before filing this to R's > Bigzilla. > > On R 4.2.2., we get > > > dirname("C:/") > [1] "C:/...
2024 Apr 22
1
Is ALTREP "non-API"?
...;t have even a single mention of ALTREP, the term "ALTREP" itself or any entry points related to ALTREP. Does this mean, despite the widespread use of it on R packages including CRAN ones, ALTREP is not the API and accordingly using it in distributed packages is considered illegal? Best, Yutani [1]: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#The-R-API [[alternative HTML version deleted]]
2023 Feb 23
1
Undocumented change of dirname("C:/") on R-devel on Windows
...separator,' but I don't see how the root path is supposed to be treated based on this rule (, whether it's WIndows or UNIX-alike). What should we expect as the return value of dirname("C:/")? I feel the current behavior on R 4.2.2 is right, but I'd like to confirm. Best, Yutani [[alternative HTML version deleted]]
2024 Jun 09
1
clarifying and adjusting the C API for R
...Luke! I didn't expect such a clarification to happen this soon. This is really great. For convenience, I created a quick web page to search the result of tools:::funAPI(). https://yutannihilation.github.io/R-fun-API/ Hope this helps those who are too lazy to install R-devel to check. Best, Yutani 2024?6?6?(?) 23:47 luke-tierney--- via R-devel <r-devel at r-project.org>: > This is an update on some current work on the C API for use in R > extensions. > > The internal R implementation makes use of tens of thousands of C > entry points. On Linux and Windows, which suppor...
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
...ATAPTR is not in the API and can't be at least in this form I believe it's vital for ALTREP to return the pointer to the expanded version of a SEXP just like the implementation in base R does [1]. At least, VECSXP has no other measure to expose the pointer if I understand correctly. Best, Yutani [1]: https://github.com/r-devel/r-svn/blob/a3508b75d28164b0e5bcb2c87f816ce5169729a4/src/main/altclasses.c#L186 2024?6?9?(?) 10:43 luke-tierney--- via R-devel <r-devel at r-project.org>: > On Sat, 8 Jun 2024, Ben Bolker wrote: > > > The ASAN errors occur *even if the zero-leng...
2024 Apr 22
1
Is ALTREP "non-API"?
On Mon, Apr 22, 2024 at 5:14?PM Simon Urbanek <simon.urbanek at r-project.org> wrote: > > > > On Apr 22, 2024, at 7:37 PM, Gabriel Becker <gabembecker at gmail.com> > wrote: > > > > Hi Yutani, > > > > ALTREP is part of the official R api, as illustrated by the presence of > > src/include/R_ext/Altrep.h. Everything declared in the header files in > that > > directory is official API AFAIK (and I believe that is more definitive > than > > the manuals)....
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
On Sat, 8 Jun 2024, Ben Bolker wrote: > The ASAN errors occur *even if the zero-length object is not actually > accessed*/is used in a perfectly correct manner, i.e. it's perfectly legal in > base R to define `m <- numeric(0)` or `m <- matrix(nrow = 0, ncol = 0)`, > whereas doing the equivalent in Rcpp will (now) lead to an ASAN error. > > i.e., these are *not*
2024 Jun 06
4
clarifying and adjusting the C API for R
This is an update on some current work on the C API for use in R extensions. The internal R implementation makes use of tens of thousands of C entry points. On Linux and Windows, which support visibility restrictions, most of these are visible only within the R executble or shared library. About 1500 are not hidden and are visible to dynamically loaded shared libraries, such as ones in packages,