After a bit more investigation, I think I've found the cause of the bug,
and I have a patch.
This bug happens with grep(), when:
* Running on Windows.
* The search uses fixed=TRUE.
* The search pattern is a single byte.
* The current locale has a multibyte encoding.
===
Here's
On 03/03/2015 02:17 PM, Gabriel Becker wrote:
Stephanie,
Actually, it's as.logical that isn't preserving matrix dimensions,
because it coerces to a logical vector:
> x <- matrix(sample(c(NA_integer_, 1:100), 500, replace=TRUE), nrow=50)
> dim(as.logical(x))
It's true, as.logical() doesn't
Stephanie,
Actually, it's as.logical that isn't preserving matrix dimensions, because
it coerces to a logical vector:
> x <- matrix(sample(c(NA_integer_, 1:100), 500, replace=TRUE), nrow=50)
> dim(as.logical(x))
NULL
~G
On Tue, Mar 3, 2015 at 2:09 PM, Stephanie M. Gogarten <
sdmor...@u.washingt
On 3/3/15 1:26 PM, Hervé Pagès wrote:
On 03/03/2015 02:28 AM, Martin Maechler wrote:
Diverted from R-help :
as it gets into musing about new R language "primitives"
William Dunlap
on Fri, 27 Feb 2015 08:04:36 -0800 writes:
> You could define functions like
> is.true
On 03/03/2015 02:28 AM, Martin Maechler wrote:
Diverted from R-help :
as it gets into musing about new R language "primitives"
William Dunlap
on Fri, 27 Feb 2015 08:04:36 -0800 writes:
> You could define functions like
> is.true <- function(x) !is.na(x) & x
> is.f
The `gzcon` function both modifies and copies a connection object:
# compressed text
con1 <- url("http://www.stats.ox.ac.uk/pub/datasets/csb/ch12.dat.gz";)
con2 <- gzcon(con1)
# almost indistinguishable
con1==con2
identical(summary(con2), summary(con1))
# both support gzip
readLi
On Mo, 2015-03-02 at 16:53 +0100, han cao wrote:
> Hey everyone:
> I am a Master student from Saarland Unirversity, Germany with the major of
> Bioinformatics. And I am interested in statistical learning which is also
> my major work in the future with the implementation by R. So I 'd like join
> t
As I expected: there was something simple and obvious, which I somehow could
not see.
Thanks for the pointer.
Terry T.
On 03/03/2015 03:12 AM, Prof Brian Ripley wrote:
On 02/03/2015 22:48, Therneau, Terry M., Ph.D. wrote:
I've moved nlme from Depends to Imports in my coxme package. However,
Hi Evans,
> * checking for file ‘OAR/DESCRIPTION’ ... OK
> * preparing ‘OAR’:
> * checking DESCRIPTION meta-information ... ERROR
> Malformed Depends or Suggests or Imports or Enhances field.
> Offending entries:
> R (>=3.0.2)
> Entries must be names of packages optionally followed by '<=' or '>
On 03/03/2015 5:47 AM, Evans Otieno Ochiaga wrote:
> Hi to All,
>
> I am building a package in R and whenever I run command "R CMD build OAR"
> in the terminal, I get the following error:
>
> * checking for file ‘OAR/DESCRIPTION’ ... OK
> * preparing ‘OAR’:
> * checking DESCRIPTION meta-informati
Hi to All,
I am building a package in R and whenever I run command "R CMD build OAR"
in the terminal, I get the following error:
* checking for file ‘OAR/DESCRIPTION’ ... OK
* preparing ‘OAR’:
* checking DESCRIPTION meta-information ... ERROR
Malformed Depends or Suggests or Imports or Enhances f
Hey everyone:
I am a Master student from Saarland Unirversity, Germany with the major of
Bioinformatics. And I am interested in statistical learning which is also
my major work in the future with the implementation by R. So I 'd like join
the google summer code this year by doing tasks in your comm
Diverted from R-help :
as it gets into musing about new R language "primitives"
> William Dunlap
> on Fri, 27 Feb 2015 08:04:36 -0800 writes:
> You could define functions like
> is.true <- function(x) !is.na(x) & x
> is.false <- function(x) !is.na(x) & !x
> and
On 02/03/2015 22:48, Therneau, Terry M., Ph.D. wrote:
I've moved nlme from Depends to Imports in my coxme package. However, a
few of the examples for lmekin use one of the data sets from nlme. This
is on purpose, to show how the results are the same and how they differ.
If I use data(nlme::e
> Hervé Pagès
> on Mon, 2 Mar 2015 13:00:47 -0800 writes:
> Hi,
> On 03/02/2015 12:18 PM, Dénes Tóth wrote:
>>
>>
>> On 03/02/2015 04:37 PM, Martin Maechler wrote:
>>>
On 2 March 2015 at 09:09, Duncan Murdoch wrote:
| I generally recommend
15 matches
Mail list logo