that can't be resolved. And there's that last sentence.
I think for what you want, you'd have to write the DLL (i.e. libtorch)
in such a way that it does delayed loading of its dependencies.
Duncan Murdoch
On 31/01/2023 10:16 p.m., Michael Milton wrote:
On Linux, if I have a .so fil
Or directly to bugs.r-project.org . It definitely looks to me like a bug.
Instructions for bug reports are here:
https://www.r-project.org/bugs.html . David might need to set up a
Bugzilla account according to those instructions before reporting.
Duncan Murdoch
On 31/01/2023 1:40 p.m
The akima package has a problematic license (it doesn't allow commercial
use), so it's been recommended that people use the interp package
instead. When I use interp::interp instead of akima::interp, I get
reasonable output from your example.
So that's another reason to drop akima...
Duncan
(pattern2, x)), width = 10)
```
you can see that it does find the match, so the combination of *? and
\\1 must be messing up regexpr(). They seem to work perfectly fine on
their own.
On Wed, Jan 25, 2023 at 7:57 PM Duncan Murdoch wrote:
Thanks for pointing out my mistake. I oversimplified
```html
blah blah
```
```r
blah blah
```
Is that a bug, or am I making a silly mistake again?
Duncan Murdoch
On 25/01/2023 7:34 p.m., Andrew Simmons wrote:
grep(value = TRUE) just returns the strings which match the pattern. You
have to use regexpr() or gregexpr() if you wan
On 25/01/2023 7:19 p.m., Duncan Murdoch wrote:
The docs for ?regexp say this: "By default repetition is greedy, so the
maximal possible number of repeats is used. This can be changed to
‘minimal’ by appending ? to the quantifier. (There are further
quantifiers that allow approximate mat
would give me the first match to
"a.*a", without greedy expansion of the .*?
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
to correct this issue?
You'll need to ask the RStudio people; this list is for R. I think the
right place to go is community.rstudio.com (but that will eventually
change; the company has renamed itself to "Posit").
Duncan Murdoch
_
o "yamamoto {BreakPoints}" indicates that the function
is in the BreakPoints package.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posti
not an emacs user.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal
ee the new vignette (online here:
https://dmurdoch.github.io/rgl/articles/deprecation.html) for more
details about the changes.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-h
ot;newname" and the
second with "newnumber", so the string ends up looking like
s <- ""
I could write a function to do this using regexec() and two calls to
`substring<-`(), but I'm hoping someone has already done that. Any
suggestions?
Duncan M
On 14/01/2022 3:54 p.m., Bert Gunter wrote:
Unlikely.
1/0
[1] Inf ## not NA
However:
> if (0/0 <= 1) print("something")
Error in if (0/0 <= 1) print("something") :
missing value where TRUE/FALSE needed
Duncan Murdoch
Bert
On Fri, Jan 14, 2022 at 12:41 P
the
scatterplot.
Any other guidance will be greatly appreciated.
That's exactly what the ellipses package was designed to do. If you
don't see how to use it, post an example of the scatterplot and model
fitting you used, and someone will be able to show you how to draw the
ellipses.
Duncan Murdoch
been unanswered and undeleted for an
hour or more.
Duncan Murdoch
On 13/01/2022 7:44 a.m., Kevin Thorpe wrote:
This is an interesting issue and something I have been thinking about raising
with my fellow volunteer moderators.
I honestly don’t know what the best solution is. Personally, I would
r(), max=max(numbering))
view(temp)
f_table <- table(temp$Species)
view(f_table)
f_table
}
f_table <- f1(iris, Species)
It's not so easy to also make temp available. You can do it with
assign(), but I think you'd be better off splitting f1 into two
functio
t one of the packages has
some buggy code, but I don't know which one. Currently I'm running the
script after running gctorture(); that's really slow. If it turns up
anything I'll let you know.
Duncan Murdoch
On 06/01/2022 10:23 a.m., Chuck Coleman wrote:
I've created a git repository at
Finally, you don't need to use your mouse to change the window size; you
can specify width and height in the snapshot3d() call, and the window
will change as requested.
Duncan Murdoch
On 05/01/2022 8:32 p.m., Sorkin, John wrote:
I'll try that.
Get Outlook for iOS &l
been methods
to use with Sweave as well, but those aren't being maintained: people
should use knitr instead.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do rea
assume other hosting services do too,
though I haven't used many.
People seem to be unreasonably reluctant to put their code into packages.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mai
ight
evaluation frame, and print all the values involved in the condition.
You can also just use cat() to print everything just before the bad
statement, e.g.
cat("xseg[w1]=", xseg[w1], " ub=", ub, " m=", m, " lb=", lb, "\n")
and then see if
it is fine for you.
No problem, though I'd suggest posting the answer as an answer, rather
than an edit to your question.
Duncan Murdoch
śr., 29 gru 2021 o 11:24 Duncan Murdoch napisał(a):
On 28/12/2021 4:21 p.m., Grzegorz Smoliński wrote:
Thank you for all the comments
nction() {
fun1 <- function(){
b <- 2
b
}
trace("fun1", browser, where = globalenv())
environment()
}
Now if you do e <- fun2(), you'll set the trace on the global fun1, but
e$fun1 will be the local one.
I don't really know how Shiny sets things up, so I can't h
On 27/12/2021 8:25 a.m., Duncan Murdoch wrote:
On 27/12/2021 8:06 a.m., Grzegorz Smoliński wrote:
Hi,
I know it is possible to find the environment in which some object
lives using the 'environment()' function and the name of this object,
but how to modify code of this object after this? Below
On 27/12/2021 8:25 a.m., Duncan Murdoch wrote:
On 27/12/2021 8:06 a.m., Grzegorz Smoliński wrote:
Hi,
I know it is possible to find the environment in which some object
lives using the 'environment()' function and the name of this object,
but how to modify code of this object after this? Below
g in R. Just change that
third line into two statements:
e <- environment(test)
e$test <- eval(parse(text = "function() 2"))
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://sta
9 6 6
9 11 8 9
12 15 9 10
14 16 11 11
15 17 14 12
18 18 15 13
19 19 17 14
2019 16
20 18
19
with his example data.
Duncan Murdoch
*Stephen Dawson, DSL*
/Executive Strategy Consultant/
Business & Technology
+1 (865) 804-3454
http://www.shdawson.com <http:/
must first go to a dataframe?
No, that's just one option. The other 3 don't use dataframes.
Duncan Murdoch
*Stephen Dawson, DSL*
/Executive Strategy Consultant/
Business & Technology
+1 (865) 804-3454
http://www.shdawson.com <http://www.shdawson.com>
On 12/22/21 10:47 AM, Duncan Mur
o happen when you auto-print the object, you can give
it a class attribute and write a function to print that class, e.g.
> class(v) <- "oneperline"
>
> print.oneperline <- function(x, ...) cat(format(x, justify =
"right"), sep = "\n")
>
>
On 21/12/2021 12:53 p.m., Duncan Murdoch wrote:
On 21/12/2021 12:29 p.m., Jeff Newmiller wrote:
It is a very rational choice, not a design flaw. I don't like every choice they
have made for that class, but this one is very solid, and treating data frames
as lists of columns consistently helps
as using matrix notation. But for operating on whole rows, matrices are
about 100 times faster than dataframes. You shouldn't use notation that
makes the switch to matrices more difficult.
Duncan Murdoch
On December 21, 2021 9:02:56 AM PST, Duncan Murdoch
wrote:
On 21/12/2021 11:59 a.m
On 21/12/2021 11:59 a.m., Jeff Newmiller wrote:
Intuitive, perhaps, but noticably slower. And it doesn't work on tibbles by
design. Data frames are lists of columns.
That's just one of the design flaws in tibbles, but not the worst one.
Duncan Murdoch
On December 21, 2021 8:38:35 AM PST
On 21/12/2021 11:31 a.m., Duncan Murdoch wrote:
On 21/12/2021 11:20 a.m., Stephen H. Dawson, DSL wrote:
Thanks for the reply.
sort(unique(Data[1]))
Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing =
decreasing)) :
undefined columns selected
That's the wrong syntax
e
Data[[1]] for that, so
sort(unique(Data[[1]]))
I think Rui already pointed out the typo in the quoted text below...
Duncan Murdoch
The recommended syntax did not work, as listed above.
What I want is the sort of distinct column output. Again, the column may
be text or numbers. This
it with ease.
I've seen several responses that looked pretty simple. It's hard to
beat sort(unique(x)), though there's a fair bit of confusion about what
you actually want. Maybe you should post an example of the code you'd
use in Python?
Duncan Murdoch
QUESTION
Is there a simpler means
code here:
https://stackoverflow.com/a/69179441/2554330
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
t;ab12" "ab13" "ab14" "ab15" "ab16" "ab17"
"ab18" "ab19" "ab2" "ab20" "ab3" "ab4" "ab5" "ab6"
[18] "ab7" "ab8" &
I don't know the answer to your question, but I see the same behaviour
on MacOS, e.g. list.files("./") includes ".//R" in the results on my
system. Both "./R" and ".//R" are legal ways to express that path on
MacOS, so it's not a serious bug, but it do
‘fansi’
You should show us how you installed them. Normally an install will
fail if a required dependency is missing.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
languages, and can start
processes, etc. R doesn't know everything going on in every function
call, and would have a lot of trouble saving it.
If you added some limitations, e.g. a process that periodically has its
entire state stored in R variables, then it would be a lot easier.
Duncan Murdoch
The reason for this behaviour is that finding methods is a lot slower
than just evaluating the built-in function. So R takes the time to
determine if there's an attribute named "class" attached, but doesn't go
searching further if there isn't one.
Duncan Murdoch
On 02/12/202
posted. I don't have
any experience dealing with such things, but that's where I'd look for a
fix.
Duncan Murdoch
set.seed(132)
#~~~
# This works
n <- 1000# OK <= 4095
Z <- qnorm(ppoints(n))
k <- sort(r
is happening is simply the default formatting.
Be explicit about the format if you want to see the seconds, e.g.
> format(ssdf$data_POSIX, format = '%Y-%m-%d %H:%M:%S')
[1] "2002-11-01 00:00:00" "2002-11-01 00:00:00"
Duncan Murdoch
ssdf<-read.csv(text="data_POSIX,Sen
to objects
mec1.p
mec2.p
meb1.p
meb2.p
mej12.p
mej22.p
Use a global search and replace on your source code, and create them
with the correct names.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
corresponding
to rows and columns. The interp::interp() function in the interp
package should be able to convert your data to this format; see its help
page. An alternative is the akima::interp() function, which may have
licensing issues.
Duncan Murdoch
() method (the one you call on res, that
calls the formula method) allows you to change other things.
So you could do it this way:
res <- lm(mpg ~ wt + cyl, data=mtcars)
f <- function(x) {
y <- rnorm(nobs(x))
newdata <- cbind(model.frame(x), y)
update(x, formula = y ~ ., da
if he did manage to contact all the copyright holders, some of them
would probably not agree to more permissive licenses. For example, I am
a copyright holder on some parts of the source, and I wouldn't agree to
relicensing.
Duncan Murdoch
On November 9, 2021 12:21:18 PM PST, Duncan
s question is whether he can
copy R source into his package.
Duncan Murdoch
I can't foresee this request finding a positive response from R Core, but email
seems the most correct approach.
On November 9, 2021 11:34:12 AM PST, Bert Gunter wrote:
Questions about package development should be p
y, many authors, and some of us
will not agree to changing the license to a more permissive form.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the pos
It looks as though you ran
read.csv(12agosto.csv)
You need to put the filename in quotes:
read.csv("12agosto.csv")
Duncan Murdoch
On 08/11/2021 8:59 p.m., cue...@cicese.mx wrote:
\n<>\n\n \n<> \n<>\n\n\n\n
--please do not edit the information below--
R Versi
On 08/11/2021 3:56 p.m., Stephen P. Molnar wrote:
On 11/08/2021 03:15 PM, Duncan Murdoch wrote:
On 08/11/2021 2:57 p.m., Stephen P. Molnar wrote:
I have uptodate Debian Buster on my Linux platform and have been
compiling R distros for quite some time, usually with success.
This time I have
will be greatly appreciated.
I think you'll need to describe what you did that led to this error.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
I've submitted a bug report and patch:
https://bugs.r-project.org/show_bug.cgi?id=18232
Duncan Murdoch
On 07/11/2021 12:20 p.m., Duncan Murdoch wrote:
Here's how to construct a similar deparsing error:
# e1 and e2 are obviously different expressions
e1 <- quote(5 * if (TRUE) 2 else 3/4)
)
#> [1] 10
eval(e3)
#> [1] 2.5
Duncan Murdoch
On 07/11/2021 6:27 a.m., Duncan Murdoch wrote:
On 06/11/2021 11:32 p.m., Deepayan Sarkar wrote:
On Sun, Nov 7, 2021 at 6:05 AM Rolf Turner wrote:
I have two functions which appear to differ only in their environments.
They look like:
ched to them is lying,
and we're not seeing the deparsed versions of the functions. Printing
removeSource(d1) and removeSource(d2) should reveal that.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.eth
On 04/11/2021 12:36 p.m., Bert Gunter wrote:
" Running `methods(names)` lists quite a few methods, ..."
Depending on what packages you have loaded of course.
Yes, just one is in a base package.
Duncan Murdoch
__
R-help@r-project.org ma
, but you're right, there's no
names.data.frame because it's not needed, the default method is fine.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
On 03/11/2021 3:42 p.m., Duncan Murdoch wrote:
On 03/11/2021 2:54 p.m., Andrew Simmons wrote:
... deletions ...
As a side note, I would suggest making your class through the methods
package, with methods::setClass("pm", ...)
See the documentation for setClass for more det
;minuteSleep_merged.csv", "minuteStepsNarrow_merged.csv",
“minuteStepsWide_merged.csv", "sleepDay_merged.csv",
"minuteStepsWide_merged.csv", "sleepDay_merged.csv",
"weightLogInfo_merged.csv")
That just puts the names togethe
g a Bioconductor package you should probably use the
formal methods. If you're writing code for other purposes, you should
think about whether you need formal classes at all, and if so, whether
the methods package formalism is a match for what you're doing.
to get duplication are in
the initial construction of the list, or by explicit manipulation of the
names attribute. So be careful when you do those, and lists can work.
Duncan Murdoch
x
$x
[1] 1 2 3 4 5
$y
[1] "January" "February" "March" &qu
layed, and it's hard to
predict which. Rounding error sometimes goes one way, sometimes the
other. You can mitigate this by using the "polygon_offset = 1" material
property on the polygons drawn by show2d().
Duncan Murdoch
__
R-help@r-projec
dth=1, y=0.5 )
})
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, m
.
Thanks in advance for any help.
How are you drawing the plot? If you are using rgl you could display a
PNG file as a texture on a quadrilateral, or use the show2d() function
to draw an R flat graphic and display that on a quadrilateral.
Duncan Murdoch
sn't say what an "inset" of the middle value would be.
To move things slightly away from the middle, I think you've got to look
at par("usr") and place it yourself, giving numerical values for x and y.
Duncan Murdoch
__
R-help@r-projec
y <- utils::bibentry(
bibtype = "Manual",
title = "The Thing",
author = person("The Data People"),
organization = "The Data Org",
year = format(Sys.Date(), "%Y")
)
There's an example just like this in the help page. Sometimes it hel
On 29/10/2021 11:04 a.m., Martin Maechler wrote:
Duncan Murdoch
on Fri, 29 Oct 2021 09:07:31 -0400 writes:
> On 29/10/2021 4:34 a.m., PIKAL Petr wrote:
>> Hi
>>
>> One has to be careful when using fractions in seq step.
>>
&
size from 0.5 to 0.3 would break things).
A better idea is to modify a sequence of integers. For example, to get
1.5 to 3.5 by 0.5, you can do (3:7)*0.5, and for 0 to 3 by 0.3, use
(0:10)*0.3.
Duncan Murdoch
__
R-help@r-project.org mailing list
n be removed, e.g.
make_formula <- function() {
# Create a local variable
large <- rnorm(10)
# Use it to create variables in the formula
x <- large + 1
y <- large + rnorm(10)
# Remove the temporary one
rm(large)
# Return the formula
x ~ y
}
Duncan Murdoc
On 20/10/2021 9:20 a.m., Jinsong Zhao wrote:
On 2021/10/20 21:05, Duncan Murdoch wrote:
On 20/10/2021 8:57 a.m., Jinsong Zhao wrote:
Hi there,
I have a RData file that is obtained by save.image() with size about
74.0 MB (77,608,222 bytes).
When load into R, I measured the size of each object
suspect rda.denitr.1 contains something that references an
environment, and it's an environment that would be saved. (I forget the
exact rules, but I think that means it's not the global environment and
it's not a package environment.)
Duncan Murdoch
Translations are done by the translation teams, listed here:
<https://developer.r-project.org/TranslationTeams.html>. If you'd like
to offer help, you could contact someone on that list.
Duncan Murdoch
On 20/10/2021 6:47 a.m., Marc Girondot via R-help wrote:
Thanks ! It works.
So &qu
and no guarantees about order, because sets are unordered.
If you need the current behaviour to be guaranteed, probably the easiest
way is to copy the function: it's very simple.
Duncan Murdoch
If so, could this be documented on the help page?
Thanks,
Petr
out argument to repeat the input as often as
necessary, e.g.
rep(c(rep(1:3, 2), rep(4:6,2)), length.out = 30)
#> [1] 1 2 3 1 2 3 4 5 6 4 5 6 1 2 3 1 2 3 4 5 6 4 5 6 1 2 3 1 2 3
Duncan Murdoch
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UN
:10, which needs to be expanded to a full
array of doubles before the entries can be changed. In 2, it is already
stored as an array of doubles so this isn't needed.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://sta
w. For
example,
behavioral_df[, "50%"]
will get you the column with name "50%", as will
behavioral_df$`50%`
I suspect most tidyverse functions will be fine with the `50%` style of
quoting.
Duncan Murdoch
__
R-help@r-projec
. If "somewhere else" isn't first in .libPaths(), R won't
see the new installs.
Duncan Murdoch
On 24/09/2021 2:04 p.m., Kevin Thorpe wrote:
I did try installing xml2 and it appeared to complete. I will ask him to try
again and send me the output.
On Sep 24, 2021, at 1:58 PM, Jeff Newmil
but if this is just for you, I guess you know if you have one.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.or
.libPaths().
Then look in that directory and remove the "car" directory. You might
want to also remove anything else that was installed before you
installed R 3.4.4, because all the old dirs in there will cause you trouble.
Duncan Murdoch
I get a similar message in Rkward when I
evaluated before
}
right(padding(df)) = 1;
It "works" (i.e. doesn't generate an error) for me, when I correct your
typo: the second argument to `right<-` should be `value`, not `val`.
I'm still not clear whether it does what you want with that fix, because
I don't really understand
new object, just use regular assignment.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and pro
On 10/09/2021 9:51 a.m., mario.corr...@croalliance.com wrote:
Thanks
Unfortunately we checked the PATH and is correctly set
Any other suggestion?
Other Windows users experiment the same problem?
What error did you see in the output dir?
Duncan Murdoch
Mario
-Original Message-
[cut
t,
don't worry about it, just make sure that pdflatex can be found on the
PATH when you actually need it.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
, or can each download count be
interpreted as a download from a real user?
I think the answer to both questions is "no". RStudio doesn't know what
happens on other mirrors, and lots of automatic tests would download
from RStudio's mirrors.
Dunc
format
More information:
https://stackoverflow.com/questions/69073165/r-many-package-imports-have-issues-related-to-pillar
What does "library(pillar)" show?
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,
raph_results$k[j]=as.integer(results_list[[indiv_meta]]$k)-num_dups
j=j+1
}
----
*From:* Duncan Murdoch
*Sent:* Monday, September 6, 2021 5:49 PM
*To:* John Tully ; r-help@R-project.org
*Cc:* McCutcheon, Robert
*Subject:*
/blob/master/vignettes/SWATplusR.Rmd
I think you'll need to raise this as an "Issue" on that Github site;
it's not really something we're likely to be able to help with (and is
formally off-topic here, being a contributed package).
Duncan Murdoch
I can get so far, as shown beneath
just sloppy. In any case, you might be able to fix it by
changing single_study_df to a dataframe using
single_study_df <- as.data.frame(single_study_df)
Duncan Murdoch
On 06/09/2021 12:34 p.m., Duncan Murdoch wrote:
On 06/09/2021 10:16 a.m., John Tully wrote:
Dear colleagues
in condu
to
due to loss of precision. * Locations: 1, 2. Run `rlang::last_error()` to see where the
error occurred.
That certainly looks like a tidyverse error, specifically from the
tibble package.
Duncan Murdoch
This follows the commands
for (region in regions){
for (study in unique(df$studyid
, the document below produces two PDF
figures with different heights but the same width.I called the
document Untitled.Rmd, so the figures show up in
Untitled_figures/figure-latex/fig1-1.pdf and
Untitled_figures/figure-latex/fig2-1.pdf.
---
title: "Untitled"
author: "Duncan
e is exposed.
i wonder, can you explain why the two are different?
x <- lapply(...) says "set x to the list on the RHS", so x becomes a
list, not a dataframe.
x[] <- lapply(...) says "set the values in x to the values in the list
on the RHS", so
On 01/09/2021 6:29 p.m., Rolf Turner wrote:
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&quo
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" argument. If the variables
in question cannot be found in "data" then they should be sought in
the global environment.
My problem is
() in the top hits given the words in your original
question. Some questions need intelligence to interpret, not just
pattern matching.
Other than asking on this list, there's stackoverflow.com to get humans
involved in the search.
Duncan Murdoch
yours sincerely
AKSHAY M KULKARNI
ases, talking to a local expert is the best
solution.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm
If you start R just using the regular command line version (not
RStudio), does
Sys.getenv("R_DOC_DIR")
point to /usr/share/R/doc ? The standard R startup script should do
that, but if it doesn't maybe you've got an override?
Or maybe you have R_DOC_DIR defined yoursel
Jeff pointed out where the doc directory is installed in Ubuntu:
/usr/share/R/doc. So this is definitely an RStudio issue: perhaps it
got "tweaked", or perhaps Rolf installed a version meant for some other
distribution. In either case, off-topic in R-help, I think.
Duncan Murdoch
involving simulation way out in the tails.
The main negative about using logs is that they aren't always needed.
Duncan Murdoch
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
(x=m[,"x"], y=m[,"y"])) + geom_point() # OK
Duncan Murdoch
Hope this helps,
Rui Barradas
Às 22:31 de 24/07/21, Jeff Reichman escreveu:
Duncan
I need to plot the results (ggplot2) and I'm thinking I can only use a data.frame object
in ggplot2. It is a rath r large &qu
faster.
Duncan Murdoch
On 24/07/2021 9:18 a.m., Jeff Reichman wrote:
How does one convert a list into a data frame?
str(weight_chains)
List of 1
$ : 'mcmc' num [1:10, 1:3] -105 -105 -105 -104 -103 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : NULL
.. ..$
101 - 200 of 5377 matches
Mail list logo