Displaying 20 results from an estimated 9000 matches similar to: "Mirror of the R manuals with a new visual style"
2011 Sep 23
2
Issue with seek() on gzipped connections in R-devel
Dear all,
In R-devel (2011-09-23 r57050), I'm running into a serious problem
with seek()ing on connections opened with gzfile(). A warning is
generated and the file position does not seek to the requested
location. It doesn't seem to occur all the time - I tried to create a
small example file to illustrate it, but the problem didn't occur.
However, it can be seen with a file I use for
2013 Jul 04
1
Cross-platform linking of a simple front-end
Dear all,
I have a simple front-end program which uses the APIs described in section
8 of "Writing R Extensions" to deviate from the standard R behaviour in
fairly minor ways. However, I'm having some difficulty getting it to link
reliably across different platforms.
R CMD LINK seemed like it would help, but I've had difficulty finding many
real-world examples online. I've
2012 Apr 11
0
Significant updates to medical imaging packages: TractoR and RNiftyReg
Dear all,
There have been some recent major updates to the TractoR and RNiftyReg
packages, which are available for medical image analysis applications.
If you use R for these purposes, I hope you will find the updates
useful.
RNiftyReg is an image registration package, which provides a clean
R-like interface to the NiftyReg library developed at University
College London [1]. It is aimed at
2012 Apr 11
0
Significant updates to medical imaging packages: TractoR and RNiftyReg
Dear all,
There have been some recent major updates to the TractoR and RNiftyReg
packages, which are available for medical image analysis applications.
If you use R for these purposes, I hope you will find the updates
useful.
RNiftyReg is an image registration package, which provides a clean
R-like interface to the NiftyReg library developed at University
College London [1]. It is aimed at
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all,
I'm pleased to announce the availability of the "ore" package (for
"Oniguruma Regular Expressions"), which offers an alternative to base
R's functions for searching, splitting and substituting text which
matches (Perl-style) regular expressions. The package uses the
Oniguruma/Onigmo regex library behind the scenes, and offers the
following advantages:
-
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all,
I'm pleased to announce the availability of the "ore" package (for
"Oniguruma Regular Expressions"), which offers an alternative to base
R's functions for searching, splitting and substituting text which
matches (Perl-style) regular expressions. The package uses the
Oniguruma/Onigmo regex library behind the scenes, and offers the
following advantages:
-
2013 Feb 26
3
Running R scripts with interactive-style evaluation
Hi,
when running a R-script like this:
enable_magic()
compute_stuff()
disable_magic()
the whole script is parsed into a single expression and then evaluated, whereas when using the interactive shell after each line entered, a REPL loop happens.
Is there a way to make a script evaluation behave like this, because I need a single REPL iteration for every expression in the script.
It doesn't
2015 Jul 28
2
all.equal: possible mismatch between behaviour and documentation
Dear all,
The documentation for `all.equal.numeric` says
Numerical comparisons for ?scale = NULL? (the default) are done by
first computing the mean absolute difference of the two numerical
vectors. If this is smaller than ?tolerance? or not finite,
absolute differences are used, otherwise relative differences
scaled by the mean absolute difference.
But the actual behaviour
2010 Jul 16
2
Creating an environment with attributes in a package
Dear all,
I am trying to create an environment object with additional attributes, viz.
Foo <- structure(new.env(), name="Foo")
Doing this in a standard session works fine: I get the environment
with attr(,"name") set as expected. But if the same code appears
inside a package source file, I get just the plain environment with no
attributes set. Using a non-environment
2008 Apr 28
4
R 2.7.0, match() and strings containing \0 - bug?
Hi,
A piece of my code that uses readBin() to read a certain file type is
behaving strangely with R 2.7.0. This seems to be because of a failure
to match() strings after using rawToChar() when the original was
terminated with a "\0" character. Direct equality testing with ==
still works as expected. I can reproduce this as follows:
> x <- "foo"
> y <-
2009 Feb 04
2
Capturing all warnings (with messages)
Dear all,
For an open-source project that I'm working on (1), which uses R for
all its heavy lifting but includes a wrapper shell script, I was
hoping to find a way to capture all warnings (and, in fact, errors
too), and handle them in my own way. I realise I can do this for a
single expression using something like:
> f <- function(w) print(w$message)
>
2009 Aug 11
1
readBin() arg check has unnecessary overhead (patch included)
Dear all,
The version of readBin() in R-devel includes a use of match(), through
`%in%`, which can affect its performance significantly. By using
primitives instead of the rather expensive call to match(), I reduce
the time spent inside readBin() by more than 30% in some of my code
(part of the tractor.base package). A simple patch that does this is
given below. This passes "make
2020 Oct 27
2
Sieve body test
On 23/10/2020 13:22, @lbutlr wrote:
> On 22 Oct 2020, at 19:09, Stephan Bosch <stephan at rename-it.nl> wrote:
>> You need to include the extprograms plugin:
> I have, and vnf.dovecot.pipe doesn't give the error.
>
> sieve_plugins = sieve_imapsieve sieve_extprograms
>
> ?\_(?)_/?
>
> I am not using filter now though, so I haven't try to track down
2015 Jul 30
1
all.equal: possible mismatch between behaviour and documentation
Dear Jon,
thank you for raising the issue,
>>>>> Jon Clayden <jon.clayden at gmail.com>
>>>>> on Tue, 28 Jul 2015 12:14:48 +0100 writes:
> Sorry; minor clarification. The actual test criterion in the example I
> gave is of course abs((0.1-0.102)/0.1) < 0.01, not abs(0.1) < 0.01. In
> any case, this does not match (my reading of) the docs,
2008 Sep 24
2
R --interactive and readline() creates infinite loop
Dear all,
I have asked before, in R-help [1], about a way to create an
interactive session in which commands are taken from a file or
standard input - like R CMD BATCH but additionally allowing user input
- but there was no response to that question, and the workarounds that
I have found (using "expect", creating a temporary .Rprofile) are ugly
and problematic.
With the
2011 May 04
1
General "nil" reference class object
Dear John and others,
I've been wondering about whether there's any way to indicate a "nil"
reference class object, which will represent "no value", and be tested
for, but not fail the internal type checking. NULL is the obvious
choice (or seems so to me), but can only be used if an explicit class
union is created:
> Foo <- setRefClass("Foo")
> Bar
2007 Jan 26
1
readBin is much slower for raw input than for a file
Dear all,
I'm trying to write an efficient binary file reader for a file type
that is made up of several fields of variable length, and so requires
many small reads. Doing this on the file directly using a sequence of
readBin() calls is a bit too slow for my needs, so I tried buffering
the file into a raw vector and reading from that ("loc" is the
equivalent of the file pointer):
2007 Jan 26
1
readBin is much slower for raw input than for a file
Dear all,
I'm trying to write an efficient binary file reader for a file type
that is made up of several fields of variable length, and so requires
many small reads. Doing this on the file directly using a sequence of
readBin() calls is a bit too slow for my needs, so I tried buffering
the file into a raw vector and reading from that ("loc" is the
equivalent of the file pointer):
2012 Oct 31
2
Forward and backward algorithm in R?
How can I wrtie and calculate alpha and beta in the forward backward
algorithm in R ?
--
View this message in context: http://r.789695.n4.nabble.com/Forward-and-backward-algorithm-in-R-tp4648012.html
Sent from the R help mailing list archive at Nabble.com.
2012 Nov 09
1
lm function - na.action
How do you lm throw away excess data points. I am following the
documentation with no success
--
View this message in context: http://r.789695.n4.nabble.com/lm-function-na-action-tp4649075.html
Sent from the R help mailing list archive at Nabble.com.