Displaying 20 results from an estimated 20000 matches similar to: "Return options used to configure R"
2016 Jan 22
3
Return options used to configure R
So in English what you are saying is that there's a file called Makeconf in the etc directory under the R_HOME that contains the information.
That certainly seems to be true for Linux.
Thanks.
-----Original Message-----
From: G?bor Cs?rdi [mailto:csardi.gabor at gmail.com]
Sent: 22 January 2016 11:37
To: Tom Quarendon <tom.quarendon at teamwpc.co.uk>
Cc: r-devel at r-project.org
2016 Jan 22
2
Return options used to configure R
I did have a search, but searching for "configure" just brought up loads of results for how to configure R.
I'm sure it is in the manual, once you know where to look for it and if you know all the manuals inside out.
Looking at the help for R CMD config, it's not actually clear that these relate to the options specified on configure, and it doesn't tell you things like
2017 Dec 14
4
cannot destroy connection (?) created by readLines in a tryCatch
On Thu, Dec 14, 2017 at 7:56 PM, Gabriel Becker <gmbecker at ucdavis.edu> wrote:
> Gabor,
>
> You can grab the connection and destroy it via getConnection and then a
> standard close call.
Yeah, that's often a possible workaround, but since this connection
was opened by
readLines() internally, I don't necessarily know which one it is. E.g.
I might open multiple
2017 Mar 04
5
can we override "if" in R?
I'm just curious. Why making "if" generic is even more dangerous?
Best,
Da
On Sat, Mar 4, 2017 at 1:22 PM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> `!` is a generic, `if` is not. You can define an `if` that is generic,
> but this might be even more dangerous....
>
> ? `if` <- function(a, b, c) UseMethod("if")
> ? `if.default` <-
2020 May 31
2
r-project.org SSL certificate issues
On Sat, May 30, 2020 at 11:32 PM G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
[...]
> Btw. why does this affect openssl? That root cert was published in
> 2010, surely openssl should know about it? Maybe libcurl / openssl
> only uses the chain provided by the server? Without trying to use an
> alternate chain?
Yes, indeed it seems that old OpenSSL versions cannot handle
2020 Jun 09
2
r-project.org SSL certificate issues
Was this resolved upstream or is this something that R should/could
fix? If the latter, could this also go into the "emergency release" R
4.0.2 that is scheduled for 2020-06-22?
My $.02
/Henrik
On Sun, May 31, 2020 at 8:13 AM G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
>
> Btw. it would be also possible to create a macOS R installer that
> embeds a static or
2017 Dec 14
2
cannot destroy connection (?) created by readLines in a tryCatch
Consider this code. This is R 3.4.2, but based on a quick look at the
NEWS, this has not been fixed.
tryCatch(
readLines(tempfile(), warn = FALSE)[1],
error = function(e) NA,
warning = function(w) NA
)
rm(list=ls(all.names = TRUE))
gc()
showConnections(all = TRUE)
If you run it, you'll get a connection you cannot close(), i.e. the
last showConnections() call prints:
?
2015 Apr 29
2
R CMD check and missing imports from base packages
On Wed, Apr 29, 2015 at 12:53 PM, Winston Chang <winstonchang1 at gmail.com>
wrote:
> On Tue, Apr 28, 2015 at 3:04 PM, G?bor Cs?rdi <csardi.gabor at gmail.com>
> wrote:
> >
> >
> > E.g. if package 'ggplot2' uses 'stats::density()', and package 'igraph'
> > also defines 'density()', and 'igraph' is on the search
2019 Apr 30
2
Background R session on Unix and SIGINT
Yeah, I get that they are async.
What happens is that the background process is not doing anything when
the process gets a SIGINT. I.e. the background process is just
listening on its standard input.
AFAICT for an interactive process such a SIGINT is just swallowed,
with a newline outputted to the terminal.
But apparently, for this background process, it is not swallowed, and
it is triggered
2015 May 23
5
MetaCran website v1.0.0-alpha
Dear All,
[ I was wondering if this should have gone to the new mailing list. Maybe. ]
As some of you maybe know from my earlier posts, I am building a simple
search engine for R packages. Now the search engine has a proper web site,
where you can also browse CRAN packages.
http://www.r-pkg.org/
As I see the value is in
1. package search (search box on top right)
2. APIs, see
2017 Dec 05
2
command line arguments are parsed differently on windows, from 3.4.3
Sorry for not reading carefully and thanks for confirming problem with
Rscript too.
On Dec 5, 2017 08:47, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote:
> On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson
> <henrik.bengtsson at gmail.com> wrote:
> > One comment:
> > For your R devel example you didn't use spaces in the expression, i.e.
> maybe
2011 Nov 22
3
On-demand importing of a package
Dear All,
in some functions of my package, I use the Matrix S4 class, as defined
in the Matrix package.
I don't want to depend on Matrix, however, because my package is
perfectly fine without Matrix, most of the functionality does not need
Matrix. Matrix is so included in the 'Suggests' line.
I load Matrix via require(), from the functions that really need it.
This mostly works
2017 Mar 04
2
can we override "if" in R?
Thanks.
Can I override it for a specific class?
I can do that for operators such as "!". For example, "!.fm" works for
objects of the class "fm".
It seems I can't do the same for "if".
Best,
Da
On Sat, Mar 4, 2017 at 12:41 PM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> You can. Perhaps needless to say, be careful with this.
>
> ?
2015 Aug 12
2
Weird issue when iterating through dates
I am not sure if this is a bug or not.
Gabor
On Wed, Aug 12, 2015 at 11:51 AM, Luca Cerone <luca.cerone at gmail.com> wrote:
> Following up on this, should I report a bug? can you drive me through
> the process?
>
> Cheers,
> Luca
>
> On Thu, Aug 6, 2015 at 4:55 PM, William Dunlap <wdunlap at tibco.com> wrote:
>>>> Just a quick question: what's
2019 Apr 30
2
Background R session on Unix and SIGINT
OK, I managed to create an example without callr, but it is still
somewhat cumbersome. Anyway, here it is.
Terminal 1:
mkfifo fif
R --no-readline --slave --no-save --no-restore < fif
Terminal 2:
cat > fif
Sys.getpid()
This will make Terminal 1 print the pid of the R process, so we can
send a SIGINT:
Terminal 3:
kill -INT pid
The R process is of course still running happily.
Terminal 2
2009 Apr 06
5
Search for a graph package - see link
Hi to all,
does anybody knows whether there is a package to plot those
http://www.equine-science.de/temp/graph.jpg
graphs.
the thickness of the points and/or the lines should be represent the
numbers of behaviours
With kind regards Knut
2017 Mar 04
2
can we override "if" in R?
In my case, I create a new type of matrices and override matrix
operations in R for these matrices.
My goal is to make the system as transparent as possible, which means
my system should execute the existing R code without modification.
The problem is that when data is in my own vectors or matrices, "if"
or "while" can't access their values unless we explicitly convert them
2018 Jul 26
2
Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo
On Thu, Jul 26, 2018 at 12:22 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> I am trying to control a background R session, connected via a fifo /
> named pipe.
Is the fifo significant here? If I read the same R code from a file
via `<` I get the input echoed (R 3.4.4, Ubuntu).
Barry
2020 Jun 10
2
r-project.org SSL certificate issues
As I said, there is stuff that I don't understand in here.... (including why browsers apparently do trust alternative chains)
-pd
> On 10 Jun 2020, at 01:53 , Simon Urbanek <simon.urbanek at R-project.org> wrote:
>
> You are making a very strong assumption that finding an alternative chain of trust is safe. I'd argue it's not - it means that an adversary could
2010 Jun 21
4
S3 generics need identical signature?
Dear all,
"Writing R Extensions" explicitly says that
A method must have all the arguments of the generic, including ...
if the generic does.
A method must have arguments in exactly the same order as the generic.
If the generic specifies defaults, all methods should use the same
defaults.
This is clear. R CMD check even checks for this.
But then how is it possible that