Re: [R] R CMD check error: File `inconsolata.sty' not found

2025-02-05 Thread Enrico Schumann
On Sun, 02 Feb 2025, Naresh Gurbuxani writes: > R CMD check gives me below message at the > end. There does not seem to be a problem with my TeX > installation. Is it possible that R CMD check is not > looking in the correct location? How can this problem > be fixed? > > Thanks, > Naresh > > *

[R] R CMD check error: File `inconsolata.sty' not found

2025-02-02 Thread Naresh Gurbuxani
R CMD check gives me below message at the end. There does not seem to be a problem with my TeX installation. Is it possible that R CMD check is not looking in the correct location? How can this problem be fixed? Thanks, Naresh * checking PDF version of manual ... WARNING LaTeX errors when c

Re: [R] R CMD check says no visible binding for global variable

2025-01-29 Thread Jorgen Harmse via R-help
could also wrap all the code in a function and use the debugger to step through that (which may help if the error occurs in an iteration of a loop body). Regards, Jorgen Harmse. Message: 1 Date: Mon, 27 Jan 2025 22:46:21 + From: Naresh Gurbuxani To: "r-help@r-project.org" Subject:

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread Naresh Gurbuxani
e are ways to set it conditionally and save the previous value and > restore it after but this gets to be lots more work ... > > > -Original Message- > From: R-help On Behalf Of Naresh Gurbuxani > Sent: Tuesday, January 28, 2025 4:25 PM > To: Duncan Murdoch > Cc: r-hel

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread Uwe Ligges
-help On Behalf Of Naresh Gurbuxani Sent: Tuesday, January 28, 2025 4:25 PM To: Duncan Murdoch Cc: r-help@r-project.org Subject: Re: [R] R CMD check says no visible binding for global variable This solution worked. Thanks Sent from my iPhone On Jan 28, 2025, at 3:09 PM, Duncan Murdoch wrote:

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread avi.e.gross
restore it after but this gets to be lots more work ... -Original Message- From: R-help On Behalf Of Naresh Gurbuxani Sent: Tuesday, January 28, 2025 4:25 PM To: Duncan Murdoch Cc: r-help@r-project.org Subject: Re: [R] R CMD check says no visible binding for global variable This solution

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread avi.e.gross
I wrote. From: Naresh Gurbuxani Sent: Tuesday, January 28, 2025 1:56 PM To: John Sorkin Cc: avi.e.gr...@gmail.com; r-help@r-project.org Subject: Re: [R] R CMD check says no visible binding for global variable Data.frame is returned by SQL query. It does have column names.

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread Naresh Gurbuxani
o0ukef> >> ________ >> From: R-help on behalf of >> avi.e.gr...@gmail.com >> Sent: Tuesday, January 28, 2025 12:01:25 AM >> To: 'Naresh Gurbuxani' ; r-help@r-project.org >> >> Subject: Re: [R] R CMD check says no v

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread Duncan Murdoch
_ From: R-help on behalf of avi.e.gr...@gmail.com Sent: Tuesday, January 28, 2025 12:01:25 AM To: 'Naresh Gurbuxani' ; r-help@r-project.org Subject: Re: [R] R CMD check says no visible binding for global variable Naresh, I am not sure how you are creating you

Re: [R] R CMD check says no visible binding for global variable

2025-01-28 Thread Naresh Gurbuxani
___ From: R-help on behalf of avi.e.gr...@gmail.com Sent: Tuesday, January 28, 2025 12:01:25 AM To: 'Naresh Gurbuxani' ; r-help@r-project.org Subject: Re: [R] R CMD check says no visible binding for global variable Naresh, I am not sure how you are creating your data.frame so it

Re: [R] R CMD check says no visible binding for global variable

2025-01-27 Thread Sorkin, John
There you go, once again helping strengthen ;) John Get Outlook for iOS<https://aka.ms/o0ukef> From: R-help on behalf of avi.e.gr...@gmail.com Sent: Tuesday, January 28, 2025 12:01:25 AM To: 'Naresh Gurbuxani' ; r-help@r-project.org Subjec

Re: [R] R CMD check says no visible binding for global variable

2025-01-27 Thread avi.e.gross
gt; mydata temp1 temp2 temp3 1 1 2 3 -Original Message- From: R-help On Behalf Of Naresh Gurbuxani Sent: Monday, January 27, 2025 5:46 PM To: r-help@r-project.org Subject: [R] R CMD check says no visible binding for global variable I have written a function which returns a

