search for: boshnakov

Displaying 20 results from an estimated 51 matches for "boshnakov".

2004 Aug 02
4
Is k equivalent to k:k ?
...identical(4.0,4.0:4.0) [1] FALSE A closer look reveals that the colon operator produces objects of different class, e.g. > class(4) [1] "numeric" > class(4.0) [1] "numeric" but > class(4:4) [1] "integer" > class(4.0:4.0) [1] "integer" Georgi Boshnakov ------------------------------------------------------------------------------ Dr Georgi Boshnakov tel.: +44 (0)161 200 3684 Mathematics Department email: georgi.boshnakov@umist.ac.uk UMIST P O Box 88 Manchester M60 1QD UK [[alternati...
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
...ts, it seems that if a multiline argument is supplied, the lines after the first are silently ignored: f <- tempfile() mac6 <- "\\newcommand{\\mac6}{mac6: #1}" cat(mac6, "\\mac6{2*3 2+2 sin(pi) }\n", file = f) rd <- tools::parse_Rd(f) > rd mac6: 2*3 --- Georgi Boshnakov -----Original Message----- From: Tomas Kalibera [mailto:tomas.kalibera at gmail.com] Sent: 25 May 2018 10:05 To: Georgi Boshnakov; r-devel at r-project.org Subject: Re: [Rd] Rd parser throws error for user macros invoked with empty argument Thanks for the report and the examples - and they do n...
2019 Jun 28
1
tools::package_native_routine_registration_skeleton?
...our NAMESPACE file. Just delete the names that are meant for internal use only. Duncan Murdoch > > Roger Koenker > r.koenker at ucl.ac.uk<mailto:r.koenker at ucl.ac.uk> > Department of Economics, UCL > London WC1H 0AX. > > > On Jun 28, 2019, at 11:23 AM, Georgi Boshnakov <georgi.boshnakov at manchester.ac.uk<mailto:georgi.boshnakov at manchester.ac.uk>> wrote: > > ... reports that the fortran names of all the registered fortran functions are ?undocumented objects?... > > Those symbols should not be exported. In quantreg v5.33, NAMESPACE ha...
2019 Jun 28
2
tools::package_native_routine_registration_skeleton?
...n names of all the registered fortran functions are ?undocumented objects?... Those symbols should not be exported. In quantreg v5.33, NAMESPACE has 'exportPattern(".")'. Maybe it is a good time to remove that and export explicitly the symbols that are meant for export. Georgi Boshnakov ------------------------------ Message: 6 Date: Fri, 28 Jun 2019 09:06:52 +0000 From: "Koenker, Roger W" <rkoenker at illinois.edu> To: "r-devel at r-project.org" <r-devel at r-project.org> Subject: [Rd] tools::package_native_routine_registration_skeleton? Message...
2018 May 14
3
Rd parser throws error for user macros invoked with empty argument
...ools::parse_Rd(fn) : Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL' A full example is further below with the system macro \CRANpkg{}. In this example it doesn't make sense to use empty argument but the error is not specific to this particular macro. ------ Georgi Boshnakov Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok: ================= fn <- tempfile() writeLines("\\name{dummyfun} \\alias{dummyfun} \\title{Dummy title} \\description{Dummy description} \\usage{ dummyfun(x, ...) } \\arguments{ \\item{x}{a value.} \\item{\\...
2004 Dec 08
4
Is k equivalent to k:k ?
...in the wording, as "by" is not specified but the object is double. > typeof(seq(from=1, length=1)) [1] "double" marcus >>> Martin Maechler <maechler at stat.math.ethz.ch> 3/08/2004 3:15:45 AM >>> >>>>> "Georgi" == Georgi Boshnakov <georgi.boshnakov at umist.ac.uk> >>>>> on Mon, 2 Aug 2004 15:46:37 +0100 writes: Georgi> Hi, I wonder if the following (apparent) Georgi> inconsistency is a bug or feature. a feature "of course". Georgi> Since scalars are simply vectors...
2004 Dec 08
4
Is k equivalent to k:k ?
...in the wording, as "by" is not specified but the object is double. > typeof(seq(from=1, length=1)) [1] "double" marcus >>> Martin Maechler <maechler at stat.math.ethz.ch> 3/08/2004 3:15:45 AM >>> >>>>> "Georgi" == Georgi Boshnakov <georgi.boshnakov at umist.ac.uk> >>>>> on Mon, 2 Aug 2004 15:46:37 +0100 writes: Georgi> Hi, I wonder if the following (apparent) Georgi> inconsistency is a bug or feature. a feature "of course". Georgi> Since scalars are simply vectors...
2018 Jun 18
2
incomplete results from as.character.srcref() in some cases involving quote()
..."wholeSrcref")) [1] "e5 <- quote({quote({2+2})}" > attributes(e5) ... $wholeSrcref e5 <- quote({quote({2+2})} Attribute 'wholeSrcref' seems undocumented but it is of class 'srcref' which is documented (eg ?srcref) and has supporting methods. Georgi Boshnakov [[alternative HTML version deleted]]
2018 Jun 01
0
user macros with multi-line arguments in Rd (was Re: Rd parser throws error for user macros invoked with empty argument)
Thanks for the report, I am testing a patch that will allow multi-line arguments to user macros. Best Tomas On 05/25/2018 04:45 PM, Georgi Boshnakov wrote: > While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored: > > f <- tempfile() > mac6 <- "\\newcommand{\\mac6}{mac6: #1}" > > cat(mac6, "\\mac6{2*3 > 2+2 > sin(pi...
2010 Jan 20
1
function curve() (PR#14191)
Full_Name: Georgi Boshnakov Version: 2.10.1pat OS: Windows XP Submission from: (NULL) (130.88.123.205) When calling programmatically function curve() from package:graphics I experienced some trouble since it reports stop("'expr' must be a function or an expression containing 'x'") even...
2010 May 10
3
update.packages fails with directory not found
Windows XP. I have just updated to R 2.11.0 and then run update.packages. In the series of updates, a few will succeed, then I get a failure like package 'mvtnorm' successfully unpacked and MD5 sums checked package 'party' successfully unpacked and MD5 sums checked package 'PBSmodelling' successfully unpacked and MD5 sums checked Error in normalizePath(path) :
2019 Jun 28
0
tools::package_native_routine_registration_skeleton?
Thanks, I was just coming to that conclusion and beginning to look for a way to make a list of exportable objects. Roger Koenker r.koenker at ucl.ac.uk<mailto:r.koenker at ucl.ac.uk> Department of Economics, UCL London WC1H 0AX. On Jun 28, 2019, at 11:23 AM, Georgi Boshnakov <georgi.boshnakov at manchester.ac.uk<mailto:georgi.boshnakov at manchester.ac.uk>> wrote: ... reports that the fortran names of all the registered fortran functions are ?undocumented objects?... Those symbols should not be exported. In quantreg v5.33, NAMESPACE has 'exportPattern...
2015 Jul 15
1
add .emacs.desktop and .emacs.desktop.lock to files ignored by R CMD build?
Is it possible to consider adding .emacs.desktop and .emacs.desktop.lock to files ignored by R CMD build? Thanks, Georgi -- Dr Georgi Boshnakov tel: (+44) (0)161 306 3684 School of Mathematics fax: (+44) (0)161 306 3669 Alan Turing Building 1.125 The University of Manchester email: Georgi.Boshnakov at manchester.ac.uk Oxford Road Manchester M13 9PL UK
2018 Oct 29
1
disappearing paragraphs in html rendering of text from Rd macros
...in this email, while in R-3.5.1 the empty lines cause paragraph tags around each chunk: <p>a</p> <p>b</p> <p>c</p> <p>d</p> Directly embedding the Sexpr in the Rd file also produces all <p> tags in R-devel and R-3.5.1patched., --- Georgi Boshnakov
2020 Sep 11
0
more Matrix weirdness
...ed since "matrix" is S3. If instead x="someS4class" then the S4 method will be invoked. There may be cases when changing the class of the left-hand side make sense (such as one subclass of "Matrix" to another) but certainly not for the base R vector classes. Georgi Boshnakov -----Original Message----- From: Abby Spurdle <spurdle.a at gmail.com> Sent: 11 September 2020 03:03 To: Martin Maechler <maechler at stat.math.ethz.ch> Cc: Georgi Boshnakov <georgi.boshnakov at manchester.ac.uk>; r-devel at r-project.org Subject: Re: [Rd] more Matrix weirdness...
2019 Apr 17
1
R CMD check does not report redundant '...' argument described in Rd File
...ots' argument. Checked under Windows on win-builder on 17 April 2018 with R version 3.6.0 beta (2019-04-16 r76403), R version 3.5.3 (2019-03-11) and R version 3.4.4 (2018-03-15). A minimal package illustrating this is at https://github.com/GeoBosh/reprexes/tree/master/redundantDots Georgi Boshnakov
2007 Jun 26
1
slight anomaly in formals<- ? (PR#9758)
...ond time the assignment to the formals of f works as expected. > x <- alist(a=,b=,c=) > x$b <- 4 > f <- function(x) NULL > f function(x) NULL > formals(f) <- x > f function (a, b = 4) > formals(f) <- x > f function (a, b = 4, c) > body(f) -- Dr Georgi Boshnakov tel: (+44) (0)161 306 3684 School of Mathematics fax: (+44) (0)161 306 3669 The University of Manchester email: Georgi.Boshnakov at manchester.ac.uk Sackville Street Manchester M60 1QD UK
2020 Sep 11
2
more Matrix weirdness
> > "These operators are also implicit S4 generics, but as > > primitives, S4 methods will be dispatched only on S4 > > objects ?x?." > Yes, exactly, very well found, Georgi! I'm sorry Martin, but I don't understand your point here. I'm assuming that you want the (S3) matrix, x, to be converted to an (S4) Matrix. However, this is not a
2019 Sep 06
2
install_github and survival
I cloned therneau/survival and the installation failed since there is no definition for exported function survfit(). A file seems to be missing - there is survfit0() and survfit0.R but, compared to CRAN, no survfit.R. Georgi Boshnakov ---------------------------------------------------------------------- Message: 1 Date: Thu, 05 Sep 2019 12:53:11 -0500 From: "Therneau, Terry M., Ph.D." <therneau at mayo.edu> To: "r-devel at r-project.org" <r-devel at r-project.org> Subject: [Rd] install_github...
2023 Jun 01
1
bug in na.contiguous? Doesn't give the first tied stretch if it is at the start
...t for the stretch at the start of the series which is not preceded by TRUE! So it is missed. One way to patch this could be by the two commented assignments added by me to the code below to prepend a 0 to tt and then drop the first element of 'keep' to allow correct indexing later. Georgi Boshnakov > stats:::na.contiguous.default function (object, ...) { tm <- time(object) xfreq <- frequency(object) if (is.matrix(object)) good <- apply(!is.na(object), 1L, all) else good <- !is.na(object) if (!sum(good)) stop("all times contain an NA&qu...