Re: [R] help - Package: stats - function ar.ols

2024-02-23 Thread Ebert,Timothy Aaron
f Of Pedro Gavronski. Sent: Friday, February 23, 2024 5:00 AM To: Rui Barradas Cc: r-help@r-project.org; r-help-requ...@r-project.org Subject: Re: [R] help - Package: stats - function ar.ols [External Email] Hello, Thanks for the reply Rui and for pointing out that I forgot to attach my code. P

Re: [R] help - Package: stats - function ar.ols

2024-02-23 Thread Rui Barradas
Às 16:34 de 22/02/2024, Pedro Gavronski. escreveu: Hello, My name is Pedro and it is nice to meet you all. I am having trouble understanding a message that I receive when use function ar.ols from package stats, it says that "Warning message: In ar.ols(x = dtb[2:6966, ], demean = FALSE,

Re: [R] Help

2024-02-22 Thread Ben Bolker
I agree that the posting guide is due for updating. If the mailing list maintainers were willing I think r-consult might not be a terrible idea. I do think the center of gravity has moved to Cross Validated, and it might be minimally sufficient to point people there (or Math Overflow for

Re: [R] Help

2024-02-22 Thread Joakim Linde
Lisa, this seems to be fairly straight forward to do in R and I'm happy to help you get started. However, please be aware that you do have to have knowledge of statistics to do the analysis/modeling. Rolf, Jeff, I do appreciate your view that this is not a R probelm. It's more a 'how to use

Re: [R] Help

2024-02-20 Thread Jeff Newmiller via R-help
Regarding 1 and 2, please read the Posting Guide mentioned at the bottom of every R-help post. R does not equal statistics... and education about statistics is way too ambitious to include in this mailing list that is about a tool that happens to be useful for statisticians. There are forums

Re: [R] Help

2024-02-20 Thread Rolf Turner
On Mon, 19 Feb 2024 17:39:23 +0100 Lisa Hupfer via R-help wrote: > I am writing my master thesis in which I compared two cultures . So > for my statistics I need to compare Age,Sex,Culture as well as have a > look at the tasks scores . > > Anyone familiar with this ? > I’d love to share my

Re: [R] Help

2024-02-04 Thread Jibrin Alhassan
Hi Kimmo, The code you sent has worked for me. Thank you very much. *Jibrin Adejoh Alhassan (Ph.D)* Department of Physics and Astronomy, University of Nigeria, Nsukka On Mon, Feb 5, 2024 at 7:40 AM Kimmo Elo wrote: > Hi, > > the command line with 'text' should be: > > text(-8,-8,

Re: [R] Help

2024-02-04 Thread Kimmo Elo
Hi, the command line with 'text' should be: text(-8,-8, expression(R^2 * " = 0.62, r = 0.79, N = 161"), cex = 2 ) Best, Kimmo su, 2024-02-04 kello 17:16 +0100, Jibrin Alhassan kirjoitti: > Here is the script I used to plot the graph indicating the text I > wanted to > insert. The line in the

Re: [R] Help

2024-02-04 Thread Jibrin Alhassan
Many thanks. On Mon, Feb 5, 2024, 1:06 AM Rolf Turner wrote: > > Please see fortunes::fortune(285). > > cheers, > > Rolf Turner > > -- > Honorary Research Fellow > Department of Statistics > University of Auckland > Stats. Dep't. (secretaries) phone: > +64-9-373-7599 ext. 89622 > Home

Re: [R] Help

2024-02-04 Thread Rolf Turner
Please see fortunes::fortune(285). cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619 __

Re: [R] Help

2024-02-04 Thread Martin Møller Skarbiniks Pedersen
On Sun, 4 Feb 2024 at 17:26, Jibrin Alhassan wrote: > > Here is the script I used to plot the graph indicating the text I wanted to > insert. The line in the script that I have issues with is: text(-8,-8, > "R^2= 0.62", r = 0.79, N = 161", cex = 2 > R^2= 0.62 is not producing R squared = 0.62.

Re: [R] Help

2024-02-04 Thread Jibrin Alhassan
Here is the script I used to plot the graph indicating the text I wanted to insert. The line in the script that I have issues with is: text(-8,-8, "R^2= 0.62", r = 0.79, N = 161", cex = 2 R^2= 0.62 is not producing R squared = 0.62. Thanks. Sys.setenv( TZ="GMT" ) dt <-

Re: [R] Help

2024-02-04 Thread Jibrin Alhassan
Hi Elo, It gave this error message: CR_plot2.R:14:37: unexpected string constant 13: plot(FDapt,FDcli, pch = 16, cex.lab = 1.6, cex.axis = 1.4, cex.main = 0.8, font.lab = 1.7, font.axis = 1.7, col = "red",main = "Simultaneous Events at CLMX and APTY",ylab="CLMX",xlab="APTY") 14: text(-8,-8,

Re: [R] Help

2024-02-04 Thread Kimmo Elo
Hi, maybe this works: expression(R^2 * "= 0.62") HTH, Kimmo 4. helmik. 2024, 16.11, Jibrin Alhassan mailto:jibrin.alhas...@unn.edu.ng>> kirjoitti: I have done a scatter plot in R. I want to insert the coefficient of determination R^2 = 0.62 as a text in the plot. I have tried to write R^2

Re: [R] Help

2024-02-04 Thread Jibrin Alhassan
Thank you Zhao for the code. When I replotted the graph after inserting the code in my script, it gave me this error message without plotting the graph: Warning message: In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : extra argument ‘col’ will be disregarded. My regards.

Re: [R] Help

2024-02-04 Thread Jinsong Zhao
?plotmath expression(R^2==0.62) On 2024/2/4 18:10, Jibrin Alhassan wrote: I have done a scatter plot in R. I want to insert the coefficient of determination R^2 = 0.62 as a text in the plot. I have tried to write R^2 but could not produce R2. I would appreciate it if someone could help me with

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2024-01-06 Thread Andy
pg, "length"=len) } # roll up the list to a data frame. Many ways to do this. myDF <- do.call("rbind",myList) # Hope that helps. Tim -- Date: Thu, 4 Jan 2024 12:59:59 + From: Andy To: r-help@r-project.org Subjec

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2024-01-04 Thread Andy
Hi folks Thanks for your help and suggestions - very much appreciated. I now have some working code, using this file I uploaded for public access: https://docs.google.com/document/d/1QwuaWZk6tYlWQXJ3WLczxC8Cda6zVERk/edit?usp=sharing=103065135255080058813=true=true The small code segment

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2024-01-03 Thread Dr Eberhard Lisse
If you do something like this for i in $(pandoc --list-output-formats); do pandoc -f docx -t $i -o test.$i Now\ they\ want\ us\ to\ charge\ our\ electric\ cars\ from\ litter\ bins.docx; done you get approximately 65 formats, from which you can pick one

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Ivan Krylov
В Sat, 30 Dec 2023 12:18:52 + Andy пишет: > filepath <- setwd(tk_choose.dir()) Since you're using tcltk, you can get a file path in one step using tk_choose.files(). (Use multi = FALSE to choose only one file.) > full_filename <- paste(filepath, filename, sep="/") There's also

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Eric Berger
Sorry, I was being too quick. You have to pay attention to the pipe operator You were advised to do the following content <- read_docx(full_filename) |> docx_summary() which should have worked but I think you left out the |> operator. Alternatively tmp <- read_docx(full_filename) content

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Andy
An update: Running this block of code: # Load libraries library(tcltk) library(tidyverse) library(officer) filepath <- setwd(tk_choose.dir()) filename <- "Now they want us to charge our electric cars from litter bins.docx" #full_filename <- paste0(filepath, filename) full_filename <-

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Eric Berger
docx_summary(content) You should read documentation e.g. ?docx_summary and check the examples section On Sat, Dec 30, 2023 at 2:12 PM Andy wrote: > Hi Eric > > Thanks for that. That seems to fix one problem (the lack of a separator), > but introduces a new one when I complete the function

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Andy
Hi Eric Thanks for that. That seems to fix one problem (the lack of a separator), but introduces a new one when I complete the function Calum proposed:Error in docx_summary() : argument "x" is missing, with no default The whole code so far looks like this: # Load libraries library(tcltk)

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Eric Berger
full_filename <- paste(filepath, filename,sep="/") On Sat, Dec 30, 2023 at 1:45 PM Andy wrote: > Thanks Ivan and Calum > > I continue to appreciate your support. > > Calum, I entered the code snippet you provided, and it returns 'file > missing'. Looking at this, while the object

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Andy
Good idea, El - thanks. The link is https://docs.google.com/document/d/1QwuaWZk6tYlWQXJ3WLczxC8Cda6zVERk/edit?usp=sharing=103065135255080058813=true=true This is helpful. From the article, which is typical of Lexis+ output, I want to extract the following fields and append to a Calc/ Excel

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-30 Thread Andy
Thanks Ivan and Calum I continue to appreciate your support. Calum, I entered the code snippet you provided, and it returns 'file missing'. Looking at this, while the object 'full_filename' exists, what is happening is that the path from getwd() is being appended to the title of the article,

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Dr Eberhard W Lisse
Andy, you can always open a public Dropbox or Google folder and post the link. el On 29/12/2023 22:37, Andy wrote: > Thanks - I'll have a look at these options too. > > I'm happy to send over a sample document, but wasn't aware if > attachments are allowed. The documents come Lexis+, so require

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread CALUM POLWART
help(read_docx) says that the function only imports one docx file. In > order to read multiple files, use a for loop or the lapply function. > I told you people will suggest better ways to loop!! > > docx_summary(read_docx("Now they want us to charge our electric cars > from litter bins.docx"))

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Ivan Krylov
В Fri, 29 Dec 2023 20:17:41 + Andy пишет: > doc_in <- read_docx(files) > > Results in this error:Error in filetype %in% c("docx") && > grepl("^([fh]ttp)", file) :'length = 9' in coercion to 'logical(1)' help(read_docx) says that the function only imports one docx file. In order to read

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Andy
Thanks - I'll have a look at these options too. I'm happy to send over a sample document, but wasn't aware if attachments are allowed. The documents come Lexis+, so require user credentials to log in, but I could upload the file somewhere if that would help? Any ideas for a good location to

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Dr Eberhard W Lisse
I would also look at https://pandoc.org perhaps which can export a number of formats... And for spreadsheets https://github.com/jqnatividad/qsv is my goto weapon. Can also read and write XLSX and others. A sample document or two would always be helpful... el On 29/12/2023 21:01, CALUM POLWART

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Andy
Hi Roy (& others) Many thanks for the advice - well taken. Thanks also to the others who have responded so quickly - I thought I might have to wait days!! :-) I'm on a Linux (Mint) machine. Below, I document three attempts, two using officer and the last now using textreadr My attempts so far

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread CALUM POLWART
It sounded like he looked at officeR but I would agree content <- officer::docx_summary("filename.docx") Would get the text content into an object called content. That object is a data.frame so you can then manipulate it. To be more specific, we might need an example of the DF You can loop

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread CALUM POLWART
textreadr would be the obvious approach. When you say it is depreciated do you mean it's not available on cran? Sometimes maintaining a package on cran in just a pain in the ass. devtools::install_github("trinker/textreadr") Should let you install it. In theory docx files are actually just

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread jim holtman
checkout the 'officer' package Thanks Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me what you want to do, not how you want to do it.* On Fri, Dec 29, 2023 at 10:14 AM Andy wrote: > Hello > > I am trying to work through a problem, but feel like I've

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Andy: I don’t have an answer but I do have what I hope is some friendly advice. Generally the more information you can provide, the more likely you will get help that is useful. In your case you say that you tried several packages and they didn’t do what you wanted. Providing that code,

Re: [R] Help with plotting and date-times for climate data

2023-09-15 Thread Martin Møller Skarbiniks Pedersen
Change geom_point(aes(y = tmax_mean, color = "blue")) to geom_point(aes(y = tmax_mean), color = "blue") if you want blue points. aes(color = ) does not set the color of the points. aes(color = ) takes a column (best if it is a factor) and uses that for different colors. /Martin On Tue, Sep

Re: [R] Help with plotting and date-times for climate data

2023-09-14 Thread Richard O'Keefe
ne is provide an example where min and max could have > > > a real world use. I use max(temp) over some interval and then > > > update an accumulated thermal units variable based on the outcome. > > > That detail is not evident in the original request. > > > > > &g

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Ebert,Timothy Aaron
t the date (say Day). Group_by the day and apply a max function to the grouped data. Then plot the result. Tim -Original Message- From: Kevin Zembower Sent: Wednesday, September 13, 2023 3:26 PM To: Ebert,Timothy Aaron ; Richard O'Keefe Cc: r-help@r-project.org Subject: Re: [R] Help wit

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Kevin Zembower via R-help
Kevin Zembower > Sent: Wednesday, September 13, 2023 2:05 PM > To: Ebert,Timothy Aaron ; Richard O'Keefe > > Cc: r-help@r-project.org > Subject: Re: [R] Help with plotting and date-times for climate data > > [External Email] > > Well, I looked for this, on both the NWS

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Ebert,Timothy Aaron
; Richard O'Keefe Cc: r-help@r-project.org Subject: Re: [R] Help with plotting and date-times for climate data [External Email] Well, I looked for this, on both the NWS and WeatherUnderground, but couldn't find what I was looking for. Didn't check Weather.com, but if you can find a chart

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Kevin Zembower via R-help
how far away the trip will be. > > -Original Message- > From: Kevin Zembower > Sent: Wednesday, September 13, 2023 1:22 PM > To: Richard O'Keefe ; Ebert,Timothy Aaron > > Cc: r-help@r-project.org > Subject: Re: [R] Help with plotting and date-times for climate data >

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Ebert,Timothy Aaron
: Wednesday, September 13, 2023 1:22 PM To: Richard O'Keefe ; Ebert,Timothy Aaron Cc: r-help@r-project.org Subject: Re: [R] Help with plotting and date-times for climate data [External Email] Tim, Richard, y'all are reading too much into this. I believe that TMAX is the high temperature of the day

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Kevin Zembower via R-help
Rui, thanks so much for your clear explanation, solution to my problem, and additional help with making the graph come out exactly as I was hoping. I learned a lot from your solution. Thanks, again, for your help. -Kevin On Tue, 2023-09-12 at 23:06 +0100, Rui Barradas wrote: > Às 21:50 de

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Kevin Zembower via R-help
riginal request. > > > > Tim > > > > -Original Message- > > From: R-help On Behalf Of Richard > > O'Keefe > > Sent: Wednesday, September 13, 2023 9:58 AM > > To: Kevin Zembower > > Cc: r-help@r-project.org > > Subject: Re: [R] Help

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Richard O'Keefe
; Tim > > -Original Message- > From: R-help On Behalf Of Richard O'Keefe > Sent: Wednesday, September 13, 2023 9:58 AM > To: Kevin Zembower > Cc: r-help@r-project.org > Subject: Re: [R] Help with plotting and date-times for climate data > > [External Email] > &

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Ebert,Timothy Aaron
On Behalf Of Richard O'Keefe Sent: Wednesday, September 13, 2023 9:58 AM To: Kevin Zembower Cc: r-help@r-project.org Subject: Re: [R] Help with plotting and date-times for climate data [External Email] Off-topic, but what is a "mean temperature max" and what good would it do you t

Re: [R] Help with plotting and date-times for climate data

2023-09-13 Thread Richard O'Keefe
Off-topic, but what is a "mean temperature max" and what good would it do you to know you if you did? I've been looking at a lot of weather station data and for no question I've ever had (except "would the newspapers get excited about this") was "max" (or min) the answer. Considering the way that

Re: [R] Help with plotting and date-times for climate data

2023-09-12 Thread Rui Barradas
Às 21:50 de 12/09/2023, Kevin Zembower via R-help escreveu: Hello, I'm trying to calculate the mean temperature max from a file of climate date, and plot it over a range of days in the year. I've downloaded the data, and cleaned it up the way I think it should be. However, when I plot it, the

Re: [R] Help needed with olsrr package

2023-08-24 Thread Ivan Krylov
On Thu, 24 Aug 2023 10:56:00 +0530 Ashim Kapoor wrote: > When I open a terminal, type R and run my code, it runs fine. When I > start Emacs, start an inferior R process using ESS, the error comes > back. Thankfully, in both of these cases you get an interactive R session. Compare

Re: [R] Help needed with olsrr package

2023-08-22 Thread Eric Berger
I copied your data and ran your code. It worked fine for me. > sessionInfo() R version 4.3.1 (2023-06-16) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 22.04.2 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK:

Re: [R] Help needed with olsrr package

2023-08-22 Thread Ivan Krylov
В Tue, 22 Aug 2023 16:06:22 +0530 Ashim Kapoor пишет: > Error in eval(predvars, data, env) : object 'Var.One' not found Use traceback() to find out in which function the error was raised. This looks like a bug in the olsrr package. Could be due to use of string manipulation in order to work

Re: [R] Help/documentation on Rgui

2023-07-03 Thread Iago Giné Vázquez
Thank you Petr, great! Best, Iago De: PIKAL Petr Enviat: Dilluns, 3-juliol 3e000 2023 9:42 Per a: Iago Gin� V�zquez; r-help@r-project.org Assumpte: RE: Help/documentation on Rgui Hi I am not sure about opening Rgui in terminal but for customising Rgui

Re: [R] Help/documentation on Rgui

2023-07-03 Thread PIKAL Petr
Hi I am not sure about opening Rgui in terminal but for customising Rgui appearance you can modify Rconsole and Rprofile or Rprofile.site which you should find in etc folder of your R installation. https://stat.ethz.ch/R-manual/R-devel/library/utils/html/Rconsole.html

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
Magic! tmp %>%   as_tibble() %>%   rename(Text = value) %>%   mutate(Text = str_replace_all(Text, fixed("."), "")) %>%   # filter(row_number() < 4) %>%   mutate(Text2 = gsub("((|/)[[:alnum:]]+)|(\\([[:alnum:]-]+\\))", "", Text)) Which (as you have already shown!) gave me this: # A

Re: [R] Help with regex replacements

2023-06-27 Thread Bert Gunter
OK, so you want parentheses, not "brackets" + I think I misinterpreted your specification, which I think is actually incomplete. Based on what I think you meant, how does this work: gsub("((|/)[[:alnum:]]+)|(\\([[:alnum:]-]+\\))", "",tmp$Text) [1] "Я досяг того, чого хотів" "Мені

Re: [R] Help with regex replacements

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

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
Thanks Avi (I am a keen follower or your, and other stalwart helpers here). On 27/06/2023 18:27, avi.e.gr...@gmail.com wrote: Chris, Consider breaking up your task into multiple passes. Sorry, I could have explained more of what I had tried.  I never know how long to make things here. I

Re: [R] Help with regex replacements

2023-06-27 Thread avi.e.gross
Chris, Consider breaking up your task into multiple passes. And do them in whatever order preserves what you need. First, are you talking about brackets as in square brackets, or as in your example, parentheses? If you are sure you have no nested brackets, your requirement seems to be that

Re: [R] Help sourcing datasets (.csv)

2023-06-02 Thread Ebert,Timothy Aaron
Friday, June 2, 2023 5:18 AM To: james carrigan ; r-help@r-project.org Subject: Re: [R] Help sourcing datasets (.csv) [External Email] See ?data On 28.05.2023 10:53, james carrigan wrote: > Dear Sir or Madam > I'm trying to compile a collection of datasets that require use of the > fo

Re: [R] Help sourcing datasets (.csv)

2023-06-02 Thread Uwe Ligges
See ?data On 28.05.2023 10:53, james carrigan wrote: Dear Sir or Madam I’m trying to compile a collection of datasets that require use of the following hypothesis tests. Are there datasets within the R library that I can get access to? Kind regards James Carrigan Hypothesis Testing

Re: [R] Help with function and survey data

2022-10-31 Thread Edjabou Vincent
Dear Bert Thank you for your suggestion. I have tried it but it did not work. For record, I am reposting the post with the plain text. library(tidyverse) library(plyr) library(survey) dat <- structure(list( r3a_1 = structure(c(3L, 2L, 3L, 3L, 3L, 3L, 3L,3L, 3L, 3L, 3L, 2L, 2L, 3L, 3L, 3L,

Re: [R] Help with function and survey data

2022-10-31 Thread Bert Gunter
1. This is a plain text list. Set your email to post in plain text, not html, which often gets mangled (see below). 2. I did not run your example, but try: my_funca(mk =names(dat)[1:9], y = dat$seg_2) ## seg_2 is a component of dat and is not in the environment of the call. I did not see any

Re: [R] Help installing devtools plus other packages in R terminal

2022-10-06 Thread Ivan Krylov
On Wed, 5 Oct 2022 20:02:02 + "Rhon Calderon, Eric" wrote: > automake found. Running autoupdate and autogen.sh. <...> > + libtoolize --copy > autogen.sh: line 43: libtoolize: command not found Since you have automake installed, you also need libtool

Re: [R] Help installing devtools plus other packages in R terminal

2022-10-06 Thread Andrew Simmons
To install the packages from source, you need to install make, gcc, and g++: ⁠sudo apt install make⁠ ⁠sudo apt install gcc⁠ ⁠sudo apt install g++ then try installing them again On Thu, Oct 6, 2022 at 2:54 AM Rhon Calderon, Eric wrote: > > Hi, > > I am using R in my HPC terminal. After many

Re: [R] Help executing R on High Performance Cluster

2022-10-04 Thread Ivan Krylov
Hi Eric! В Tue, 4 Oct 2022 13:36:59 + "Rhon Calderon, Eric" пишет: > cd /home/ericrhon/labsoftware/R-devel/ > ./configure --prefix=/home/ericrhon/labsoftware/R-devel I'm not sure, but the reason for the confusing behaviour could be that the installation prefix is set to be the same as the

Re: [R] Help with steam graph

2022-10-02 Thread David Winsemius
I think you are being dishonest. That code does not appear on hrbrmstr's vignette at least in a form that I recognize. When I run your code from the first posting with all the instances of `com_num` replaced by `com_name` and removing the `pointer` entry in dat which throws an error when

Re: [R] Help with steam graph

2022-10-02 Thread Tariq Khasiri
Actually in my main data the column name is com_num ( where mistakenly I pasted the sample data here under the com_name ). So, when I run the command successfully this is the error shows up - ▆ 1. ├─... %>% sg_legend(show = TRUE, label = "Share: ") 2. ├─streamgraph::sg_legend(., show =

Re: [R] Help with steam graph

2022-10-02 Thread David Winsemius
I don’t see a column with the name ‘com_num’, so the error message makes complete sense. — David Sent from my iPhone > On Oct 2, 2022, at 5:06 AM, Tariq Khasiri wrote: > > Hi, i'm trying to create a steamgraph with the following data by creating a > unit indicator by combing the year and

Re: [R] Help with a simple subroutine

2022-09-09 Thread Steven T. Yen
now where to start looking for a problem. Hand calculation can use pencil and paper or Excel or other tools. It is a tedious task but very effective. Tim -Original Message- From: R-help On Behalf Of Ivan Krylov Sent: Friday, September 9, 2022 5:03 AM To: Steven T. Yen Cc: R-help Mailing List

Re: [R] Help for funnel plot

2022-05-15 Thread Jim Lemon
Hi, Looking at the help page for "funnel", I first thought that the "shade" argument would be the one. However, that seems to take a specific color. Perhaps the function computes the shading from that. I have never used the "funnel" function myself, so I don't have a good idea of how that

Re: [R] Help for funnel plot

2022-05-15 Thread De Simone
Hi Rui Thank you. The default for the shade and hilinees is ok, that is why I didn't add it. I attached the example image as PDF my question is how to get gradient colors for the background like the one attached And again how to get different types of lines for the Reference and confidence. The

Re: [R] Help for funnel plot

2022-05-15 Thread Jim Lemon
Hi, There are a number of functions that will transform numeric values into colors. One is color.scale in the plotrix package. This accepts a vector of numeric values and linearly transforms them into one or more ranges of colors. The resulting colors can then be passed to the appropriate

Re: [R] help with RcppTOML library

2022-03-25 Thread Ivan Krylov
On Thu, 24 Mar 2022 20:33:39 -0700 Bogdan Tanasa wrote: > "/FRIDAY/CONDA/pkgs/r-rcpptoml-0.1.7-r41h03ef668_0/lib/R/library/RcppTOML" I have no idea how Conda works, but shouldn't this entry point to the parent directory, that is,

Re: [R] help with installing R packages on Mac : these packages are downloaded but not compiled

2022-03-23 Thread Bogdan Tanasa
Thank you Jeff. Well, the same messages I do receive not only I do install "tidyverse" but also any other packages from BioConductor ; specifically, the packages are downloaded but not compiled and not installed. I believe that it is a more global R issue with Mac Monterey, although I do not

Re: [R] help with installing R packages on Mac : these packages are downloaded but not compiled

2022-03-23 Thread Jeff Newmiller
Tidyverse has dozens of dependencies... and when a dependency fails to install then you often need to install it explicitly... the automatic dependency algorithm doesn't seem to work robustly. Carefully read your error messages... it looks like you should start by installing backports. On

Re: [R] Help with using the huxreg() function

2022-03-22 Thread Bert Gunter
" I don't know if this is the right way to ask for help, but at least I thought I could give it a try." It isn't. Read the posting guide linked below to learn what is expected here. In particular, please note that it explicitly says: "Basic statistics and classroom homework: R-help is not

Re: [R] Help with developing package DWLS

2022-01-11 Thread Bert Gunter
Andrew has already provided you a lot of help, but further posts should go to r-package-devel, which is a mailing list specifically set up to provide the sort of help you requested. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it."

Re: [R] Help with developing package DWLS

2022-01-11 Thread Andrew Simmons
The NOTE saying 'Possibly misspelled words in DESCRIPTION' can probably be ignored (though I would probably put the name of your package in single quotes). The NOTE 'Non-standard files/directories found at top level' means that you should move the non-standard files to a different location OR

Re: [R] help with LDA topic modelling..

2021-12-20 Thread akshay kulkarni
Thanks a lot From: Jim Lemon Sent: Monday, December 20, 2021 1:43 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] help with LDA topic modelling.. Hi Akshay, It depends upon how the circles are calculated. If each circle encloses all

Re: [R] help with LDA topic modelling..

2021-12-20 Thread Jim Lemon
Hi Akshay, It depends upon how the circles are calculated. If each circle encloses all of the members of each group, yes. I doubt you would get perfect separation in any real example, though. At the moment: Hanukkah is finished, Margashirsha Punima has just happened and Christmas is coming up. No

Re: [R] help with parellel processing and RSelenium

2021-12-14 Thread akshay kulkarni
kulkarni ; R help Mailing list Subject: Re: [R] help with parellel processing and RSelenium Hello, Inline. �s 16:43 de 12/12/21, akshay kulkarni escreveu: > dear members, > I am a stock trader based in INDIA using R for my > research. I have two questions: >

Re: [R] help with parellel processing and RSelenium

2021-12-12 Thread Bert Gunter
I would suggest instead: foo <- function(pars){ with(pars, (res <- (x + y)*z^w list(result = res, message = alpha) )) } On Sun, Dec 12, 2021, 9:12 AM Rui Barradas wrote: > Hello, > > Inline. > > Às 16:43 de 12/12/21, akshay kulkarni escreveu: > > dear members, > >

Re: [R] help with parellel processing and RSelenium

2021-12-12 Thread Rui Barradas
Hello, Inline. Às 16:43 de 12/12/21, akshay kulkarni escreveu: dear members, I am a stock trader based in INDIA using R for my research. I have two questions: 1. I want to send the same function with different arguments to different cores. This link in SO

Re: [R] help

2021-12-01 Thread Jim Lemon
Hi mehdi, Try this (first example in the help page): ref<-rnorm(30,sd=2) # add a little noise model1<-ref+rnorm(30)/2 # add more noise model2<-ref+rnorm(30) # display the diagram with the better model oldpar<-taylor.diagram(ref,model1) # now add the worse model

Re: [R] Help needed to understand an error message produced from furrr and future packages

2021-11-25 Thread Jeff Newmiller
This question is off-topic here (see the Posting Guide, you are asking about a contributed package). Like walking down the street and asking this question, someone might know about it, but most will be puzzled. You should know that multicore is quite sensitive to which kinds of operations you

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-18 Thread Stephen Hartley
ertinent > but thought I should mention it just in case. > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > > *From: *Eric Berger > *Sent: *Wednesday, November 17, 2021 1:04 PM > *To: *Stephen Hartley

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-18 Thread Eric Berger
ental timing). So I doubt this is pertinent but >> thought I should mention it just in case. >> >> >> >> Sent from Mail for Windows >> >> >> >> From: Eric Berger >> Sent: Wednesday, November 17, 2021 1:04 PM >> To: Stephen Hartley

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-18 Thread Stephen Hartley
I have not tried that. I'm not certain if I have the permissions for remote desktop, but I will find out and give it a shot if possible. On Wed, Nov 17, 2021, 12:04 PM Eric Berger wrote: > Hi Stephen, > Does the problem still occur if you connect remotely to your computer from > a different

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-17 Thread Mark Fowler
phen Hartley<mailto:stephen.hartley@gmail.com> Cc: r-help@r-project.org<mailto:r-help@r-project.org> Subject: Re: [R] Help with strange RGui behavior? Will not consistently run source. Hi Stephen, Does the problem still occur if you connect remotely to your computer from a diff

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-17 Thread Eric Berger
Hi Stephen, Does the problem still occur if you connect remotely to your computer from a different computer? e.g. via remote desktop? On Wed, Nov 17, 2021 at 6:50 PM Stephen Hartley < stephen.hartley@gmail.com> wrote: > So I've got an odd problem that I can't seem to nail down, and I'm not

Re: [R] Help needed with data visualization in R

2021-11-01 Thread Jim Lemon
Hi bharat, There are a number of ways to do this in R. One is: library(plotrix) example(size_n_color) Jim On Tue, Nov 2, 2021 at 6:43 AM bharat rawlley via R-help wrote: > > Thank you very much, for your time and response! > This did resolve my issue and I apologize if the question was a

Re: [R] Help needed with data visualization in R

2021-11-01 Thread bharat rawlley via R-help
Thank you very much, for your time and response!  This did resolve my issue and I apologize if the question was a little too straightforward - I did try to create bubble plots in excel but that did not work, hence, I asked here since it is more of a diagram and less of a plot. Thank you very

Re: [R] Help needed with data visualization in R

2021-11-01 Thread Bert Gunter
... a simple web search on "bubble plots R" (what else?) would have brought up many relevant hits. One should always try such obvious "homework" before posting here. Better and quicker info often results. Bert Gunter "The trouble with having an open mind is that people keep coming along and

Re: [R] Help needed with data visualization in R

2021-11-01 Thread Eric Berger
I have no experience with this but I did a search and found the following which looks close to what you are looking for https://stackoverflow.com/questions/69755844/is-it-possible-to-draw-the-following-diagram-in-r On Mon, Nov 1, 2021 at 5:06 PM bharat rawlley via R-help <

Re: [R] Help with bibliometrix and biblioshiny

2021-09-05 Thread Bert Gunter
Please read and follow the posting guide, which says: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R), ask questions on R-help. If the question relates to a contributed package , e.g., one downloaded from CRAN, try contacting the package

Re: [R] Help with clinical trials.gov AACT database

2021-08-26 Thread bharat rawlley via R-help
I am completely stuck here, any help would be greatly appreciated! On Thursday, 26 August, 2021, 04:18:31 pm GMT-4, bharat rawlley via R-help wrote:  Hello, I am trying to use R to access the clinicaltrials.gov AACT database to create a list of facility_investigators for a specific

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-25 Thread Jim Lemon
If they can't work out how to resize an image, a 300 dpi resolution leaves you with an image a bit over 37 mm wide. Doesn't add up for me. Jim On Wed, Aug 25, 2021 at 10:00 AM bharat rawlley wrote: > > I tried doing that. > > So the real title of my graph is much longer than men and women and

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread bharat rawlley via R-help
I tried doing that.  So the real title of my graph is much longer than men and women and isn't not being incorporated in that width.  I think I'll have to settle for a smaller title  Sent from Yahoo Mail on Android On Tue, 24 Aug 2021 at 6:54 PM, Jim Lemon wrote: Ah, an _upper_ limit.

  1   2   3   4   5   6   7   8   9   10   >