Re: [R] R CMD check says no visible binding for global variable

2025-01-27 Thread Ben Bolker
This might be better for r-package-de...@r-project.org (since you're asking a question about package-checking). This is a common problem when using non-standard evaluation. Typically you can either use `utils::globalVariables` or set these variables to NULL near the top of your function.

[R] R CMD check says no visible binding for global variable

2025-01-27 Thread Naresh Gurbuxani
I have written a function which returns an SQL query result as a data.frame. Each column of data.frame is a variable not explicitly defined. For every column name, R CMD check says ‘no visible binding for global variable . Status: 1 NOTE Is it possible to tell R CMD check that these variables

[R] [R-pkgs] Announcing geneviewer v0.1.10 Now Available on CRAN

2025-01-14 Thread Niels van der Velden
Dear all, I am happy to announce that {geneviewer*}* v0.1.10 is now on CRAN. *{geneviewer}* is an R package for plotting gene clusters and transcripts. It imports data from GenBank, FASTA, and GFF files, performs BlastP and MUMmer alignments, and displays results on gene arrow maps. The package o

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Naresh Gurbuxani
In addition to many good solutions already provided, this solution uses data.table package. library(data.table) mydf <- data.frame(id = c(rep(1,10),rep(2,6),rep(3,2)), date = c(rep(1,2),rep(2,2),rep(3,2),rep(4,2),rep(5,2), rep(5,3),rep(6,3),rep(10,2))) setDT(mydf) mydf[, `:=`(firstdate = with(.S

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Bert Gunter
The grouping solutions offered seem to be the obvious way to do this and may even be more efficient in R then what follows below. However, note that they are to some extent doing unnecessary work, since the ordering in the data frame already implicitly provides the grouping, and the hashing or wha

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Jeff Newmiller via R-help
Was wondering when this would be suggested. But the question was about getting the final dataframe... newdta <- olddta newdta$FirstDay <- ave(newdata$date, newdata$ID, FUN = \(x) x[1L]) On November 27, 2024 11:13:49 AM PST, Rui Barradas wrote: >Às 16:30 de 27/11/2024, Sorkin, John escreveu: >>

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Rui Barradas
Às 16:30 de 27/11/2024, Sorkin, John escreveu: I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement and a retain statement: I want to take data (ol

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread avi.e.gross
(Day)) -Original Message- From: R-help On Behalf Of Sorkin, John Sent: Wednesday, November 27, 2024 11:31 AM To: r-help@r-project.org (r-help@r-project.org) Subject: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments I am an old

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread David Winsemius via R-help
On 11/27/24 09:44, David Winsemius via R-help wrote: On 11/27/24 08:30, Sorkin, John wrote: I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Ebert,Timothy Aaron
newdata3$date[i] } } newdata3$firstday[i] <- dayz } newdata3 -Original Message- From: R-help On Behalf Of Tom Woolman Sent: Wednesday, November 27, 2024 12:05 PM To: Sorkin, John Cc: r-help@r-project.org (r-help@r-project.org) Subject: Re: [R] R Processing dataframe by group - equivale

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread David Winsemius via R-help
On 11/27/24 08:30, Sorkin, John wrote: > I am an old, long time SAS programmer. I need to produce R code that > processes a dataframe in a manner that is equivalent to that produced by > using a by statement in SAS and an if first.day statement and a retain > statement: > > I want to take data

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread David Winsemius via R-help
On 11/27/24 08:30, Sorkin, John wrote: > I am an old, long time SAS programmer. I need to produce R code that > processes a dataframe in a manner that is equivalent to that produced by > using a by statement in SAS and an if first.day statement and a retain > statement: > > I want to take data

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Ebert,Timothy Aaron
ber 27, 2024 12:05 PM To: Sorkin, John Cc: r-help@r-project.org (r-help@r-project.org) Subject: Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments [External Email] Check out the dplyr package, specifically the mutate function. # Cr

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Olivier Crouzet
Dear John, Considering that you've got the following dataframe: ID <- c(rep(1,10),rep(2,6),rep(3,2)) date <- c(rep(1,2),rep(2,2),rep(3,2),rep(4,2),rep(5,2), rep(5,3),rep(6,3),rep(10,2)) df <- data.frame(ID, date) I would suggest to go this way: newdf <- df %>% dplyr::group_by(ID) %>%

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Tom Woolman
Oh and don't forget: #first line of code, bring dplyr into memory after that package has been installed. library(dplyr) On Wednesday, November 27th, 2024 at 12:05 PM, Tom Woolman wrote: > > > Check out the dplyr package, specifically the mutate function. > > # Create new column based o

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Tom Woolman
Check out the dplyr package, specifically the mutate function. # Create new column based on existing column value df <- df %>% mutate(FirstDay = if(ID = 2, 5)) df Repeat as needed to capture all of the day/firstday combinations you want to account for. Like everything else in R, there are

[R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Sorkin, John
I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement and a retain statement: I want to take data (olddata) that looks like this ID Day 1 1

Re: [R] R coding to extract allele frequencies from NCBI for ALL alleles of one SNP?

2024-11-15 Thread Bert Gunter
If you haven't already done so, this might be better posted on Bioconductor: https://www.bioconductor.org/ Cheers, Bert On Fri, Nov 15, 2024 at 2:53 AM Clark Jeremy wrote: > Dear All, > > The following code extracts from NCBI very nice output for ONE allele of a > SNP (often the allele with th

[R] R coding to extract allele frequencies from NCBI for ALL alleles of one SNP?

2024-11-15 Thread Clark Jeremy
Dear All, The following code extracts from NCBI very nice output for ONE allele of a SNP (often the allele with the second largest frequency - usually termed the minor allele). It gives an average minor allele frequency from all NCBI sources (which is what I want, except I'd like the addition o

[R] [R-pkgs] NMOF 2.10-0 (Numerical Methods and Optimization in Finance)

2024-10-21 Thread Enrico Schumann
Dear all, version 2.10-0 of package NMOF is on CRAN now. NMOF stands for 'Numerical Methods and Optimization in Finance', and it accompanies the book with the same name, written by Manfred Gilli, Dietmar Maringer and Enrico Schumann.[1] Since the last announcement on this list in 2021, several f

[R] [R-pkgs] PMwR 1.0 (Portfolio Management with R)

2024-10-21 Thread Enrico Schumann
Dear all, version 1.0-1 of package PMwR is on CRAN now. PMwR stands for 'Portfolio Management with R', and the package provides tools for the practical management of financial portfolios: backtesting investment and trading strategies, computing profit/loss and returns, analysing trades, handling

Re: [R] R in Windows 11

2024-10-09 Thread avi.e.gross
difference there. I suspect you want the former and indeed there may not have been very old versions of R set up for downloading on Windows 11. Avi -Original Message- From: R-help On Behalf Of Jacob Williams Sent: Tuesday, October 8, 2024 7:52 PM To: r-help@r-project.org Subject: [R] R in

Re: [R] R in Windows 11

2024-10-09 Thread Rui Barradas
Às 00:51 de 09/10/2024, Jacob Williams escreveu: Hi, What is the minimum version of R supported on Windows 11? Thanks, Jacob __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do r

[R] R in Windows 11

2024-10-09 Thread Jacob Williams
Hi, What is the minimum version of R supported on Windows 11? Thanks, Jacob __ 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 https://www.R-project.org/pos

[R] [R-pkgs] GmooG, ChessGmooG, FilmsGmooG, ComradesM

2024-09-25 Thread Antony Unwin
Dear all, GmooG, ChessGmooG, FilmsGmooG, ComradesM are dataset packages accompanying my book “Getting (more out of) Graphics” (CRC Press 2024). They are now available on CRAN. R code producing the graphics in the book will be put online in a few weeks. Regards Antony Professor Antony Unwin

[R] [R-pkgs] bit, bit64, ff and greeNsort

2024-09-24 Thread Jens Oehlschlägel
Dear package maintainers, Dear users of packages `bit`, `bit64`, `ff`, Everyone interested in sustainable sorting algorithms, I submitted updated versions for the upcoming R 4.5.0. The are only minor changes (see the NEWS files) but there is one important change in bit64:     o setting opti

Re: [R] R facets including two kinds of charts

2024-08-01 Thread phil
Thank you. That approach could work and I might use it, but a complication is that the 100 facets must be in a specified order and that order mixes charts of type A and B/C in an unsystematic way. I suppose I could write two functions, use them to create all the plots and then join them togethe

Re: [R] R facets including two kinds of charts

2024-08-01 Thread Rui Barradas
Hello, I hadn't understood the problem, sorry. The problem are the bar plots, ggplot is plotting one in the "A" facet. And since there is nothing to plot, the bars start at 0. A hack is to plot facet "A" separately and then combine the plots with one of several ways to combine ggplot plots. B

Re: [R] R facets including two kinds of charts

2024-08-01 Thread phil
Thanks for the suggestion, but this does not give me what I want. Each chart needs its own unique scale on the y-axis. Philip On 2024-08-01 15:08, Rui Barradas wrote: Às 19:01 de 01/08/2024, p...@philipsmith.ca escreveu: I am asking for help with a ggplot2 program that has facets. There are

Re: [R] R facets including two kinds of charts

2024-08-01 Thread Rui Barradas
Às 19:01 de 01/08/2024, p...@philipsmith.ca escreveu: I am asking for help with a ggplot2 program that has facets. There are actually 100 facets in my program, but in the example below I have limited the number to 3. There are two kinds of charts among the facets. One kind is a simple line plot

[R] R facets including two kinds of charts

2024-08-01 Thread phil
I am asking for help with a ggplot2 program that has facets. There are actually 100 facets in my program, but in the example below I have limited the number to 3. There are two kinds of charts among the facets. One kind is a simple line plot with all of the y-values greater than zero. The facet

[R] R related tools - GUI

2024-06-29 Thread Neotropical bat risk assessments
For years I used Deducer (Package Deducer) developed by Ian Fellows.  This is still available and partially remains mostly functional.  He was working on a new GUI years ago but appears no longer to be in the pipeline I think replaced by R-Studio. Send R-help mailing list submissions to

Re: [R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread Ivan Krylov via R-help
В Wed, 5 Jun 2024 19:07:19 -0500 I B пишет: > However, I am getting the following error: *"Argument is of length > zero."* > if (selected_graph() == cols$column2 | selected_model() == "Main > effects model") { The error must be coming from here. At least one of selected_graph(), cols$colum

Re: [R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread Bert Gunter
Wrong list. Shiny is software from an external provider, POSIT (formerly RStudio) and not part of R, itself. They have a community support site at: https://forum.posit.co/?_gl=1*bh848i*_ga*MTY2NjcwNzQ4LjE3MTYyMzkzODQ.*_ga_2C0WZ1JHG0*MTcxNzY4NTExNi4yLjAuMTcxNzY4NTExNi4wLjAuMA .. Cheers, Bert On T

[R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread I B
Hello everybody, I have experience coding with R, but am brand new to R Shiny. I am trying to produce an application that will allow users to upload their own dataset, select columns they want an ANOVA analysis run on, and generate graphs that will allow users to view their results. However, I am

[R] [R-pkgs] QGA 1.0 is released

2024-06-03 Thread Giulio Barcaroli
Dear R users, I am pleased to announce that QGA 1.0 is now available on CRAN. QGA implements the Quantum Genetic Algorithm, as proposed by Han and Kim in 2000, and is an R implementation derived from the Python one by Lahoz-Beltra in 2016. Under this approach, each solution is represented as a

Re: [R] R code for overlapping variables -- count

2024-06-03 Thread Ebert,Timothy Aaron
dalgaard Sent: Monday, June 3, 2024 5:02 AM To: Shadee Ashtari Cc: r-help@r-project.org Subject: Re: [R] R code for overlapping variables -- count [External Email] If they are binary (0/1 dummies), can't you just "&" them as in table(Female & USA & MidIncome) (or sum()

Re: [R] R code for overlapping variables -- count

2024-06-03 Thread peter dalgaard
If they are binary (0/1 dummies), can't you just "&" them as in table(Female & USA & MidIncome) (or sum() if you don't care about the number of 0s) -pd > On 2 Jun 2024, at 00:31 , Shadee Ashtari wrote: > > Hi! > > I am trying to find the code for how to get counts for intersectional > varia

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Rui Barradas
"AA", "BB", "US"), n, T),   Income  = as.factor(sample(1:3, n, T)) ) # Dummy variable ONE = rep(1, nrow(x)) r = aggregate(ONE ~ Sex + Income + Country, length, data = x) r = r[, c("Country", "Income", "Sex")] print(r) It is pos

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Leo Mada via R-help
Correcting a small glitch - see new code. From: Leo Mada Sent: Sunday, June 2, 2024 8:34 PM To: Shadee Ashtari Cc: r-help@r-project.org Subject: [R] R code for overlapping variables -- count Dear Shadee, If you have a data.frame with the following columns: n

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Rui Barradas
n, T),   Income = as.factor(sample(1:3, n, T)) ) # Dummy variable ONE = rep(1, nrow(x)) r = aggregate(ONE ~ Sex + Income + Country, length, data = x) r = r[, c("Country", "Income", "Sex")] print(r) It is possible to write more simple code, if you need only

[R] R code for overlapping variables -- count

2024-06-02 Thread Leo Mada via R-help
, T)) ) # Dummy variable ONE = rep(1, nrow(x)) r = aggregate(ONE ~ Sex + Income + Country, length, data = x) r = r[, c("Country", "Income", "Sex")] print(r) It is possible to write more simple code, if you need only the particular combination of variables (which you specifi

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Duncan Murdoch
On 2024-06-01 6:31 p.m., Shadee Ashtari wrote: Hi! I am trying to find the code for how to get counts for intersectional variables. For example, I have three unique categorical variables -- "Female," "USA," and "MidIncome" -- and I'm trying to see how many people I have at the intersection of th

