[R] Oddity with internet access and R 11.0 with Sophos firewall and Windoze XP - solved

2010-04-23 Thread Chris Evans
path but not, yet, the 11.0.0 one, could it be that?) However, ultimately this seems to me to be a problem with Sophos's firewall not R and I'm just reporting it here in case anyone else sees the same and finds this helpful. Thanks to the R team, yet again, for an amazing product! Chris -- Chris

Re: [R] What is the best way to have R output tables in an MS Word format?

2010-05-01 Thread Chris Evans
, self-contained, reproducible code. -- Chris Evans ch...@psyctc.org Skype: chris-psyctc Consultant Psychiatrist in Psychotherapy, Notts. PDD network; Trust Research Governance Lead and Clinical Director, Psychological Therapies Directorate in Local Services, Nottinghamshire NHS Trust

Re: [R] Odp: What is the best way to have R output tables in an MS Word format?

2010-05-03 Thread Chris Evans
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Chris Evans ch...@psyctc.org Skype: chris-psyctc Consultant Psychiatrist in Psychotherapy, Notts. PDD network; Trust Research Governance Lead and Clinical Director

Re: [R] What is the best way to have R output tables in an MS Word format?

2010-05-03 Thread Chris Evans
best, Chris -- Chris Evans ch...@psyctc.org Skype: chris-psyctc Consultant Psychiatrist in Psychotherapy, Notts. PDD network; Trust Research Governance Lead and Clinical Director, Psychological Therapies Directorate in Local Services, Nottinghamshire NHS Trust; Professor, Psychotherapy

[R] OT: batch processing XLS files to CSV

2008-05-29 Thread Chris Evans
there are more specific lists or web resources but I think the skills are here too and if someone can tell me how to do this all in R, I'd be fascinated. Many thanks, Chris -- Chris Evans [EMAIL PROTECTED] Skype: chris-psyctc Professor of Psychotherapy, Nottingham University; Consultant Psychiatrist

[R] extending strsplit to handle missing text that doesn't have the target on which to split

2009-05-07 Thread Chris Evans
I am sure there is an obvious answer to this that I'm missing but I can't find it. I'm parsing headers of Emails and most have a date like this: Wed, 16 Nov 2005 05:28:00 -0800 and I can parse that using: tmp.dat.data - matrix(unlist(strsplit(headers$Date.line,,)), ncol = 2, byrow = TRUE)

Re: [R] repeated measure one way anova

2008-10-28 Thread Chris Evans
between occasions? How would I ask for a conventional univariate ANOVA repeated measures lm model and its test? Sorry, I know I should know but I don't and can't see it in ?lm, ?formula. TIA, Chris -- Chris Evans [EMAIL PROTECTED] Skype: chris-psyctc Professor of Psychotherapy, Nottingham

[R] Oddity: I seem to have a variable in a dataframe that doesn't show in colnames() - can anyone advise?

2011-05-29 Thread Chris Evans
turned up nothing. Happy to be told RTFM or the equivalent but could someone point me to a specific location? Also happy to try any diagnostics anyone recommends. Many thanks in advance, Chris -- Chris Evans ch...@psyctc.org Skype: chris-psyctc Consultant Psychiatrist in Psychotherapy, Notts

Re: [R] No speed up using the parallel package and ncpus > 1 with boot() on linux machines

2015-10-18 Thread Chris Evans
As with Milan's answer: perfect explanation and hugely appreciated. A few follow up questions/comments below. - Original Message - > From: "Jeff Newmiller" <jdnew...@dcn.davis.ca.us> > To: "Chris Evans" <chrish...@psyctc.org> > Cc: r-help@r-proje

Re: [R] No speed up using the parallel package and ncpus > 1 with boot() on linux machines

2015-10-18 Thread Chris Evans
- Original Message - > From: "Milan Bouchet-Valat" <nalimi...@club.fr> > To: "Chris Evans" <chrish...@psyctc.org>, r-help@r-project.org > Sent: Saturday, 17 October, 2015 18:13:40 > Subject: Re: [R] No speed up using the parallel package an

[R] No speed up using the parallel package and ncpus > 1 with boot() on linux machines

