Displaying 20 results from an estimated 5000 matches similar to: "conflicted: an alternative conflict resolution strategy"
2018 Aug 24
1
conflicted: an alternative conflict resolution strategy
If you have to load two packages which both export the same name in their namespaces, namespace does not help in resolving which synonymous function to use. Neither does it help to have a package instead of a script as long as you end up loading two namespaces with name conflicts. The order of importing namespaces can also be difficult to control, because you may end up loading a namespace already
2018 Aug 23
0
conflicted: an alternative conflict resolution strategy
First, some general comments:
This sounds like a useful package.
I would guess it has very little impact on runtime efficiency except
when attaching a new package; have you checked that?
I am not so sure about your heuristics. Can they be disabled, so the
user is always forced to make the choice? Even when a function is
intended to adhere to the superset principle, they don't always
2018 Aug 24
0
conflicted: an alternative conflict resolution strategy
Dear Hadley,
There's been some mails from you lately about packages on R-devel. I would
argue that the appropriate list for that is R-pkg-devel, as I've been told
myself not too long ago. People might get confused and think this is about
a change to R itself, which it obviously is not.
Kind regards
Joris
On Thu, Aug 23, 2018 at 8:32 PM Hadley Wickham <h.wickham at gmail.com>
2018 Aug 24
0
conflicted: an alternative conflict resolution strategy
Hadley,
Overall seems like a cool and potentially really idea. I do have some
thoughts/feedback, which I've put in-line below
On Thu, Aug 23, 2018 at 11:31 AM, Hadley Wickham <h.wickham at gmail.com>
wrote:
>
> <snip>
>
> conflicted applies a few heuristics to minimise false positives (at the
> cost of introducing a few false negatives). The overarching goal is
2020 May 20
3
Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
Dear R Developers,
###
# Context:
###
When managing Search Path Conflicts (See:
https://developer.r-project.org/Blog/public/2019/03/19/managing-search-path-conflicts/index.html),
with:
options(conflicts.policy = "strict")
We get the following behaviour when loading a package (Eg: dplyr):
library(dplyr)
## Error: Conflicts attaching package ?dplyr?:
##
## The following objects are
2017 Aug 07
1
tidyquant error downloading symbols for Index
Hi R Helpers,
I recently tried to take advantage of the ability to download all the
tickers in the S&P 500 using the functionality of tidyquant, but it threw
an error.
For summary, the set of commands that I ran was
library(tidyquant)
tq_index_options()
tq_index("SP500")
sessionInfo()
R feedback including error message and sessionInfo are provided below.
Guidance would be
2018 Feb 12
4
problema de fechas
hola Patricio, usa:
dplyr::if_else
[[alternative HTML version deleted]]
2019 Oct 05
3
should base R have a piping operator ?
On Sat, 5 Oct 2019 at 17:15, Hugh Marera <hugh.marera at gmail.com> wrote:
>
> How is your argument different to, say, "Should dplyr or data.table be
> part of base R as they are the most popular data science packages and they
> are used by a large number of users?"
Two packages with many features, dozens of functions and under heavy
development to fix bugs, add new
2020 May 20
0
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
You can get what you are asking for now in R 4.0.0 with
globalCallingHandlers and using the packageConflictError object that
is signaled. This should get you started:
```
options(conflicts.policy = "strict")
packageConflictError
handle_conflicts <- function(e) {
cat(conditionMessage(e))
opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ")
if (opt
2024 Mar 16
3
Problem when trying to install packages
Dear Rui;
Many thanks for your reply. I have installed Rtools (rtools43-5958-5975) on
my PC and I have R version 4.3.3 and 4.3.2 to install. Also I have
installed Rstudio through Anaconda Navigator.
But I do not know how to use Rtools for installing the R packages. I would
be more than happy if you help me.
Sincerely yours
> Dear Rui;
> I hope this email finds you well. I have a problem
2017 Aug 17
2
How to install Tidyverse on Ubuntu 17.04? Getting gcc errors for -fstack-protector-strong and -Wdate-time
I'm running Ubuntu 17.04 and R 3.4.1. I installed the latter yesterday, so
I presume it's the latest version. I want to install Tidyverse, which I've
spent many happy hours with under Windows. But when I do
install.packages("tidyverse") , I get errors about unrecognized command
line options to gcc. These start when the install hits the colorspace and
munsell packages.
2020 Oct 30
3
Error: variable not found
Hello
I have a question. I made an r-script and did a few commands needed to make some new variables. They all work out well, and when I run the commands, the new variables appear in the dataset. I can also work with these new variables to make other new variables from them. Also, when I use summary(dataset), those new variables appear in the summary of the dataset.
But, when I do summary(new
2019 Oct 05
5
should base R have a piping operator ?
Yes but this exageration precisely misses the point.
Concerning your examples:
* I love fread but I think it makes a lot of subjective choices that are
best associated with a package. I think it
changed a lot with time and can still change, and we have great developers
willing to maintain it and be reactive
regarding feature requests or bug reports
*.group_by() adds a class that works only (or
2017 Sep 06
3
withr::set_makevars
Hi All;
This problem has come about from trying to learn some of the review practices recommend by rOpensci. One of them is to use the package goodpractice. After installing goodpractice, it kept failing on my own packages which are under development, and I was concerned something was funny in my own , so I have a fork of the package rerddap, and I tested goodpractice on that. I get the
2016 Apr 27
0
R Script Template
The subject of your email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it.
--
Sent from my phone. Please excuse my brevity.
On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote:
>Hi All,
>
>I am addressing this post to all
2017 Sep 07
0
withr::set_makevars
withr:::set_makevars() can give that error if the makefile named by the
'old_path' argument (default "~/.R/Makevars) contains more than one
definition of a variable of the form 'name=value'. You can see what file
it is reading and its contents by using the trace() function:
trace(withr:::set_makevars, quote({ cat(old_path, "\n");
writeLines(paste0(" ",
2016 Apr 27
2
R Script Template
Hi All,
I am addressing this post to all who are new to R.
When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets
together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that
2024 Mar 16
1
Problem when trying to install packages
Though Navigator may mess up any Rtools stuff because it handles the
directory trees where packages and dependencies are located, does it not?
If so, maybe just reinstall RStudio directly from its website to proceed.
Just a guess obviously.
Bert
On Sat, Mar 16, 2024, 05:09 javad bayat <j.bayat194 at gmail.com> wrote:
> Dear Rui;
> Many thanks for your reply. I have installed Rtools
2024 Mar 16
1
Problem when trying to install packages
Dear all;
I found a useful video on youtube that has explained how to install Rtools.
I followed the instructions and the problem was solved.
" Installing R version 4.0 + RTools 4.0 + RStudio For Data Science (#R
#RTools #RStudio #DataScience) - YouTube
<https://www.youtube.com/watch?v=h2IPWVXaUuU> "
Sincerely
On Sat, Mar 16, 2024 at 10:15?AM Bert Gunter <bgunter.4567 at
2023 May 16
1
Newbie: Drawing fitted lines on subset of data
Hello,
I's still working with my tsibble of weight data for the last 20 years.
In addition to drawing an overall trend line, using lm, for the whole
data set, I'd like to draw short lines that would recompute lm and draw
it, say, just for the years from 2010:2015.
Here's a short example that I think illustrates what I'm trying to do.
The commented out sections show what