[R] R code for overlapping variables -- count

2024-06-02 Thread Shadee Ashtari
Hi! I am trying to find the code for how to get counts for intersectional variables. For example, I have three unique categorical variables -- "Female," "USA," and "MidIncome" -- and I'm trying to see how many people I have at the intersection of the three. Thank you so much, Shadee [[al

Re: [R] R, RStudio, and a server for my iPad.

2024-05-21 Thread peter dalgaard
iekever...@gmail.com > Cc: r-help@r-project.org > Subject: Re: [R] R, RStudio, and a server for my iPad. > > Grand, > Thank you. I have been able to use my iPad to connect to a server running > RStudio server as described in an earlier email and can use the virtual > keyboar

Re: [R] R-help Digest, Vol 255, Issue 17

2024-05-21 Thread Michael L Friendly
You might be interested in the `Rdatasets` package, https://vincentarelbundock.github.io/Rdatasets/ which lists over 2200 datasets from various packages. What is the context of the `lottery` dataset. I seem to recall smth to do with the NJ Lottery -Michael 1. Availability of Sdatasets (Avr

[R] [R-pkgs] segmented 2.1-0 is released

2024-05-16 Thread Vito Muggeo via R-packages
dear R users, I am pleased to announce that segmented 2.1-0 is now available on CRAN. segmented focuses on estimation of breakpoints/changepoints of segmented, i.e. piecewise linear, relationships in (generalized) linear models. Starting with version 2.0-0, it is also possible to model stepmen