2015-10-17 Thread Chris Evans
I think I am failing to understand how boot() uses the parallel package on linux machines, using R 3.2.2 on three different machines with 2, 4 and 8 cores all results in a slow down if I use "multicore" and "ncpus". Here's the code that creates a very simple reproducible example: bootReps <-

[R] Help with strftime error "character string is not in a standard unambiguous format"

2016-09-12 Thread Chris Evans
I am trying to read activity data created by Garmin. It outputs dates like this: "Thu, 25 Aug 2016 6:34 PM" The problem that has stumped me is this: > strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p") Error in as.POSIXlt.character(x, tz = tz) : character string is not in a

Re: [R] Help with strftime error "character string is not in a standard unambiguous format"

2016-09-12 Thread Chris Evans
. As ever, deeply indebted to the R and R-help communities, Chris > From: "Ismail SEZEN" <sezenism...@gmail.com> > To: "Chris Evans" <chrish...@psyctc.org> > Cc: "r-help" <r-help@r-project.org> > Sent: Monday, 12 September, 2016 10:36:51 &

[R] In praise of "options(warnPartialMatchDollar = TRUE)"

2016-11-27 Thread Chris Evans
I am just posting this to the list because someone else may one day waste an hour or so because s/he has unknowingly hit a partial match failure using "$". It's my folly that I did but I am surprised that options(warnPartialMatchDollar = TRUE) isn't the default setting. Here's a bit of

Re: [R] In praise of "options(warnPartialMatchDollar = TRUE)"

2016-11-27 Thread Chris Evans
hers using dataframe[['newVariable']] <- nextVector ? Very best wishes and thanks again: this is an amazing list, Chris - Original Message - > From: "David Winsemius" <dwinsem...@comcast.net> > To: "Chris Evans" <chrish...@psyctc.org> > Cc: r-help@r-

Re: [R] Odd behaviour of mean() with a numeric column in a tibble

2016-12-10 Thread Chris Evans
y deeper and wider understanding of R to go right back to the basics. Thanks again to you both. I am posting here to convey thanks and in case this is useful to anyone like myself who benefits from a bit more narrative than is usually offered by R definitions and help entries. Chris

Re: [R] Odd behaviour of mean() with a numeric column in a tibble

2016-12-06 Thread Chris Evans
than the tibble documentation does, why all this is good. Thanks anyway Ista, you certainly hit the issue! Very best all, Chris > From: "Ista Zahn" <istaz...@gmail.com> > To: "Chris Evans" <chrish...@psyctc.org> > Cc: "r-helpr-project.org"

[R] Odd behaviour of mean() with a numeric column in a tibble

2016-12-06 Thread Chris Evans
I hope I am obeying the list rules here. I am using a raw R IDE for this and running 3.3.2 (2016-10-31) on x86_64-w64-mingw32/x64 (64-bit) Here is a reproducible example. Code only first require(tibble) tmpTibble <- tibble(ID=letters,num=1:26) min(tmpTibble[,2]) # fine max(tmpTibble[,2]) #

[R] Has anyone created diagrammatic representations of Access/ODBC databases using R?

2017-03-08 Thread Chris Evans
I have been on a fair old learning curve handling a fairly complex Access database with my beloved, if sometimes tantaslising, R. I've been using RODBC to do this and, despite the database not being all that well designed, the power of R and RODBC has been fantastic (of course). Huge thanks to

Re: [R] Has anyone created diagrammatic representations of Access/ODBC databases using R?

2017-03-08 Thread Chris Evans
-helpers! Chris - Original Message - > From: "Paul Murrell" <p...@stat.auckland.ac.nz> > To: "Chris Evans" <chrish...@psyctc.org> > Sent: Wednesday, 8 March, 2017 19:34:25 > Subject: Re: [R] Has anyone created diagrammatic representations of > A

[R] Surprising message "Error in FUN(newX[, i], ...) : all arguments must have the same length"

2017-09-26 Thread Chris Evans
I am hitting an odd message "Error in FUN(newX[, i], ...) : all arguments must have the same length". I can't supply the data as it's a huge data frame but I think this has enough diagnostic information to show the issue. I am sure I am missing something obvious. I've put some extra comments

