Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

16 results for “from:Grzegorz Smoliński”

ODP: Modificatio of function body within a function
Grzegorz Smoliński · Apr 3, 2022 · r-help

Thank you, Bert!

dedupewider - package to dedupe records across multiple columns
Grzegorz Smoliński · Jul 16, 2021 · r-packages

Dear All, I would like to announce a one-function package dedupewider. I have used it to find companies connected by some telephone numbers to collapse it into one row, e.g. in case of this table: |tel_1|tel...

dedupewider - package to dedupe records across multiple columns
Grzegorz Smoliński · Jul 16, 2021 · r-help

Dear All, I would like to announce a one-function package dedupewider. I have used it to find companies connected by some telephone numbers to collapse it into one row, e.g. in case of this table: |tel_1|tel...

How to modify object's code living in some environment?
Grzegorz Smoliński · Dec 27, 2021 · r-help

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 is MRE: test <- function...

Modificatio of function body within a function
Grzegorz Smoliński · Apr 1, 2022 · r-help

Hi, I'm working on a presentation regarding the modification of the function body on-the-fly and just discovered something I don't understand. I would like to modify a body of the function within a function, but I...

ODP: ggplot question
Grzegorz Smoliński · Sep 15, 2021 · r-help

Hi, Isn?t a bracket missing after gc_label? So it should be: > ggplot(s8_plot, aes(fill=GTresult, y=cases, x=gc_label)) + + geom_bar(position="stack", stat="identity")) Best, Grzegorz Od: Kai Yang via R-help Wys?ano...

get line from file having 'at' step in function body
Grzegorz Smoliński · May 15, 2022 · r-help

Hi, I'm looking for the reverse operation for utils::findLineNum(). Let's take the code as below saved in file "test.R": ``` fun1 <- function() { c(1, 2, 3) } ``` Let's say in the file it starts from line 1...

ODP: ggplot question
Grzegorz Smoliński · Sep 15, 2021 · r-help

Hi, of course you can. This should work: ggplot(s8_plot, aes(fill=GTresult, y=cases, x=gc_label)) + geom_bar(position="stack", stat="identity")) + theme(axis.text.x = element_text(angle = 90, hjust = 1)) By "hjust" you make sure...

creating a new variable and merging it on the dataframe
Grzegorz Smoliński · Oct 18, 2021 · r-help

Hi, If you had really just used: wbpractice %>% mutate(gap = total.food.exp-total.nfood.exp) #gen a variable and then checked by: names(wbpractice) then the problem is just with missed assignment, i.e. it should be: wbpractice <- wbpractice...

Wild cards for dataframes
Grzegorz Smoliński · Oct 22, 2021 · r-help

Well, Wikipedia is probably the place where people who know some topic can check if people who wrote the article did it right :) You can try this short subchapter in R for Data Science (by Hadley Wickham) as a starting...

How to modify object's code living in some environment?
Grzegorz Smoliński · Dec 29, 2021 · r-help

Thank you. I posted this question on SO in the meantime as well, but there is no answer for my question, so I pasted your answer (https://stackoverflow.com/questions/70517625/how-to-use-trace-for-function-in-parent-or...

How to modify object's code living in some environment?
Grzegorz Smoliński · Dec 27, 2021 · r-help

Thank you, Ivan and Duncan. The truth is I still feel lost in this concept of environments, generally speaking. What I really thought about is the possibility to make a shiny app where there will be possible to choose the...

How to modify object's code living in some environment?
Grzegorz Smoliński · Dec 28, 2021 · r-help

Thank you for all the comments. If this is not a problem, I would like to continue this thread as for me a lot of questions are still open. But if I should post other questions in different messages / topics...

Modificatio of function body within a function
Grzegorz Smoliński · Apr 2, 2022 · r-help

Thank you, I think I can say that I get it, especially when reading this explanation: "assignments within a function occur *within* the function environment unless otherwise specified", so this is just like in the example below: a <- 4 fun2...

ODP: unexpected behavior in apply
Grzegorz Smoliński · Oct 8, 2021 · r-help

Hi, but why is there a space before 6? Isn't it the source of the problem? Best regards, Grzegorz pt., 8 pa? 2021 o 20:14 Andrew Simmons <akwsimmo at gmail.com> napisa?(a): > > Hello, > > > The issue comes that...

[EXTERNAL] Re: unexpected behavior in apply
Grzegorz Smoliński · Oct 8, 2021 · r-help

This will work as well: d<-data.frame(d1 = letters[1:3], d2 = c(1,2,3), d3 = c(NA_character_,NA_character_,6)) apply(d, 2, FUN=function(x)all(x[!is.na(x)] <= 3)) d1 d2 d3 FALSE...

Can't find what you're looking for? Try searching with Google .