Displaying 20 results from an estimated 5000 matches similar to: "no objects apparent in built package"
2013 Feb 28
2
Fortune?
I think the rule is that you can do anything as long as you don't
complain. If you want to complain, you must follow the instructions.
-- Jari Oksanen in
Re: [Rd] Keeping up to date with R-devel
--
Patrick Burns
pburns at pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of:
'Impatient R'
'The R
2014 Jan 03
1
wishlist: decreasing argument to is.unsorted
I've just realized that it could be handy
to have a 'decreasing' argument in 'is.unsorted'.
And I'm cheekily hoping someone else will
implement it.
It is easy enough to work around (with 'rev'),
but would be less hassle with an argument.
The case I have in mind uses 'is.unsorted' in
'stopifnot'.
Pat
--
Patrick Burns
pburns at pburns.seanet.com
2018 Aug 05
0
Is this a bug in `[`?
This is Circle 8..1.13 of the R Inferno.
On 05/08/2018 06:57, Rui Barradas wrote:
> Thanks.
> This is exactly the doubt I had.
>
> Rui Barradas
>
> ?s 05:26 de 05/08/2018, Kenny Bell escreveu:
>> This should more clearly illustrate the issue:
>>
>> c(1, 2, 3, 4)[-seq_len(4)]
>> #> numeric(0)
>> c(1, 2, 3, 4)[-seq_len(3)]
>> #> [1] 4
2014 Feb 06
1
suggested addition to 'install.packages' help file
I suggest that there be an additional sentence
in the explanation for the 'repos' argument in
the help file for 'install.packages':
If the repository is on a local drive, then the
string should begin with \code{file:}, e.g.,
\code{"file:J:/Rrepos"}.
Perhaps I'm missing some subtlety, but it makes
things work in my case.
Pat
--
Patrick Burns
pburns at
2013 Feb 26
3
double bracket stripping names
Is it on purpose that `[[` strips the
names when used on an atomic vector?
> c(a=1, b=2)[1]
a
1
> c(a=1, b=2)[[1]]
[1] 1
> sessionInfo()
R Under development (unstable) (2013-02-11 r61902)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
2011 Sep 12
3
Solve your R problems
R-help is all about solving R problems.
So here ya go:
http://www.portfolioprobe.com/2011/09/12/solve-your-r-problems/
--
Patrick Burns
pburns at pburns.seanet.com
twitter: @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of 'Some hints for the R beginner'
and 'The R Inferno')
2023 Jul 31
1
random network disconnects
I'm experiencing a weird issue, and wondering if anyone has seen this,
and better yet has a solution.
At work we are getting lots of issues with 'permission denied' or
'network not found' and so forth when reading and writing between our
machines and a file server. This happens randomly so the following
function solves the problem for 'cat' commands:
catSafer
2012 Apr 15
1
no carriage returns in BATCH output from 2.15.0
It seems like I must be missing something
since I haven't been able to find mention
of this.
Under Windows 7 I'm not getting carriage returns
in the output of BATCH files using 2.15.0 (both
64-bit and 32-bit). They are in the startup
messages, but not for the real output. Is this
on purpose?
Pat
--
Patrick Burns
pburns at pburns.seanet.com
twitter: @portfolioprobe
2010 Mar 15
0
Fw: assign colnames to data
Patrick,
Thanks. I tried colnames, but it doesn't work. Seems more transformation
is needed. But now I got names, that's good enough.
Best.
Xumin
Patrick Burns <pburns@pburns.seanet.com>
03/15/2010 04:04 PM
To
Xumin Zeng <xumin.zeng@abbott.com>
cc
Subject
Re: [R] assign colnames to data
Those are names, not colnames.
See the 'More R key actions' page
2010 Feb 12
1
Using seq_len() vs 1:n]
Pat Burns makes a good point. -Peter
-------- Original Message --------
Subject: Re: [R] Using seq_len() vs 1:n
Date: Fri, 12 Feb 2010 09:01:20 +0000
From: Patrick Burns <pburns at pburns.seanet.com>
To: Peter Ehlers <ehlers at ucalgary.ca>
References: <4B746AEF.10900 at ucalgary.ca>
If you want your code to be compatible with
S+, then 'seq_len' isn't going to work.
2008 Oct 24
0
following up on infinite email server loop
just to add to ted's explanation in case it helps to fix the email
server problem: below are the two Recipients and one of the two is
always contained in the repeated emails that I'm receiving. Also, of
course i don't mean to claim that the names contained in below are
doing anything to cause the problem . VEC Operator is just an example.
There are 3 or 4 others that repeat
2010 Jul 04
1
arr.ind argument to which.min and which.max
Is there a reason that 'which.min' and
'which.max' don't have an 'arr.ind'
argument?
The context in which I wanted that was
a grid search optimization, which seems
like it would be reasonably common to me.
--
Patrick Burns
pburns at pburns.seanet.com
http://www.burns-stat.com
(home of 'Some hints for the R beginner'
and 'The R Inferno')
2010 Mar 07
1
Some hints for the R beginner
There is now a document called "Some hints
for the R beginner" whose purpose is to get
people up and running with R as quickly as
possible.
Direct access to it is:
http://www.burns-stat.com/pages/Tutor/hints_R_begin.html
JRR Tolkien wrote a story (sans hobbits) called
'Leaf by Niggle' that has always resonated
with me. I offer you an imperfect, incomplete
tree (but my roof is
2010 Jun 20
1
proposed change to 'sample'
There is a weakness in the 'sample'
function that is highlighted in the
help file. The 'x' argument can be
either the vector from which to sample,
or the maximum value of the sequence
from which to sample.
This can be ambiguous if the length of
'x' is one.
I propose adding an argument that allows
the user (programmer) to avoid that
ambiguity:
function (x, size, replace
2011 Apr 27
3
median and data frames
Here are some data frames:
df3.2 <- data.frame(1:3, 7:9)
df4.2 <- data.frame(1:4, 7:10)
df3.3 <- data.frame(1:3, 7:9, 10:12)
df4.3 <- data.frame(1:4, 7:10, 10:13)
df3.4 <- data.frame(1:3, 7:9, 10:12, 15:17)
df4.4 <- data.frame(1:4, 7:10, 10:13, 15:18)
Now here are some commands and their answers:
> median(df3.2)
[1] 2 8
> median(df4.2)
[1] 2.5 8.5
> median(df3.3)
2004 Jul 12
1
RE: tail(<matrix>) column numbers
I also vote for the 'helpful' addition on row numbers based on the original
matrix when no row names are present, with an optional argument to prevent
this behaviour.
-G
> -----Original Message-----
> From: Duncan Murdoch [mailto:dmurdoch@pair.com]
> Sent: Monday, July 12, 2004 8:06 AM
> To: Patrick Burns
> Cc: Martin Maechler; Warnes, Gregory R; Prof Brian Ripley;
>
2004 Jul 30
0
Re: matrix subsetting (was: [R] as(obj,
Suggest you try R 1.9.1 patched. This is what I get on
Windows XP with that:
> matrixObj <- array(1:4, c(2,2))
> class(matrixObj) <- "matrix"
> fooObj <- matrixObj
> class(fooObj) <- "foo"
> fooObj[1:2]
[1] 1 2
> matrixObj[1:2]
[1] 1 2
> getAnywhere("[.matrix")
no object named '[.matrix' was found
>
1999 Oct 22
0
on-line documentation (was AR models)
Spoetry is a book on S+ by Patrick Burns available on the net at
http://www.seanet.com/~pburns/Spoetry/Spoetry.pdf
Its about 439 pages with 16 chapters. You can read all about it at
http://www.seanet.com/~pburns/Spoetry/
Michael Lapsley
2005 Jul 16
0
summary: cbind a list of matrices
Thanks to all kind people who answered. Attached is a useful reply,
among many others.
--
Mauro Gasparini
Professore Straordinario di Statistica
Dipartimento di Matematica, Politecnico di Torino
Corso Duca degli Abruzzi 24 I-10129 Torino, Italy
tel: +39 011 564 7546
fax: +39 011 564 7599
email: gasparini at calvino.polito.it
www: http://calvino.polito.it/~gasparin/
Coordinatore Scientifico
2006 May 17
0
variable colnames
Hy all,
I apologize i've used rownames instead of colnames in my first exemple. (that's why i changed the mail object) I was on mars when i wrote my question...
Every answer where correct ... but, because i've made a wrong question, people wern't able to understand...
So finally i'm speaking about colnames :
Let's be more precise:
I've got a query that gives me for