Re: [R] Surprising message "Error in FUN(newX[, i], ...) : all arguments must have the same length"

2017-09-26 Thread Chris Evans
board without the first coffee of the day. Thanks! Chris > From: "Eric Berger" <ericjber...@gmail.com> > To: "Chris Evans" <chrish...@psyctc.org> > Cc: "R. Help" <r-help@r-project.org> > Sent: Tuesday, 26 September, 2017 08:41:33 >

Re: [R] Mysterious seg fault --- SOLVED

2018-08-15 Thread Chris Evans
Ah, if I'd had a fortune for every time I invoked the wrath of the IT gods and the malicious work of their gremlins, I'd be an obscenely wealthy person by now. More seriously, I can't tell you how much I appreciate the joyous flickers of humour here, amidst all the pain and suffering (yes, I

Re: [R] R web-scraping a multiple-level page

2019-04-10 Thread Chris Evans
imum number of cycles. More often than > not > assumptions about the world turn out to be overly rational. Brilliant!! Fortune nomination? And the advice was useful to me too though I'm not the OQ. Thanks, Chris -- Chris Evans Skype: chris-psyctc Visiting Professor, Universi

[R] Creating a web site checker using R

2019-08-08 Thread Chris Evans
, I'm a pretty poor programmer. If I go that way, I'm sure people may be able to point me to things I may be (legitimately) able to recycle in parts to help construct this. Thanks in advance, Chris -- Chris Evans Skype: chris-psyctc Visiting Professor, University of Sheffiel

Re: [R] table and unique seems to behave differently

2019-12-10 Thread Chris Evans
2 13 10 17888 158 21 12 208 16 17 > 17 16 15 19 > 10.5 10.6 10.7 10.8 10.9 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 > 12 > 12.1 12.2 12.3 12.4 > 17 21 30 14 24 25 23 34 51 48 51 54 53 55 61 50 > 7

Re: [R] How to read a file containing two types of rows - (for the Netflix challenge data format)

2020-01-31 Thread Chris Evans
g, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, > UCT), Dipl. Phys. (Germany) > > Orcid ID: -0002-7490-0066 > > Department of Evolutionary Biology and Environmental Studies > University of Zürich > Office Y34-J-74 > Winterthurerstrasse 190 > 8075 Z