Re: [R] R CMD check vs RStudio check

2024-05-10 Thread Ivan Krylov via R-help
В Fri, 10 May 2024 03:46:54 + "Boylan, Ross" пишет: > The devtools::check() documentation mentions it invoke > pkgbuild::build() and rcmdcheck::rcmdcheck(). Since I'm guessing my > command line build and check invoked those last 2, or at least > operated similarly, they seem less likely suspe

Re: [R] R CMD check vs RStudio check

2024-05-09 Thread Boylan, Ross via R-help
e any ideas? Deleting the directory just seems weird and so it's hard to know where to look. Thanks. Ross -Original Message- From: Ivan Krylov Sent: Friday, May 3, 2024 12:52 PM To: Boylan, Ross via R-help Cc: Boylan, Ross Subject: Re: [R] R CMD check vs RStudio check В Fri, 3 M

Re: [R] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-07 Thread Bert Gunter
I think you should seek out a local statistician with whom to consult if at all possible, as the details of your research goals and the nature of the data you have to meet those goals matter and cannot be effectively discussed in a remote forum like this. That is, to be blunt, you seem to be risk o

Re: [R] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-07 Thread Srinidhi Jayakumar via R-help
Thank you very much for your responses! What if I reduce the model to modelLSI3 <- lmer(SA ~ Index1* LSI+ (1+LSI |ID),data = LSIDATA, control = lmerControl(optimizer ="bobyqa"), REML=TRUE). This would allow me to see the random effects of LSI and I can drop the random effect of age (Index1) sinc

