Re: [R] Error: 'format_glimpse' is not an exported object from 'namespace:pillar'

2023-03-21 Thread Ivan Krylov
Something in the code you're trying to run attempted to call pillar::format_glimpse [1]. The problem is, there's no format_glimpse in the version of pillar installed on your computer. The format_glimpse function appeared in pillar 1.5.1 [2]. Can you install a newer version of pillar? -- Best

[R] Error: 'format_glimpse' is not an exported object from 'namespace:pillar'

2023-03-21 Thread Sorkin, John
I am receiving the following error message. I don't understand what it means, and I don't know how to fix it. I am running my code in R studio. I do not know if the error comes from R or RStudio. Please see session data below, Thank you, John version data: platform x86_64-w64-mingw32

Re: [R] DOUBT

2023-03-21 Thread avi.e.gross
Your spelling of: HH size Is two word. -Original Message- From: R-help On Behalf Of Nandini raj Sent: Monday, March 20, 2023 1:17 PM To: r-help@r-project.org Subject: [R] DOUBT Respected sir/madam can you please suggest what is an unexpected symbol in the below code for running a

Re: [R] DOUBT

2023-03-21 Thread Bill Dunlap
The HH Size is the problem - it doesn't follow R's rules for a name. Put backticks around it: `HH Size`. -Bill On Tue, Mar 21, 2023 at 9:47 AM Nandini raj wrote: > Respected sir/madam > can you please suggest what is an unexpected symbol in the below code for > running a multinomial logistic

Re: [R-es] preguntas múltiples y creación de variables

2023-03-21 Thread juan manuel dias
hola muchas gracias! me hice mucho lío en cómo lo pene´finalmente usé este código que me srvió para resolver lo que estaba buscando! gracias! misdatos<-misdatos %>% mutate(excel = case_when(grepl("Excel", r5) ~ 1, TRUE ~ 0)) %>% mutate(oracle =

Re: [R] Good Will Legal Question

2023-03-21 Thread John Fox
Dear Timothy, On 2023-03-21 1:38 p.m., Ebert,Timothy Aaron wrote: My guess: It I clear from the link that they can use the R logo for commercial purposes. The issue is what to do about the "appropriate credit" and "link to the license." How would I do that on a hoodie? Would they need a web

Re: [R] Categorical variable in MA

2023-03-21 Thread Bert Gunter
This list is about general help for coding in R. I see no indication of that in your query, which appears to concern statistical methodology. In any case, R has a meta-analysis SIG that would seem to fit your query better: https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis Cheers, Bert

Re: [R] Good Will Legal Question

2023-03-21 Thread Ebert,Timothy Aaron
My guess: It I clear from the link that they can use the R logo for commercial purposes. The issue is what to do about the "appropriate credit" and "link to the license." How would I do that on a hoodie? Would they need a web address or something? -Original Message- From: R-help On

Re: [R] DOUBT

2023-03-21 Thread John Fox
Dear Nandiniraj, Please cc r-help in your emails so that others can see what happened with your problem. You don't provide enough information to know what exactly is the source of your problem -- you're more likely to get effective help if you provide a minimal reproducible example of the

Re: [R] Good Will Legal Question

2023-03-21 Thread John Fox
Dear Arid Sweeting, R-help is probably not the place to ask this question, although perhaps since you're seeking moral advice, people might want to say something. I would normally expect to see a query like this addressed to the R website webmasters, of which I'm one -- with the caveat that

Re: [R] DOUBT

2023-03-21 Thread John Fox
Dear Nandini raj, You have a space in the variable name "HH size". I hope this helps, John John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://socialsciences.mcmaster.ca/jfox/ On 2023-03-20 1:16 p.m., Nandini raj wrote: Respected sir/madam can you please

Re: [R] [External Email] DOUBT

2023-03-21 Thread Christopher Ryan via R-help
Usually R provides a somewhat informative error message about where, exactly, it was surprised by something. Here, I suspect (not certain, without seeing the error message) that R was objecting to the space between HH and size. R cannot tell whether that represents two different variables where

[R] Categorical variable in MA

2023-03-21 Thread Pier-Alexandre Tardif
Good morning, We're undertaking a meta-analysis in which we have an association between a dichotomous outcome (mortality) and a categorical variable with multiple choices (usually between 3 and 4). However, the reference isnt always the same, so we could have study A who present results with

[R] DOUBT

2023-03-21 Thread Nandini raj
Respected sir/madam can you please suggest what is an unexpected symbol in the below code for running a multinomial logistic regression model <- multinom(adoption ~ age + education + HH size + landholding + Farmincome + nonfarmincome + creditaccesibility + LHI, data=newdata)

[R] Good Will Legal Question

2023-03-21 Thread Coding Hoodies
Hi R Team!,   We are opening a new start up soon, codinghoodies.com, we want to make coders feel stylish.   Out of goodwill I wanted to ask you formally if I can have permission to use the standard R logo on the front of hoodies to sell? I have read your rules but wanted to ask as I feel a

Re: [R] Rprofile.site and automatic installation of missing packages

2023-03-21 Thread Duncan Murdoch
On 21/03/2023 9:58 a.m., PIKAL Petr wrote: Hallo Duncan Tested but does not work so something other must be wrong. R version 4.2.2. installed.packages()[,"Package"] base boot classcluster codetools compiler datasetsforeign

Re: [R] Rprofile.site and automatic installation of missing packages

2023-03-21 Thread PIKAL Petr
Hallo Duncan Tested but does not work so something other must be wrong. R version 4.2.2. > installed.packages()[,"Package"] base boot classcluster codetools compiler datasetsforeign graphics grDevices grid

Re: [R] Rprofile.site and automatic installation of missing packages

2023-03-21 Thread PIKAL Petr
Thanks Duncan I expected some silly mistake on my side. Just for completeness, I finally tested .Rprofile file with the code and it worked. So now the question is whether to use your suggestion or .Rprofile file way. I tend to use Rprofile.site way as it enables experienced users to modify

Re: [R] Rprofile.site and automatic installation of missing packages

2023-03-21 Thread Duncan Murdoch
?Startup says: "Note that when the site and user profile files are sourced only the base package is loaded, so objects in other packages need to be referred to by e.g. utils::dump.frames or after explicitly loading the package concerned." So you need utils::installed.packages and

[R] Rprofile.site and automatic installation of missing packages

2023-03-21 Thread PIKAL Petr
Dear all. I am trying to install missing (not installed) packages during startup of R through code in Rprofile.site but I miserably failed and I am not sure what I am doing wrong. R is installed to C:Program files but it is not writable for the users, therefore I cannot change

[R] [Rd] R 4.3.0 scheduled for April 21

2023-03-21 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R-es] preguntas múltiples y creación de variables

2023-03-21 Thread Proyecto R-UCA
Buenas, las imágenes no se ven por lo que no puedo reproducir tu ejemplo, pero tal vez lo siguiente te valga: > library('stringr') > d <- data.frame(respuestas = c('manzana, naranja', 'manzana, melocotón', > 'naranja, melocotón')) > d respuestas 1 manzana, naranja 2 manzana,

[R] Optimizing with constraints using alabama

2023-03-21 Thread Depratti, Roland A. (Student) via R-help
Hi, I am testing code that is working successfully using constrOptim. I am replacing constrOptim with other solvers to compare benefits and performance. My belief was that, like constrOptim, auglag in the alabama package would eliminate beta vectors that failed the constraints prior