[R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
sure can also report this as a suspected bug to the maintainer through the github issues system but I wanted to check here whether anyone could see something I'm missing as I'm really a (clinically retired) therapist and doctor, now full time researcher and I'm not a professional statistici

Re: [R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
l power of %% that I think I _will_ remember and no doubt find myself using again in the future. Thanks both, huge help to me and, as I suspected, a wasteful github issue report prevented! Chris - Original Message - > From: "PIKAL Petr" > To: "Chris Evans" , "R-hel

Re: [R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
so TIA if anyone has suggestions for that tangential question (to me off list and I'll summarise if there's much and people asking for it). Chris - Original Message - > From: cpolw...@chemo.org.uk > To: "Chris Evans" > Cc: "R-help Mailing List" > Sent:

Re: [R] Mixed format

2020-01-21 Thread Chris Evans
_ >> 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, self-contained, reproducible code.

Re: [R] Grouping Question

2020-03-22 Thread Chris Evans
> 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, self-contained, reproducible code. -- Chris Evans Visit

Re: [R] Help with ggplot error: #Error in FUN(X[[i]], ...) : object 'x' not found

2020-05-19 Thread Chris Evans
R", "NEW YORK", > "NEWARK", "NEWBURGH HEIGHTS", "NEWINGTON", "NEWNAN", "NEWPORT", > "NEWPORT BEACH", "NEWTON", "NEWTONVILLE", "NIAGARA FALLS", "NIXA", > "NOANK", "N

[R] Can anyone advise me on running R and Rstudio on an AWS virtual machine

2020-10-14 Thread Chris Evans
). TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for the University

Re: [R] combine filter() and select()

2020-08-19 Thread Chris Evans
lp@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, self-contained, reproducible code. -- Small contribution in our coronavirus

Re: [R] Is there a simple way to analyse all the data using dplyr?

2020-09-21 Thread Chris Evans
really keen to find tidyverse/dplyr answers/options. Any offers?! TIA (all), Chris - Original Message - > From: "Eric Berger" > To: "Chris Evans" > Cc: "r-help" > Sent: Monday, 21 September, 2020 15:03:44 > Subject: Re: [R] Is there a s

[R] Is there a simple way to analyse all the data using dplyr?

2020-09-21 Thread Chris Evans
r coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for the University of Roehampton and other places but remains my main Emai

Re: [R] Can I pass the grouped portions of a dataframe/tibble to a function in dplyr

2020-07-05 Thread Chris Evans
- Original Message - > From: "Rui Barradas" > To: "Chris Evans" , "R-help" > Sent: Sunday, 5 July, 2020 13:16:19 > Subject: Re: [R] Can I pass the grouped portions of a dataframe/tibble to a > function in dplyr > Hello, > > I forgot

[R] Can I pass the grouped portions of a dataframe/tibble to a function in dplyr

2020-07-05 Thread Chris Evans
n't professional coders or statisticians and that go a bit beyond the obvious basics of tidyverse into issues like this. TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-p

Re: [R] Seeking implementation of my algorithm 'spdspds' - a novel algorithm for solving Linear Programming Problems with O(L^1.5) computational complexity

2020-06-11 Thread Chris Evans
nipped] -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for the University of Roehampton and other

Re: [R] Fortune nomination .... Re: Looping through a dataframe

2020-07-24 Thread Chris Evans
http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans V

Re: [R] Inappropriate color name

2020-11-17 Thread Chris Evans
info/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-

[R] How to avoid ggplot clipping the x axis [damn, replaces previous Email]

2021-01-10 Thread Chris Evans
has 0, 2, 4 and 6 Can anyone see the simple answer that is eluding me?! TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, Unive

[R] How to avoid ggplot clipping the x axis

2021-01-10 Thread Chris Evans
oronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for the University of Roehampton and other places but remains my main Email address. I have a work web site at: https://www.psyctc.org/psyctc/ and a site I manage for CORE and CORE syste

Re: [R] How to avoid ggplot clipping the x axis [damn, replaces previous Email]

2021-01-11 Thread Chris Evans
Perfect. Can't believe I failed to find that! Thanks, as ever, Rui - Original Message - > From: "Rui Barradas" > To: "Chris Evans" , R-help@r-project.org > Sent: Sunday, 10 January, 2021 18:10:16 > Subject: Re: [R] How to avoid ggplot clipping the x

Re: [R] conditional output of string to file n times...

2021-07-07 Thread Chris Evans
at.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >> >> __ >> R-help@r

[R] .Rprofile with devtools::install_github() loops

2021-02-10 Thread Chris Evans
ows machine. OK. Anyone save me from more dents in the wall and frontal lobe damage?! TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, Un

Re: [R] .Rprofile with devtools::install_github() loops

2021-02-11 Thread Chris Evans
al Message - > From: "Bill Dunlap" > To: "Chris Evans" > Cc: "R-help" > Sent: Wednesday, 10 February, 2021 16:48:18 > Subject: Re: [R] .Rprofile with devtools::install_github() loops > Installing a package involves running several R subprocesses, e

Re: [R] Weighted violin chart

2021-04-13 Thread Chris Evans
nto your Email using dput. The output from dput doesn't look terribly human friendly but unless it is mangled by HTML Emailing, it is wonderfully human friendly to use! Very best (all), Chris -- Chris Evans (he/him) Visiting Professor, University of Sheffield I do some consultation work f

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
> to > ask for help on their stuff, at least for some of it. You may wish to wait a > bit before doing so, though, just to see if someone here responds. > Bert > On Sat, Sep 18, 2021, 12:26 PM Chris Evans < [ mailto:chrish...@psyctc.org | > chrish...@psyctc.org ] > wrote: &g

[R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-18 Thread Chris Evans
cellranger_1.1.0gtable_0.3.0assertthat_0.2.1 [78] xfun_0.26 broom_0.7.9 rsconnect_0.8.24 viridisLite_0.4.0 survival_3.2-13 rJava_1.0-4 cluster_2.1.2 ellipsis_0.3.2 -- Chris Evans (he/him) Visiting Professor, University of Sheffield and U

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
that: can't believe I didn't check that. Thanks, another hole in a foot: (re)-read the pertinent manual before assuming something is broken Christopher! Very best all, C - Original Message - > From: "Berry, Charles" > To: "Chris Evans" > Cc: "R-he

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
Message - > From: "Jeff Newmiller" > To: r-help@r-project.org, "Charles Berry" , "Chris > Evans" > Cc: "R-help" > Sent: Sunday, 19 September, 2021 19:45:03 > Subject: Re: [R] Cacheing of functions from libraries other than the b

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
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

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
handling LDL _and_ UDL or to any other existing methods. TIA, Chris - Original Message - > From: "Wolfgang Viechtbauer" > To: "Chris Evans" > Cc: r-help@r-project.org > Sent: Tuesday, 21 December, 2021 11:31:55 > Subject: RE: Creating NA equivalent &g

Re: [R] Syntax help for 'Pivot_longer'

2021-11-28 Thread Chris Evans
t; 4 01.04.21 9 67 > 5 01.05.21 7 510 > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see &g

Re: [R] ggplot2: 'not finding <-<- error'

2021-11-12 Thread Chris Evans
lp@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, self-contained, reproducible code. -- Chris Evans (he/him) V

Re: [R] Changing time intervals in data set

2021-12-15 Thread Chris Evans
ese data are so different from what I've seen in the past I want > to explore whether (or how) they affect discharge variability calculations. > > Regards, > > Rich -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ecuador & Honorary Professor, University of Roehampt

Re: [R] How to create density ellipses with R

2022-01-15 Thread Chris Evans
gt; <https://stat.ethz.ch/mailman/listinfo/r-help> >> > PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> <http://www.R-project.org/posting-guide.html> >> > and provide commented, minimal, self-contained,

Re: [R] stdev error

2022-03-11 Thread Chris Evans
> > > [[alternative HTML version deleted]] > > __ > 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/po

Re: [R] Is there a package that can do Fuzzy name matching to standardize names in a single column

2022-06-15 Thread Chris Evans
years I have seen my name as: Chris Evans Evans, Chris Christopher Evans Evans, Christopher C.D.H.Evans Evans, C.D.H. and a great one that a bank once gave me: DR CHRISTOPHE D EVANS (honestly ... why?) Then there are all the misspellings as you say. Back in the days of snail mail reprint requests

Re: [R] prcomp - arbitrary direction of the returned principal components

2022-10-13 Thread Chris Evans
't want the the returned principal > > component to be HIGH(LOW) on my computer and LOW(HIGH) on someone > > else's computer. > > That would confuse the people the code is shared with. > > > > Is this possible ? How do people deal with this ? > > > >

Re: [R] How to Reformat a dataframe

2023-10-28 Thread Chris Evans via R-help
NSUBSCRIBE 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, self-contained, reproducible code. -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ecuador & Honorary Pr

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-07 Thread Chris Evans via R-help
outcome of this suggestion still depend on which fonts and output device you are using? ... and that is to some degree still system dependent... On October 6, 2023 7:50:00 AM PDT, Rui Barradas wrote: Às 10:09 de 06/10/2023, Chris Evans via R-help escreveu: The reason I am asking is that I wo

[R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
t(data = tmpTib,    aes(x = x, y = y)) +   geom_polygon(data = tmpTibAreas,    aes(x = x, y = y, fill = a)) +   geom_point(data = tmpTibPoints, aes(x = x, y = y, fill = c), pch = 24, size = 6) Does anyone know a way to create a solid downward pointing sy

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
, label = "▼", color = c), size = 6) + guides(color = FALSE) [much snipped] -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ecuador & Honorary Professor, University of Roehampton, London, UK. Work web site: https://www.psyctc.org/psyctc/ C

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
   "Improved")) +   scale_fill_manual(name = "Change",    values = c("A" = "red",   "B" = "grey",       "C" = "green"),   

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
back to my main work (and work I'm more competent to do!) Many thanks again, Chris On 25/08/2023 15:48, Ivan Krylov wrote: В Fri, 25 Aug 2023 11:49:03 +0200 Chris Evans via R-help пишет: Hm.  I tried that butI really don't know what to make of what it's telling me.  It seemed to me that

[R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-24 Thread Chris Evans via R-help
e but it's crippling my developing the Distill blog further as it breaks the otherwise excellent Rstudio edit/knit/review/edit/knit/review workflow I use. Appreciate any suggestions: TIA, Chris -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ecuador & Honorary Professor, Univ

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
On 24/08/2023 21:05, Duncan Murdoch wrote: On 24/08/2023 1:58 p.m., Chris Evans via R-help wrote: I have an Rmarkdown file which is part of my distill "Rblog" (https://www.psyctc.org/Rblog/).  It was knitting fine until last week, now knitting terminates with this: Rscript -e

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
Thanks Duncan.  I've pushed the whole collection to: https://github.com/cpsyctc/Rblog On 24/08/2023 20:54, Duncan Murdoch wrote: Could you post a link to the source for that Rmd file? Duncan Murdoch [rest snipped] __ R-help@r-project.org mailing

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
_ > 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, self-contained, reproducible code. --

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
> > As there are some countries which are having higher volatilities than > countries with lower, is there any suggestion to improve the graph? > > Looking forward to your suggestion in this regard. > > With sincere regards, > Upananda Pani > > > On Tue, May 2, 2023 at 6:

[R] Puzzled by results from base::rank()

2023-08-11 Thread Chris Evans via R-help
  "7.000"  "1.500"  "9.000"  "12.000" "3.000"  "11.000"  [9] "9.000"  "5.000"  "9.000"  "5.000" The doublet is still given the mean of the values but the triplet is rounded up.  What am I missing h

Re: [R] How to plot both lines and points by group on ggplot2

2023-07-01 Thread Chris Evans via R-help
colour=Conc)) +   scale_colour_manual(values = c("darkslategray3", "darkslategray4", "deepskyblue4")) +   ggtitle("Working example") +   xlab(expression(bold("Time (h)"))) +   ylab(expression(bold("Concentration (mM)"))) Very  best,

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
Gunter wrote: Does this do it for you (or get you closer):  gsub("\\[.*\\]|[] |/ ","",tmp$Text) [1] "Я досяг того, чого хотів" [2] "Мені вдалося\nзробити бажане" [3] "Я досяг (досягла) того, чого хотів (хотіла)

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
I'd hate to have to clean these hundreds of lines by hand though it's starting to look as if I'd achieve that faster by hand than I will by banging my ignorance of R regexp syntax on the problem. TIA, Chris -Original Message- From: R-help On Behalf Of Chris Evans via R-help Se

[R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
in `stri_replace_first_regex()`:!Trying to access the index that is out of bounds. (U_INDEX_OUTOFBOUNDS_ERROR) Run `rlang::last_trace()` to see where the error occurred. I have tried gurgling around the internet but am striking out so throwing myself on the list. Apologies if this is trivial but I'd ha

Re: [R] Asking about R "Security" ..

2023-05-17 Thread Chris Evans via R-help
ry grateful. > > Martin > > __ > 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 guidehttp://www.R-project.org/posting-guide.html > and provi

[ESS] Advice on setting up ESS to edit and knit Rmarkdown files

2021-09-19 Thread Chris Evans via ESS-help
even tempt me back to Emacs/ESS for much more of what I'm doing!) TIA, Chris -- Chris Evans (he/him) Visiting Professor, University of Sheffield and UDLA, Quito, Ecuador I do some consultation work for the University of Roehampton and other places but remains my main Email address. I

Re: [ESS] Advice on setting up ESS to edit and knit Rmarkdown files

2021-10-03 Thread Chris Evans via ESS-help
do for ESS (and FLOSS generally) and an apology for not doing more! Very best, Chris - Original Message - > From: "Tyler Smith" > To: "Chris Evans" > Cc: "ess-help" > Sent: Friday, 1 October, 2021 16:40:50 > Subject: Re: [ESS] Advice on setting