Re: [R] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-06 Thread TT FF
See if this paper may help If it helps reducing the model when you have few observations. the (1|ID) may increase the type 1 error. https://journals.sagepub.com/doi/10.1177/25152459231214454 Best > On 6 May 2024, at 07:45, Thierry Onk

Re: [R] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-05 Thread Thierry Onkelinx via R-help
Dear Srinidhi, You are trying to fit 1 random intercept and 2 random slopes per individual, while you have at most 3 observations per individual. You simply don't have enough data to fit the random slopes. Reduce the random part to (1|ID). Best regards, Thierry ir. Thierry Onkelinx Statisticus

Re: [R] R CMD check vs RStudio check

2024-05-03 Thread Ivan Krylov via R-help
В Fri, 3 May 2024 19:45:08 + "Boylan, Ross via R-help" пишет: > & $R CMD check . > * checking for file './DESCRIPTION' ... ERROR > Required fields missing or empty: > 'Author' 'Maintainer' You're checking a source package directory. This could work, but it's much easier and more reliable

[R] R CMD check vs RStudio check

2024-05-03 Thread Boylan, Ross via R-help
tatus: 1 ERROR See 'C:/Users/rdboylan/Documents/BP/pimex/..Rcheck/00check.log' for details. PS C:\Users\rdboylan\Documents\BP\pimex> $R C:\Program Files\R\R-4.3.3\bin\R.exe --- The DESCRIPTION file includes Authors@R:

