Displaying 20 results from an estimated 3000 matches similar to: "update.packages fails with directory not found"
2010 Feb 18
0
install.packages, normalizePath, file permissions
Dear developers,
I have a small but more or less well defined inquiry. Another, more
general one for which I was not able to find information is towards
the end of this messages. The question seems to be too technical for
R-help, that is why I post it here.
When installing packages (Windows XP), occasionally the installation
does not complete because, it seems, Windows locks some files.
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package,
allowing user to set values on fields I basically grabbed from results
of calls to formals() for various functions. That works fine for the
most part. But it was requested to investigate some type of popup help
or something for each field.
Since I already wrote the information in the dot-Rd files for what
should be displayed,
2005 Mar 11
2
Package Installation in RGui (PR#7262)
In reference to the thread
http://tolstoy.newcastle.edu.au/R/devel/04/10/0859.html
I have the same problem updating packages with newly-installed version of
released version of R 2.0.1. Previous posts refer to a bug in windows. I
wonder if there is a work-around? This probably should go to R-help but it
follows on from the post in R-devel. Apologies in advance.
OS: Windows XP Professional,
2004 Aug 02
4
Is k equivalent to k:k ?
Hi,
I wonder if the following (apparent) inconsistency is a bug or feature.
Since scalars are simply vectors of length one I would think that
a and
a:a
produce the same result. For example,
> identical(4.01,4.01:4.01)
[1] TRUE
However,
identical(4,4:4)
[1] FALSE
and
> identical(4.0,4.0:4.0)
[1] FALSE
A closer look reveals that the colon operator produces objects
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
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)
}\n", file = f)
rd <- tools::parse_Rd(f)
> rd
mac6: 2*3
---
Georgi Boshnakov
-----Original Message-----
From: Tomas Kalibera
2004 Dec 08
4
Is k equivalent to k:k ?
Bringing up an old topic on a small technicality.
In the help documentation on seq.
Value:
The result is of 'mode' '"integer"' if 'from' is (numerically
equal to an) integer and 'by' is not specified.
The arguement in seq specifying length also creates "double" which is not obvious in the wording, as "by" is not specified
2004 Dec 08
4
Is k equivalent to k:k ?
Bringing up an old topic on a small technicality.
In the help documentation on seq.
Value:
The result is of 'mode' '"integer"' if 'from' is (numerically
equal to an) integer and 'by' is not specified.
The arguement in seq specifying length also creates "double" which is not obvious in the wording, as "by" is not specified
2018 May 14
3
Rd parser throws error for user macros invoked with empty argument
Bug or feature?
I get the following error from parse_Rd() when a user Rd macro (including system ones) is invoked with empty argument {},
eg \mymacro{}:
Error in tools::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
2019 Jun 28
2
tools::package_native_routine_registration_skeleton?
> ... 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(".")'. 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
2018 Jun 18
2
incomplete results from as.character.srcref() in some cases involving quote()
Hi,
The result of as,character() on 'srcref' objects doesn't have the closing ')' in some cases involving 'quote':
> e4 <- quote({2+2})
> class(attr(e4, "wholeSrcref"))
[1] "srcref"
> as.character(attr(e4, "wholeSrcref"))
[1] "e4 <- quote({2+2}"
As a result printing the object also lacks it and gives an
2019 Jun 28
1
tools::package_native_routine_registration_skeleton?
On 28/06/2019 6:27 a.m., Koenker, Roger W wrote:
> Thanks, I was just coming to that conclusion and beginning to look for a way to make a list of
> exportable objects.
After library(quantreg), ls("package:quantreg") will list all the names
you currently export. So
cat(ls("package:quantreg"), sep = ", ")
will print the list in a form suitable for including
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
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 if expr is "expression". Naturally, the user message uses
2014 Nov 10
1
ambiguity in the documented return value of Null() from package MASS
Hi,
Function Null from package MASS seems to return a matrix with zero columns and the expected number of rows when
the null space of the argument contains only the zero vector, e.g.
> library(MASS)
> diag(nrow=3)
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 1 0
[3,] 0 0 1
> Null(diag(nrow=3))
[1,]
[2,]
[3,]
But the documentation of Null seems to imply that
2018 Oct 29
1
disappearing paragraphs in html rendering of text from Rd macros
Recent changes in R-devel seem to change the HTML rendering of text returned by Rd macros,
in that now empty lines do not cause paragraphs to end (the empty lines are kept but <p> tags are not set).
As a result, multiple paragraphs are output as a single one.
A complete example Rd file is at: https://github.com/GeoBosh/reprexes/blob/master/disappearingParagraphs/a.Rd
rendered (2018-10-28)
2019 Apr 17
1
R CMD check does not report redundant '...' argument described in Rd File
R's checks seem to be failing to notice a redundant '...' argument described in the documentation of a function.
Consider a function:
fun_3 <- function(arg1, arg2, arg3) {
"I am fun_3"
}
If its documentation describes an argument, say 'dummy', R check reports something like:
* checking Rd \usage sections ... WARNING
Documented arguments not in \usage in
2023 Jun 01
1
bug in na.contiguous? Doesn't give the first tied stretch if it is at the start
Hi.
The description of na.contiguous says:
"Find the longest consecutive stretch of non-missing values in a
time series object. (In the event of a tie, the first such
stretch.)"
But this seems not to be the case if one of the tied longest stretches is at the start of the sequence/series. In the following example, there are three stretches of length 3, so I expect the result
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.,
2004 Aug 13
4
(PR#7163) Install packages does not work on Win2003 serv er
> -----Original Message-----
> From: Uwe Ligges [SMTP:ligges@statistik.uni-dortmund.de]
> Sent: Thursday, August 12, 2004 5:38 PM
> To: Walke, Rainer
> Cc: R-devel
> Subject: Re: [Rd] (PR#7163) Install packages does not work on Win2003
> server
>
> Walke, Rainer wrote:
>
> > >a) It works for me.
> > >b) If it works for you on some Windows
2011 Oct 28
3
R CMD check and error in an \Sexpr in an Rd file
Hi,
another Rd related issue I encountered is that if an error occurs in an
\Sexpr in an Rd file, then on get the following error:
* checking for portable compilation flags in Makevars ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking examples ... ERROR
Error in paste(before, x, after, sep = "") : object 'exfile' not found
Execution halted