27;. Since you have
specified three plotting symbols and ``Tanks'' has *four* distinct
values, this is somewhat mysterious.
If you would just tell us what you are actually trying to *do* we would
probably be able to tell you how to do it.
cheers,
than you have a function where you can retrieve the object from that
> file later on.
?dput
?dget
cheers,
Rolf Turner
##
Attention:\ This e-mail message is privileged and co
he script.
In which case see ?source.
One can also ``send commands to the console'' via copy-and-paste.
cheers,
Rolf Turner
##
Attention:
This e-mail message is privileged and confidential. If you are not th
FAQ 7.31
cheers,
Rolf Turner
On 5/02/2010, at 4:23 PM, Guochen Song wrote:
> I have 3 nested functions, the core function goes like this:
> listx<-function(x,tox)
> {
> xt=table(x)
> wa=sort(unique(x,fromLast=FALSE))
> print(xt)
> print(
I think you just need to set axes=FALSE in your call to matplot().
You'll then need to add the y-axis manually --- do axis(2) in
addition to your call which draws the x axis.
You'll also need to do box() if you want a box around your graph.
cheers,
Rolf Tu
oop increases.
cheers,
Rolf Turner
##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mai
blem. I am curious to know
why on earth you are loading the rootSolve package. The uniroot()
function is in package "stats" which is automatically available.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 8827
in%
finds no matches. Perhaps:
b <- celFiles[!basename(celFiles) %in%
paste0(as.character(remove$V1),".CEL")]
Note that, for the data that you have presented, none of the entries of
celFiles "match up" with &qu
orgoing is *exactly* correct. Perhaps it
depends on what is meant by "objects associated with packages".
I have vague recollections that funny things can happen if objects
in the saved .RData file have complicated environments, but I can't
remember details.
cheers,
Rolf Turner
Has anyone any explanation for this? Any ideas?
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
ht
On Fri, 13 Nov 2020 19:02:19 -0800
Jeff Newmiller wrote:
> It was explained in the video... his counts were so small that they
> spanned the 1-9 and 10-99 ranges.
Sorry, missed that. I'll have to watch the video again.
Thanks.
cheers,
Rolf
>
> On November 13, 2020 6:5
On Tue, 17 Nov 2020 07:54:01 +1100
Jim Lemon wrote:
> Hi Elaine,
> There seems to be a popular contest to discover offence everywhere. I
> don't think that it does anything against racism, sexism or
> antidisestablishmentarianism. Words are plucked from our vast lexicon
> to comfort or insult o
set.seed(42)
x <- rnorm(300)
ax0 <- acf(x,plot=FALSE) # The "plot=FALSE" is not actually necessary.
ax1 <- ax0$acf[,,1]
Reading the help file for a function is Always a Good Idea.
You can also always look at the code. Just type:
acf
Similarly for pacf()
cheers,
Rolf Tu
On Mon, 23 Nov 2020 10:07:42 +1100
Jim Lemon wrote:
> Hi all,
> I have encountered a problem in some emails with invisible characters
> in code snippets that throw an error when pasted into the terminal
> window:
>
> Error: unexpected input in:
> "star_wars_matrix<-matrix(box_office,nrow=3,byr
I would of course be grateful for any feedback, comments, criticisms,
corrections, etc.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org mailing l
p(scriptstyle(2),scriptstyle(11
and again this "sort of" works but places the putative superscript a
bit too high and the putative subscript a bit too low.
Is there any way to achieve, with plotmath, an effect like unto that
produced by the LaTeX expression $\sigma^2_{11}$? Or should I
On Wed, 9 Dec 2020 06:18:10 -0500
Duncan Murdoch wrote:
> On 09/12/2020 3:06 a.m., Rolf Turner wrote:
> >
> > I would like to produce, as graphical annotation, the Greek letter
> > sigma with a superscript of 2 and a subcript of 11. (I.e. the top
> > left hand e
hould
be doing, but I can't work out what it is.
Does there *exist* an appropriate syntax for doing what I want
to do? Can anyone enlighten me? The data set "xxx" is given
in dput() form at the end of this message.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Sta
On Fri, Dec 11, 2020 at 6:51 PM Rolf Turner
> wrote:
> >
> >
> >
> > I want to fit a model y = x/(x-a) where the value of a depends
> > on the level of a factor z. I cannot figure out an appropriate
> > syntax for nls(). The "parameter" a (to
On Thu, 17 Dec 2020 09:00:52 +0100
Martin Maechler wrote:
> As Jeff mentions -- and as I have experienced myself also
> (rarely) -- when mailing lists are configured differently, their
> behavior is much more confusing and for many list recipients
> it becomes almost impossible to reply to ju
now been corrected, and the corrected version of the help
will appear in the next release. However I'm sure that there
are many more such glitches that I *haven't* noticed!
I would be very grateful to anyone who points out such errors
to me.
cheers,
Rolf Turner
--
Honorary Resea
27;s fixed.
I hope this helps. Perhaps someone who actually knows what they are
talking about will chime in.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-he
the expected behavior or am I missing something?
Works fine for me, with or without the space in the prompt string.
There *must* be something flaky in your system, but I'm damned if I can
come up with any useful suggestions for tracking down just where
ing all "."s to "-"s, and then do
a sub() changing the first "-" back to a ".". But this seems very
kludgy. There must be a sexier way. Mustn't there? Is there regular
expression syntax for picking out the second occurence of a particular
string?
David Wolfskill's post solved my problem perfectly. Thanks.
Thanks also to Bert Gunter and Avi Gross.
cheers,
Rolf
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.or
On Tue, 9 Feb 2021 17:34:00 +1300
Rolf Turner wrote:
>
> David Wolfskill's post solved my problem perfectly. Thanks.
>
> Thanks also to Bert Gunter and Avi Gross.
Whoops. David Wolfskill's message came to me off-list.
Sorry for the confusion.
cheers,
Rolf
--
Ho
the desired object, *not* wrapped in
a list, i.e.:
> $a
> [1] "n"
>
> $b
> [1] 20
>
(which is what I get by typing xxx[2,3][[1]]).
Is there any way to prevent the entries of xxx from being wrapped up in
lists of length 1?
Thanks for any enlightenment.
cheers,
Rolf
See fortunes::fortune(341) for a relevant comment. :-)
Thanks again.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
artificial) but I'd like to get my hands on a *real* example, if
possible.
Grateful for any pointers/suggestions.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
failure.
>
> What have I misunderstood?
And then, following up:
> Oh, I think I get what you mean -- you are drawing repeated samples
> from a binomial with n trials and you are counting the number of
> successes for each.
Yes. Exactly. Sorry if my post was unclear.
cheers,
Rolf Turner
On Fri, 26 Mar 2021 13:41:00 +1300
Abby Spurdle wrote:
> I haven't checked this, but I guess that the number of students that
> *pass* a particular exam/subject, per semester would be like that.
>
> e.g.
> Let's say you have a course in maximum likelihood, that's taught once
> per year to 3rd
xample illustrating the problem, and someone on this list
will probably be able to help you.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-proje
e_size=nvec,attained_power=kbpower))
> }
>
> Can you please advise,
There is no "rvec" anywhere in the code that you provided, so the error
is coming from somewhere else.
I ran your code and got:
> $sample_size
> [1] 25 10 15
>
> $attained_power
> [1] 0.84044
fect that the package is
deprecated and that users should install and utilse the dbd package
instead.
The dbd package includes a number of modifications which (it is to be
hoped) make it an improvement over the hse package that it replaces.
I would be grateful to anyone who points out any problems
On Mon, 3 May 2021 12:42:30 +1200
Abbs Spurdle wrote:
> Previously, I disliked some of R's names.
> e.g. Action of the Toes.
> But then later realized toes are really important.
>
> I don't want to disagree with a 'reviewer'.
> But I would say subtle references to literature and philosophy
> d
lt.tr_Test.Result1".
Why did you expect it to be present?
Moreover, the code of your function makes no sense at all, at least not
to *my* feeble brain. The quantities "raw", "Pedigree.name" and "UPN"
are not arguments of your function. How do you expect k_s
On Sat, 15 May 2021 00:55:08 + (UTC)
Kai Yang wrote:
> Hi Rolf,
> I am a beginner for R.
Then I suggest that you spend some time learning basic R syntax, with
the help of some of the excellent online tutorials. "An Introduction
to R" from https://cran.r-project.org/manuals.html would be a g
UE, FALSE)
> > object[index]
> [1] 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
> 45 47 49 51 53 55 57
> [30] 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
Why faff around with ifelse()?
object[object %% 2 == 1]
works just fine.
cheers,
# TRUE
As has been pointed out, you should include a minimal reproducible
example in questions such as this. Creating such an example almost
always reveals the source of the problem so that you can solve it
yourself.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
Univ
contributed package, you should in the first
instance contact the maintainer of the package rather than this list.
Only if you get no response from the maintainer should you appeal to
the list. You can find the email address of the maintainer by typing
maintainer().
(4) From the error message I w
is the hex
encoding of the degree symbol; apparently 260 is the octal encoding of
this symbol.
Can anyone suggest how I might get my plot_ascii() function working
again? Basically, it seems to me, the question is: how do I persuade
R to read in "\260" as "\ub0" rather than &qu
On Sat, 3 Jul 2021 09:40:28 +0200
Ivan Krylov wrote:
> Hello Rolf Turner,
>
> On Sat, 3 Jul 2021 14:02:59 +1200
> Rolf Turner wrote:
>
> > Can anyone suggest how I might get my plot_ascii() function working
> > again? Basically, it seems to me, the question is:
you want the first entry of this
result, i.e. "clyde".
My "sapply()" construction produces the first entry of each entry of the
list produced by strsplit().
It is useful to get your thoughts clear, understand what you are doing
and understand what the functions that you are using do.
h as
"graphics::text() rather than just text().
I guess it never hurts to be cautious.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
plotASCII <- function (extended = TRUE, cex = graphics::par("cex
This discussion has developed in such a way that it seems a better
subject line would be "problem for the hairsplit function". :-)
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599
quot;. This file was produced by dput() so read it
in using dget("egData.txt").
With eternal gratitude.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
eg.pdf
Description: Adobe PDF document
structure
Thanks to Jeff Newmiller, Rui Barradas and Avi Gross for their
extremely helpful replies. I have got both Jeff's and Rui's code to
run. I am currently experimenting with Avi's suggestion of producing
multiple plots and then putting them together using plotgrid() or
grid.arrange(). This idea s
Thanks to Bill Dunlap and Avi Gross for their clear and helpful answers
to my questions.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org
necessary data set in the file egDat.txt.
Just in case anyone is interested or in case someone else might benefit
from seeing this code.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
#
# Script ciPlot.txt for doing the
On Mon, 2 Aug 2021 17:53:34 +0100
Rui Barradas wrote:
> Hello,
>
> I'm glad it helped.
> Here are a couple of ideas for theme.
Thanks Rui. The scope of your knowledge and understanding is simply
amazing!
cheers,
Rolf
--
Honorary Research Fellow
Department of Statistics
University of Au
the latest version. I remark that I am
running Ubuntu 20.04 with a Mate 1.20.4 desktop.
How can I get a "doc" directory into my R directory and make Rstudio
happy?
cheers,
Rolf Turner
P.S. I have also tried to ask about this on the Rstudio community
forum, but it seems to me t
plus Duncan's off-list
response.
Does this say something about the efficacy of mailing lists as
contrasted with web site fora? Or is it just a difference between the
R community and the Rstudio community?
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Sta
;t use Excel!!!
This is a corollary of a more general theorem: Don't use Micro$oft!!!
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org
iew mreprex.pdf. You will see that the version number is given as
0.0-22 as it should be.
Should this be considered a bug? If so, what is the appropriate way of
drawing this to the attention of those who have the power to fix it?
Thanks.
cheers,
Rolf Turner
--
Honorary Research Fellow
Dep
On Sat, 28 Aug 2021 09:47:03 +0200
Achim Zeileis wrote:
> On Sat, 28 Aug 2021, Rolf Turner wrote:
>
> > I have found that tools::texi2pf() ignores changes to the *.bib file
> > unless the *.bbl file is removed prior to re-running
> > tools::texi2pdf().
>
> Thi
one got any *useful* advice? If so, please present it
in very simple terms if you can. (I am a Bear of Very Little Brain,
and long words bother me.) A step-by-step recipe would be appreciated.
I'm running Ubuntu 20.04, with a Mate 1.24.0 desktop.
Grateful for any pearls of wisdom.
rovide a template/prototype Makefile
and give me some idea what to *do* with it?
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org mailing list -- To UNS
x" in "data").
Is there any way to tell the generic to do this?
Or is there any other way out of this dilemma? (Other than "Give up and
go to the pub", which I cannot currently do since Auckland is in Level 4
lockdown. :-) )
Thanks for any enlightenment.
cheers,
Ro
On Wed, 1 Sep 2021 05:35:03 -0400
Duncan Murdoch wrote:
> On 31/08/2021 11:59 p.m., Rolf Turner wrote:
> >
> > I'm trying to build a pair of (S3) methods, a "formula" method and a
> > "default" method. The methods have a "data" argume
On Wed, 1 Sep 2021 19:29:32 -0400
Duncan Murdoch wrote:
> I don't know the header of your foo() method, but let's suppose foo()
> is
>
>foo <- function(x, data, ...) {
> UseMethod("foo")
>}
>
> with
>
>foo.formula <- function(x, data, ...) {
> # do something with the
to be non-numeric. Some of them *may* be interpretable as being
numeric.
If you apply as.numeric() to a column you'll get NA's for all entries
that *cannot* be interpreted as numeric. So you may want to do something
like (untested, of course):
ok <- is.na(
ating what you a trying to accomplish.
You are asking others for help. Have a little consideration for the
helpers, who are giving of their time and effort free of charge!
(c) Note that "df" is a lousy name for a data frame, since it is the
name of a base R function (the density functio
> Some functions such as lines and text accept a vector of values which
> are recycled and may be interpreted slightly differently.
So I guess differences in behaviour are hinted at.
I'm still curious!
Any thoughts from anyone?
cheers,
Rolf Turner
--
Honorary Research Fellow
D
On Mon, 27 Sep 2021 14:54:53 -0700
Bert Gunter wrote:
> ... and also note in the *Color Specification* section of ?par, to
> which ?points points,
>
> "Additionally, "transparent" is transparent, useful for filled areas
> (such as the background!), and just invisible for things like lines or
> t
its presence in a number of help files for other packages.
Can anyone explain to me what it's for, and what its provenance is?
Is it important?
Thanks for any enlightenment.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-
On Tue, 28 Sep 2021 16:02:55 -0700
Bill Dunlap wrote:
> tools:::prepare2_Rd contains the lines
> ## FIXME: we no longer make any use of \Rdversion
> version <- which(sections == "\\Rdversion")
> if (length(version) > 1L)
> stopRd(Rd[[version[2L]]], Rdfile,
>"
On Sun, 10 Oct 2021 19:27:27 +1300
"Richard O'Keefe" wrote:
> Why is it so hard to understand that there is nothing special to
> understand here?
Fortune nomination.
cheers,
Rolf
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 8827
On Mon, 11 Oct 2021 09:15:27 +
PIKAL Petr wrote:
>
> data.frame is not matrix or array (even if it rather resembles one)
>
> So if you put a cake into oven you cannot expect getting fried
> potatoes from it.
Another fortune nomination!
cheers,
Rolf
--
Honorary Research Fellow
Depar
been changed slightly, but
most (for some value of "most") calls made with the previous syntax
should still work. When the unexpected happens, read the help!!!
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599
nt that this package will now be much more useful than
it was previously.
Enjoy! :-)
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
__
R-help@r-project.org mailing list -
tion 2
> Create a matrix of size 3x3 called mat_1:
>
> Iterate over all the values one by one and print the element as well
> as the position in the matrix (row, col)
You really should do your own homework.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
osition, but that causes an error to be thrown.
I want to have a near the bottom of the plot and to adjust its
position, in the horizontal direction by means of "inset", but nothing
that I try has the desired effect.
Am I misunderstanding something? Or is there perhaps a bug in
legend
st curious (idly?) as
to *why* the association of the namespace:stats environment with d1()
causes it to "do the right thing".
Can anyone give me any insight? Ta.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
library(Deriv)
d1 <- Deriv(dnorm,"sd")
source("d2.txt") # d2.txt is attached
d1(1,0,3,TRUE) # [1] -0.2962963
d2(1,0,3,TRUE) # [1] -0.889
cheers,
Rolf
P.S.:
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.3 LTS
Matrix product
On Sun, 7 Nov 2021 13:11:10 -0500
Duncan Murdoch wrote:
> I've submitted a bug report and patch:
>
> https://bugs.r-project.org/show_bug.cgi?id=18232
Thanks Duncan. It's good to know that the anomaly wasn't just a result
of my doing something stupid.
cheers,
Rolf
--
Honorary Research Fe
it yourself, especially
given that it's so easy in this instance?
Use mung[[1]] to get the first entry of a list named "mung".
Or mung[1] of one if you want a *list* whose sole entry is the
first entry of mung.
Likewise mung[-1] will give you the "all but" results.
Fewer key s
have as I would like, by
specifying an appropriate value for na.action? I could not find such
an appropriate value.
Thanks for any enlightenment.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-
On Fri, 19 Nov 2021 18:35:23 -0800
Bert Gunter wrote:
> ?predict.lm says:
>
> "predict.lm produces predicted values, obtained by evaluating the
> regression function in the frame newdata (which defaults to
> model.frame(object)). "
>
> model.frame(fit) is:
> 1 1.37095845 -0.30663859
> 2 -0
t;; I wanted one "standing up".
After a great deal more struggle I did
crud <- factor(rep(1,42),labels="")
bwplot(junk ~ crud,ylab="")
which gave me what I was after.
Perhaps others who are more knowledgeable than I could chip in with
better ideas.
But first Luig
hypotheses. This requires
that you think! And that you actually understand what problem you
are trying to solve.
Analysis of variance can be a subtle concept. Some insight into the
subtleties might be obtained by reading Bill Venables' paper:
http://www.stats.ox.ac.uk/pub/MASS3/Exegeses
d into Fortran. The Ratfor
code is much more perspicuous, so I have included the corresponding *.r
files so as to possibly provide some enlightenment. If you have ratfor
on your system, you can do things like "ratfor getgl.r > getgl.f" to
recreate the *.f files.
Thanks for any assistanc
ot;. See the subtle
difference? :-)
The variable nvym1 was never initialised, so it took on strange values
plucked out of RAM, I guess. Whence the anomaly. Once I corrected that
trivial typo, things were OK.
Thanks everybody!!! :-)
cheers,
Rolf Turner
P.S. What I can't figure out (and won
-1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11"
I could of course be missing something, but it really looks to me as if
something has gone up to Puttee here.
Some input from someone in R-Core would be valuable here.
cheers,
Rolf Turner
--
Honorary Research Fellow
Departmen
On Thu, 28 Jul 2022 00:42:51 +
"Ebert,Timothy Aaron" wrote:
> Time is often used in this sort of problem, but really time is not
> relevant. A better choice is accumulated thermal units. The insect
> will molt when X thermal units have been accumulated. This is often
> expressed as degree d
On Mon, 15 Aug 2022 19:20:28 -0700
Bert Gunter wrote:
> Fortune Nomination!
>
> "A lot of work for a little pie." (in response to a query about how to
> improve a pie chart)
> -- Jim Lemon
I second the nomination.
cheers,
Rolf
>
> On Mon, Aug 15, 2022 at 6:43 PM Jim Lemon
> wrote:
> >
>
ortune(254), although not directly
applicable, might be relevant. :-)
If you *really* believe that r-squared makes some kind of sense in the
context of *generalised* least squares, you should probably direct
further enquires to r-sig-mixed-models.
cheers,
Rolf Turner
--
Honorary Research Fellow
D
On Mon, 26 Sep 2022 11:14:57 +0800
Turritopsis Dohrnii Teo En Ming wrote:
> Subject: How long does it take to learn the R programming language?
>
> Good day from Singapore,
>
> How long does it take to learn the R programming language?
How long is a piece of string? :-)
.
cheers,
Rolf Turner
On Tue, 4 Oct 2022 23:35:09 +
"Deramus, Thomas Patrick" wrote:
> Sorry to cross-post on Stackoverflow and here but I'm having some
> difficulty.
> https://stackoverflow.com/questions/73942794/still-getting-error-in-ect-plot-new-has-not-been-cal
implemovingaverage)
> abline(v = index(original_series[WordFrame[i,7]]),lty=2,
> col='green', lwd=3) title(paste("Word Task Acquisition for Subject"))
> dev.off()
> }
> #If the three tests are NOT statistically significant, generate a
> plo
On Fri, 28 Oct 2022 16:42:41 +0100
Rui Barradas wrote:
> This behavior, partial matching of column or list members names when
> extracting with `$` is practically a FAQ.
> See the latest R-Help thread on it after the release of R 4.0
>
>
> https://stat.ethz.ch/pipermail/r-help/2020-May/46714
n from stackexchange, but you will have to make your
question much clearer and much more explicit. Give a reasonably
detailed example. Do not expect your readers to be telepathic.
It is not at all clear to me that your question actually makes any
sense at all.
cheers,
Rolf Turner
--
Honorary Research
te that I have changed the name of your data frame from "df" to "X",
since df() is a built-in R function (density of the F-distribution).
See fortunes::fortune("might clash").
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auck
get 3 (the "right" answer; the same as junk[["y"]]).
When I do junk$yu I get NULL (just as if I'd done junk[["yu"]]).
So: has something changed, or am I miss-remembering, or am I completely
confused about the whole issue?
Thanks for any enlightenment.
cheers,
On Tue, 24 Jan 2023 17:16:44 -0500
Andrew Simmons wrote:
> I tried this again with R 2.15.3, the oldest version I have installed,
> and I still got the same behaviour. It extracts the first exact match,
> then the only partial match, then NULL.
Thanks for that.
I am *sure* that I had problems
length(p)) <= 20)
This works, but makes a mountain out of a molehill.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Stats. Dep't. phone: +64-9-373-7599 ext. 89622
Home phone: +64-9-480-4619
__
On Sun, 5 Feb 2023 15:13:54 -0500
Duncan Murdoch wrote:
>
> Just to build the mountain a little higher, I would use
>
>subset(p, seq_along(p) <= 20)
>
> You should generally avoid expressions like "1:length(p)", because
> they don't do what you would expect in the unusual case that p is
On Sun, 12 Feb 2023 14:57:36 -0800
Jeff Newmiller wrote:
> x["V2"]
>
> is more efficient than using drop=FALSE, and perfectly normal syntax
> (data frames are lists of columns).
I never cease to be amazed by the sagacity and perspicacity of the
designers of R. I would have worried that x[
ysterious and cryptic) pronouncement? I
don't understand it at all. My package makes no use of ggplot2, dplyr
or xts.
Should I be worried? Are there adjustments that I should make to my
package (e.g. to NAMESPACE)?
Thanks for any tips.
cheers,
Rolf Turner
--
Honorary Research Fellow
De
iggered by loading my package. So that is
the source of the problem. If it is indeed a problem.
The question remains: is this message something that I (or the
maintainer of brms) should be worried about?
cheers,
Rolf
On Mon, Apr 29, 2019 at 3:55 PM Rolf Turner <mailto:r.tur...@auckland.
On 30/04/19 12:19 PM, Jeff Newmiller wrote:
Since you now have this indirect dependency, you should make sure you
have updated this gaggle of packages. I have found that the
dependencies do not necessarily update when I update the package that
relies on them. It can take a few passes of readi
801 - 900 of 2111 matches
Mail list logo