[R] [R-pkgs] New package - fastTS

2024-04-10 Thread Peterson, Ryan
Hi R enthusiasts, I am happy to announce a new package available on CRAN: fastTS (https://cran.r-project.org/web/packages/fastTS/). fastTS is especially useful for large time series with exogenous features and/or complex seasonality (i.e. with multiple modes), allowing for possibly high-dimensi

[R] [R-pkgs] clusterMI: Cluster Analysis with Missing Values by Multiple Imputation

2024-03-15 Thread Vincent Audigier via R-packages
Dear all, I am pleased to announce the release of a new package named 'clusterMI' on CRAN. clusterMI allows clustering of incomplete observations by addressing missing values using multiple imputation. For achieving this goal, the methodology consists in three steps: 1. missing data imputatio

[R] R 4.3.3 is released

2024-02-29 Thread Peter Dalgaard via R-announce
The build system rolled up R-4.3.3.tar.gz and .xz (codename "Angel Food Cake") this morning. This is a minor update, intended as the wrap-up release for the 4.3.x series. This also marks the 6th anniversary of R-1.0.0. (2000-02-29) The list below details the changes in this release. You can

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Paul Bernal
Hi Bert, After doing sapply(your_dataframe, "class"), it seems like R is recognizing that the field is of type numeric after all, the problem (it seems) is how the import_list() function from the rio package is reading the data (my suspicion). Best regards, Paul El mar, 30 ene 2024 a las 14:59,

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Paul Bernal
Hi Bert, Below the information you asked me for: nrow(mydataset) [1] 2986276 sapply(mydataset, "class") $`Transit Date` [1] "POSIXct" "POSIXt" $`Market Segment` [1] "character" $`Número de Tránsitos` [1] "numeric" $`Tar No` [1] "character" $`Beam Range (Operations)` [1] "character"

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread CALUM POLWART
And your other option - recode what gets imported. It may well be you will actually want the blanks to be NAs for instance rather than blank. I'm assuming the True and False are >$0 and $0 from your description. (Or maybe vice versa). So I'd have made my column name something like "OverZeroDollars"

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Duncan Murdoch
If you are using the read_excel() function from the readxl package, then there's an argument named col_types that lets you specify the types to use. You could specify col_types = "numeric" to read all columns as numeric columns. If some columns are different types, you should specify a vector

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Bert Gunter
Incidentally, "didn't work" is not very useful information. Please tell us exactly what error message or apparently aberrant result you received. Also, what do you get from: sapply(your_dataframe, "class") nrow(your_dataframe) (as I suspect what you think it is, isn't). Cheers, Bert On Tue, Jan

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Paul Bernal
Dear friend Duncan, Thank you so much for your kind reply. Yes, that is exactly what is happening, there are a lot of NA values at the start, so R assumes that the field is of type boolean. The challenge that I am facing is that I want to read into R an Excel file that has many sheets (46 in this

Re: [R] R interpreting numeric field as a boolean field

2024-01-30 Thread Duncan Murdoch
On 30/01/2024 11:10 a.m., Paul Bernal wrote: Dear friends, Hope you are doing well. I am currently using R version 4.3.2, and I have a .xlsx file that has 46 sheets on it. I basically combined all 46 sheets and read them as a single dataframe in R using package rio. I read a solution using pac

[R] R interpreting numeric field as a boolean field

2024-01-30 Thread Paul Bernal
Dear friends, Hope you are doing well. I am currently using R version 4.3.2, and I have a .xlsx file that has 46 sheets on it. I basically combined all 46 sheets and read them as a single dataframe in R using package rio. I read a solution using package readlx, as suggested in a StackOverflow di

[R] [R-pkgs] hydroGOF back on CRAN (v0.5-4 released)

2024-01-22 Thread Mauricio Zambrano-Bigiarini
Dear all, After being archived on CRAN on 2023-10-16 , hydroGOF is finally back on CRAN since January 21th: https://cran.r-project.org/package=hydroGOF. This new version 0.5-4 includes: *) the following new functions: -) KGElf (García et al., 2017), -) sKGE (Fowler et al., 2018), -

[R] [R-pkgs] hydroTSM back on CRAN (v0.7-0 released)

2024-01-22 Thread Mauricio Zambrano-Bigiarini
Dear all, After being archived on CRAN on 2023-10-1, hydroTSM is finally back on CRAN since January 18th: https://cran.r-project.org/package=hydroTSM. This new version 0.7-0 has several new functions, improvements, bugfixes, and a new dataset, mostly devoted to work with sub-daily and sub-hourly

[R] [R-pkgs] Copernicus Data Space Ecosystem API Wrapper

2023-12-18 Thread Zivan Karaman
Dear all, I am pleased to announce the release of a new package named 'CDSE' on CRAN. It provides direct access to the 'Copernicus Data Space Ecosystem' for R users. With this package, you can efficiently access the imagery from Sentinel-1, Sentinel-2, Sentinel-3, and Sentinel-5 missions and proc

Re: [R] R-help Digest, Vol 250, Issue 13

2023-12-15 Thread Karl Ropkins
Year", y = > "PISA score in mathematics") + >coord_cartesian(ylim=c(470,500)) + >scale_x_continuous(breaks = 2012:2022) > > On 12/12/2023 3:19 PM, varin sacha via R-help wrote: >> Dear Ben, >> Dear Daniel, >> Dear Rui, >> Dear Bert, >> >> Here below my R co

[R] [R-pkgs] ANOFA: Analysis of frequency data

2023-12-15 Thread Denis Cousineau
A package for the analysis of frequency data, ANOFA, has been released on CRAN. With this package, it is now possible to analyze frequencies following the logic of ANOVAs, by examining interaction effects and main effects, or explore simple effects (with expected marginal frequencies) or analy

[R] [R-pkgs] simtrial: Clinical Trial Simulation

2023-12-13 Thread Nan Xiao
Dear all, I am happy to announce that {simtrial} is now on CRAN (https://cran.r-project.org/package=simtrial). simtrial is a fast and extensible clinical trial simulation framework for time-to-event endpoints. This release brings a new tabular data processing engine powered by data.table for 3

[R] [R-pkgs] gsDesign 3.6.0 is released

2023-11-21 Thread Nan Xiao
Dear all, I'm excited to announce that a new version of gsDesign (3.6.0) is now on CRAN (https://cran.r-project.org/package=gsDesign). gsDesign supports group sequential clinical trial design, largely as presented in Jennison and Turnbull (2000). The 3.6.0 update introduces some significant ne

[R] [R-pkgs] Introducing the makeit package

2023-10-31 Thread Arni Magnusson
Dear R community, Just a quick note about a new package on CRAN called makeit. Yesterday, I added a vignette and released as 1.0.1: https://cran.r-project.org/package=makeit https://cran.r-project.org/web/packages/makeit/vignettes/makeit.html It provides a simple but powerful function make() that

Re: [R] R Gigs

2023-10-07 Thread Uwe Ligges
On 07.10.2023 10:45, Dr Eberhard Lisse wrote: LinkedIn is what seems to go these days Well, for those some years older it would certainly help not to use words such as "gigs" (I first assumed gigabytes of data were meant). Apparently the original poster is looking for some employment, but

Re: [R] R Gigs

2023-10-07 Thread Dr Eberhard Lisse
LinkedIn is what seems to go these days el On 2023-10-06 22:35 , Bert Gunter wrote: May be an age gap here, but I assume "gigs" = freelance jobs. If so, https://stat.ethz.ch/mailman/listinfo/r-sig-jobs might be useful. As well as an online search in all the usual places. Otherwise, please excus

Re: [R] R Gigs

2023-10-06 Thread Jeff Newmiller via R-help
That list is _very_ low volume... most employers who would benefit from the skills of an R user don't know that R exists. On October 6, 2023 1:50:17 PM PDT, Fred Kwebiha wrote: >Thanks Bert. > >I have Subscribed now to that list. > >*Best Regards,* > >*FRED KWEBIHA* >*+256-782-746-154* > > >On F

Re: [R] R Gigs

2023-10-06 Thread Fred Kwebiha
Thanks Bert. I have Subscribed now to that list. *Best Regards,* *FRED KWEBIHA* *+256-782-746-154* On Fri, Oct 6, 2023 at 11:36 PM Bert Gunter wrote: > May be an age gap here, but I assume "gigs" = freelance jobs. If so, > https://stat.ethz.ch/mailman/listinfo/r-sig-jobs > might be useful. A

Re: [R] R Gigs

2023-10-06 Thread Bert Gunter
May be an age gap here, but I assume "gigs" = freelance jobs. If so, https://stat.ethz.ch/mailman/listinfo/r-sig-jobs might be useful. As well as an online search in all the usual places. Otherwise, please excuse my out-of-date ignorance. Cheers, Bert On Fri, Oct 6, 2023 at 1:23 PM Fred Kwebiha

[R] R Gigs

2023-10-06 Thread Fred Kwebiha
Dear Community, Where Can I get Gigs related to R programming language? Thanks in Advance for your help. *Best Regards,* *FRED KWEBIHA* *+256-782-746-154* [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBS

Re: [R] R issue / No buffer space available

2023-10-05 Thread Rui Barradas
Às 21:28 de 04/10/2023, Ohad Oren, MD escreveu: Hello, I keep getting the following message about 'no buffer space available'. I am using R studio via connection to server. I verified that the connection to the server is good. 2023-10-04T20:26:25.698193Z [rsession-oo968] ERROR system error 105

Re: [R] R issue / No buffer space available

2023-10-05 Thread Ben Bolker
This looks like an RStudio issue; it might be better to post the question on their forum On Thu, Oct 5, 2023, 7:43 AM Ohad Oren, MD wrote: > Hello, > > I keep getting the following message about 'no buffer space available'. I > am using R studio via connection to server. I verified that the conn

[R] R issue / No buffer space available

2023-10-05 Thread Ohad Oren, MD
Hello, I keep getting the following message about 'no buffer space available'. I am using R studio via connection to server. I verified that the connection to the server is good. 2023-10-04T20:26:25.698193Z [rsession-oo968] ERROR system error 105 (No buffer space available) [host: localhost, uri:

[R] [R-pkgs] maptools, rgdal, rgeos and rgrass7 retiring Monday, October 16

2023-10-03 Thread Roger Bivand
The legacy R spatial infrastructure packages maptools, rgdal and rgeos will be archived by CRAN on Monday, October 16, 2023; rgrass7 has already been replaced by rgrass and will be archived with the retiring packages. The choice of date matches the previously announced archiving during October

Re: [R] R coding errors

2023-09-08 Thread John Kane
Can you supply us with some sample data? A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where *mydata* is your data. Copy the output and paste it here. On F

[R] R coding errors

2023-09-08 Thread PROFESOR MADYA DR NORHAYATI BAHARUN
Hi Sir, Could you please help me on the following errors: STEPS TO MIX IRT_RMT APPROACH IN R #1- Load required libraries library(eRm) library(ltm) library(mirt) library(psych) HT <- read.csv("C:/Users/User/Dropbox/Analysis R_2023/HT2.csv") str(HT) #2- Load or create your data matrix response

Re: [R] R - Problem retrieving memory used after gc() using arrow library

2023-08-16 Thread Ivan Krylov
y allocator was not a good fit for R. R allocates and frees lots of objects, sometimes small ones. The Windows 95-era allocator had backwards-compatibility obligations to lots of incorrectly-written programs that sometimes used memory after freeing it and poked at undocumented implementation detai

[R] R - Problem retrieving memory used after gc() using arrow library

2023-08-16 Thread Kévin Pemonon
Hello, I'm using R versions 4.1.3 on Windows 10 and I'm having a problem with memory usage. Currently, I need to use the arrow and dplyr libraries in a program and when I compare the memory used between the windows task manager and the memory.size(max=F) function, the one given by the windows tas

  1   2   3   4   5   6   7   8   9   10   >