[R] Writing a function that calls the gt() function

2021-04-25 Thread phil
I am trying to write a function that produces a table using the gt() function. My reprex succeeds in producing a simple table by transposing a data frame and creating a table from it. But when I try to convert this code into a function, in order to generalize for a variety of different data

Re: [R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Larry Johnson
I'll put that in my notes. Thanks! ​Larry Johnson Editor and Publisher Cobb County Courier 404-664-2034 http://cobbcountycourier.com From: Hadley Wickham Sent: Sunday, April 25, 2021 7:14 PM To: Larry Johnson Cc: Duncan Murdoch ; r-help@r-project.org

Re: [R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Hadley Wickham
If this happens again in the future, you might try the development version of pak: install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/;) pak::pak("tidyverse") pak automatically diagnoses a number of common problems that causes install.packages() to fail. Hadley On Sun, Apr 25,

Re: [R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Larry Johnson
It was pointed out to me by Jeff Newmiller that I should have been hitting "reply all" so that others could see the thread and make comment, corrections, or benefit from any solution. So, I'm going to summarize the end result. Duncan Murdoch walked me through some diagnostic steps, and what

Re: [R] input string ... cannot be translated to UTF-8, is it valid in 'ANSI_X3.4-1968'?

2021-04-25 Thread John Kane
The tab format seems to read in with no problem. On Thu, 22 Apr 2021 at 23:08, Duncan Murdoch wrote: > > On 22/04/2021 9:25 p.m., Spencer Graves wrote: > > Hello: > > > > > > What if anything should I do regarding notes from either "load" or > > "attach" that, "input string ... cannot be

Re: [R] Query

2021-04-25 Thread John Kane
What package has the irf function? On Fri, 23 Apr 2021 at 09:34, Sun Yong Kim wrote: > > Hi > > I have been trying to circulate a question but my question keeps getting > rejected. Let me try again via email. The message is below: > > I am trying to change the tick size for IRF graphs that I

Re: [R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Jeff Newmiller
These are all contributed packages... don't file a bug report on R. Also, tidyverse is a rediculously sprawling meta-package that seems prone to faulty dependency data. If you have a oroblem getting the right version of broom then focus on solving that. One possibility is that your CRAN mirror

Re: [R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Duncan Murdoch
On 25/04/2021 10:52 a.m., Larry Johnson wrote: Hi. Short version. tidyverse disappeared from my packages, and won't install. The initial failure stated I had an outdated broom package, but updates are failing too, not just on broom, but on all packages, and there is no meaningful error

Re: [R-es] Consulta

2021-04-25 Thread Juan Abasolo
Buen domingo. Mientras contesta la gente que sabe, te diría que te fijaras en Telegram. Hay quichicientos grupos de Python. En el buscador ponés Python y te empiezan a aparecer. Depués te va a tocar encontrar alguno que vaya por el palo que vas vos, que eso es todo un trabajo. Y seguramente haya

[R] help finding a starting point to diagnose inability to install or update packages

2021-04-25 Thread Larry Johnson
Hi. Short version. tidyverse disappeared from my packages, and won't install. The initial failure stated I had an outdated broom package, but updates are failing too, not just on broom, but on all packages, and there is no meaningful error output on the installation failures. I typically use