similar to: Proposal: C API documentation - API index by category

Displaying 20 results from an estimated 8000 matches similar to: "Proposal: C API documentation - API index by category"

2024 Jul 30
1
C API - no NULL pointer guarantee?
Erez, I think the API is very explicit about this, NULL is not an accepted input for any function taking SEXP by design. The special case of try*Eval() return values can be taken as a case where the resulting object is not actually SEXP but rather a special type which can be NULL (=failure) or SEXP. It may be even perhaps useful to declare it as a separate type to make this clearer, but I
2024 Jul 30
1
C API - no NULL pointer guarantee?
Thank you Ivan, At this point, without it being documented explicitly, I tend to lean on the safe side. If the non-null assumption is ever incorrect, on debug and safe builds unwrapping is an assert that will guarantee to crash R. While the source code has plenty of NULL checks, also for some SEXP, it's hard to tell just from grepping if any are related to the public API or not. Secondly
2004 Jul 27
1
library manual: documentation of funcs not alphabetically ordered
Hello everybody I'm putting finishing touches to a library, and have noticed that the .dvi file that R CMD check creates does not sort the functions in alphabetical order. I find this odd because I used the "tidy" routines in section 3.1 of the R-exts manual, which produce R code in which the functions are alphabetically ordered (and I performed R CMD check using the
2024 Jul 29
1
C API - no NULL pointer guarantee?
? Sat, 27 Jul 2024 14:36:20 +0300 "Erez Shomron" <r-mails at erezsh.org> ?????: > I'm working on bindings for the API (for zig), and was wondering if > the R's C API guarantees it won't return null pointers? The only > reference I found in the "Writing R Extensions" manual where this not > the case is `R_tryEval` and `R_tryEvalSilent`. Based on
2024 Jul 05
1
Bug? plot.formula does need support plot.first / plot.last param in plot.default
That definitely looks like a bug, but not one that anyone will be eager to fix. It's very old code that tried to be clever, and that's the hardest kind of code to fix. Remember Kernighan's Law: "Everyone knows that debugging is twice as hard as writing a program in the first place. So if you?re as clever as you can be when you write it, how will you ever debug it?"
2024 Jul 06
1
Bug? plot.formula does need support plot.first / plot.last param in plot.default
? Fri, 05 Jul 2024 14:35:40 +0300 "Erez Shomron" <r-mails at erezsh.org> ?????: > This works as expected: > with(mtcars, plot(wt, mpg, plot.first = { > plot.window(range(wt), range(mpg)) > arrows(3, 15, 4, 30) > })) I think you meant panel.first, not plot.first. At least I cannot find any mention of plot.first in the R source code. In this example,
2013 Aug 08
6
[Bug 10074] New: rsync reorders --from-files alphabetically
https://bugzilla.samba.org/show_bug.cgi?id=10074 Summary: rsync reorders --from-files alphabetically Product: rsync Version: 3.0.6 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: nicholas.man at
2024 Jul 27
1
C API - no NULL pointer guarantee?
Hello, I'm working on bindings for the API (for zig), and was wondering if the R's C API guarantees it won't return null pointers? The only reference I found in the "Writing R Extensions" manual where this not the case is `R_tryEval` and `R_tryEvalSilent`. Otherwise it's unclear. The reason I care about this is syntax. Because I don't know whether SEXPs are NULL or
2011 Apr 14
1
PSE5 actions in effects folder loosing alphabetical sort
Distro: Archlinux 2.6.38 Wine version: 1.3.17 (The system is fully updated) Code: Affected folder: ~/.wine/drive_c/users/Public/Application Data/Adobe/Photoshop Elements/5.0/Photo Creations/special effects/photo effects/CoffeShop Actions Code: Unaffected folders: ~/.wine/drive_c/users/Public/Application Data/Adobe/Photoshop Elements/5.0/Photo Creations/special effects/photo
2012 Dec 10
1
Long equation in documentation
I have a long equation that I need to break in the R documentation of a package or it trails off the right hand side of the page. Here's the formula: \deqn{Cov(r_{ist}, r_{iuv})= [.5\rho_{ist}\rho_{iuv}(\rho_{isu}^2 + \rho_{isv}^2 + \rho_{itu}^2 + \rho_{itv}^2) + \rho_{isu}\rho_{itv}+ \rho_{isv}\rho_{itu}-(\rho_{ist}\rho_{isu}\rho_{isv} + \rho_{its}\rho_{itu}\rho_{itv}) +
2003 May 17
1
problem building dvi and pdf documentation on Darwin 10.2.6
I just installed R-1.7.0 on Darwin 6.6 (a.k.a. MacOS 10.2.6). 'make' and 'make check' run without any problems. 'make info' builds with no complaints, but 'make dvi' and 'make pdf' fail. I get refman.dvi and refman.pdf OK (with some warnings from pdftex that some names are referenced that do not exist), but R-FAQ.{dvi,pdf} fails as shown below. Attempts
2014 Jul 11
2
grouping list of objects in the help system
Dear list, I've noticed for some packages the Index file in the help system has a single list of objects (arranged alphabetically), while for other packages this list is offered separately by letters... presumably when the number of help objects is high. Is there a way to manually split the help objects into categories? For example, I would like to have an alphabetic order for the group
2010 Aug 02
1
lm length
Hi all, I wanto to run a plot about the levels of a variable parting on an ols regression. The regression in done on the rate of return of the variable. Imagine R_{t}=a+b*R_{t-1} So If P, the "estimated" price would be P_{t}=P_{t-1}*R_{t} Imagine that I obtain lm fitted values and the original R_{t}, R_{t-1} are [1000,1] dimmension... How it is posible to obtain also 1000,1 fitted
2007 Feb 03
0
Symlink to directories seem recursively for Microsoft Workgroup Add-On for MS-DOS clients
I use Samba 3.0.23d at FreeBSD 4.11-RELEASE-p25 as PDC and sometimes Microsoft Workgroup Add-On for MS-DOS and Mail as client. At FreeBSD box I have directory /common/install/postgreSQL and symlink to it: /usr/export/XP/i386/\$oem\$/install/postgreSQL -> /common/install/postgreSQL The path /usr/export/XP shared for MS Network as XP and mount via net use X: \\my_server\XP. So files and
2008 Oct 18
2
sorting matrix output alphabetically
Hello, I have been using the TM package to create a TermDocMatrix, which I have saved as a matrix so that I can view word frequencies. Below is a section of the code that I have used and an excerpt of the output: What I wanted to be able to do is to view the output alphabetically - rather than the results being sorted by frequency as below, that an alphabetical list would be generated. This
2018 Apr 15
1
increment in tablegen
i have loop index I. I want to increment it by 1. How to do this in registerinfo.td. I m trying following but getting error. let SubRegIndices = [sub_32bit, sub_32bit_hi], CoveredBySubRegs = 1 in { foreach I = 0-255 in { m=add(I,1); def R_#J#_REG64b_#I : R_P<"R_"#J#"_R64b_"#I, !shl(I,2), [!cast<R_P>("R_"#J#"_REG32b_"#I),
2017 Apr 24
1
TEXINFO error when building R-3.4.0
Hello. I am trying to build 64 bit R-3.4.0 (specifically R-patched_2017-04-23) on Windows 64 and have run into an issue with building the html files. I am using Rtools34 version 1962, the texinfo zip from <http://www.stats.ox.ac.uk/pub/Rtools/> unzipped into C:\R\texinfo, and Strawberry perl 5.24.1.1-64bit. In my MkRules.local I have the following, which worked for building R in 3.3.x: #
2018 Dec 26
1
Issue when building R-parched_2018-12-26
Hello. Building R-patched from source on Win64 using current Rtools 3.5.0.4, I?m getting the following notes indicating an extra left brace somewhere; or is the problem on my end? My installed Perl is Strawberry 5.28.0.1-64 bit. Thank you, Avi (Sent from an iPhone, so my apologies if HTML also comes through) ------ Making HTML documentation ------ creating doc/manual/version.texi creating
2024 Jul 15
1
Minor inconsistencies in tools:::funAPI()
Hi all, I've noticed some peculiarities in the tools:::funAPI output that complicate its programmatic use a bit. - Is it for remapped symbol names (with Rf_ or the Fortran underscore), or for unmapped names (without Rf_ or the underscore)? I see that the functions marked in WRE are almost all (except Rf_installChar and Rf_installTrChar) unmapped. This makes a lot of sense because some
2000 Apr 17
3
Maths in R documentation (PR#523)
The document R-exts contains the following example of using mathematics in R documentation. \deqn{p(x) = {\lambda^x\ \frac{e^{-\lambda}}{x!}} {p(x) = lambda^x exp(-lambda)/x!} There is a syntax error in there, but that's not my point. The problem is that using "R CMD Rd2dvi" I find that putting the alternate forms of the equation on top of each other doesn't work.