Re: [R] error when trying to install {rgdal} on Windows

2024-04-30 Thread Martin Maechler
[I have fixed your subject: "text" is really on of the most unuseful subjects we've ever seen on this list ... ] > Farzad Ghooshi on Sun, 28 Apr 2024 12:17:34 +0330 writes: > Hi dear friend I use rgdal package for shape files. > When installing the package, it gives me the following >

Re: [R] Error message

2024-03-22 Thread Ivan Krylov via R-help
В Fri, 22 Mar 2024 14:52:05 -0500 Val пишет: > : 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5..N.\W/.. > 0010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?. Thank you! This doesn't look like any structured data to me. In particular, it doesn't look like something

Re: [R] Error message

2024-03-22 Thread Val
Here is the first few bytes, xxd -l 128 X1.RData : 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5..N.\W/.. 0010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?. 0020: 66ce 0ebb 2057 ec36 55b4 0ece a036 695a f... W.6U6iZ 0030: 258b 3493 b661 f620 f7fe ada7 158a

Re: [R] Error message

2024-03-22 Thread Ivan Krylov via R-help
В Fri, 22 Mar 2024 14:31:17 -0500 Val пишет: > How do I get the first few bytes? What does file.info('X1.RData') say? Do you get any output if you run print(readBin('X1.RData', raw(), 128))? If this is happening on a Linux or macOS machine, the operating system command xxd -l 128 X1.RData

Re: [R] Error message

2024-03-22 Thread Val
Yes, X1.RData is large(more than 40M rows) . How do I get the first few bytes? On Fri, Mar 22, 2024 at 2:20 PM Ivan Krylov wrote: > > В Fri, 22 Mar 2024 14:02:09 -0500 > Val пишет: > > > X2.R > > load("X1.RData") > > > > I am getting this error message: > > Error in load("X1.RData", : > >

Re: [R] Error message

2024-03-22 Thread Ivan Krylov via R-help
В Fri, 22 Mar 2024 14:02:09 -0500 Val пишет: > X2.R > load("X1.RData") > > I am getting this error message: > Error in load("X1.RData", : > bad restore file magic number (file may be corrupted) .. no data > loaded. This error happens very early when R tries to load the file, right at the

[R] Error message

2024-03-22 Thread Val
Hi all, I am creating an X1.RData file using the R 4.2.2 library. x1.R save(datafilename, file="X1.RData") When I am trying to load this file using another script X2.R load("X1.RData") I am getting this error message: Error in load("X1.RData", : bad restore file magic number (file

Re: [R] Error while installing the R from CRAN website!

2023-12-15 Thread Ivan Krylov
В Thu, 14 Dec 2023 22:30:17 +0530 siddharth sahasrabudhe via R-help пишет: > I have installed R on my machine. What operating system does your machine run? Was it the latest version of R that you installed? > After I open the R program I am getting the following message on the > console: >

[R] Error while installing the R from CRAN website!

2023-12-15 Thread siddharth sahasrabudhe via R-help
Hello, I have installed R on my machine. After I open the R program I am getting the following message on the console: Error: evaluation nested too deeply: infinite recursion / options(expressions=)? Can anyone please let me know what this message is? Is there any issue while installing R and

Re: [R] Error in setwd(dir) when initializing R

2023-11-20 Thread Ivan Krylov
On Mon, 20 Nov 2023 12:18:11 +0100 Ana de las Heras Molina wrote: > Error in setwd(dir) : no es posible cambiar el directorio de trabajo If you run traceback() first thing after getting this error, does it say anything useful? (Anything besides "No traceback available" would count as useful.)

Re: [R] Error in setwd(dir) when initializing R

2023-11-20 Thread Kevin Thorpe
I think that you may be correct about OneDrive being related. I have seen OneDrive associated with problems before. What happens if you manually set the working directory to that location? Does it work if your default home directory is local to your machine? > On Nov 20, 2023, at 6:18 AM, Ana

[R] Error in setwd(dir) when initializing R

2023-11-20 Thread Ana de las Heras Molina
Hello, I am Ana de las Heras, and I write to you because every time I open RStudio or R directly I have the following message, before I can do anything at all: Error in setwd(dir) : no es posible cambiar el directorio de trabajo At first I didn't pay much attention to it, but I am having lots

Re: [R] Error running gee function. I neither understand the error message, nor know what needs to be done the get the gee to run

2023-10-25 Thread Duncan Murdoch
Actually a better solution would be to make PID into a factor. They can always be coerced to a number, but will display with your meaningful labels. Duncan Murdoch On 25/10/2023 3:38 p.m., Duncan Murdoch wrote: I don't see it documented, but it appears that the gee() function assumes the id

Re: [R] Error running gee function. I neither understand the error message, nor know what needs to be done the get the gee to run

2023-10-25 Thread Duncan Murdoch
I don't see it documented, but it appears that the gee() function assumes the id variable can be coerced to a number. Your ids are in PID, and are strings like "HIPS004", etc. Change that to "004" or a numeric 4 and the error goes away. Duncan Murdoch On 25/10/2023 3:23 p.m., Sorkin, John

[R] Error running gee function. I neither understand the error message, nor know what needs to be done the get the gee to run

2023-10-25 Thread Sorkin, John
Colleagues, I am receiving several error messages from the gee function. I don't understand the ides the error messages are trying to impart, and I don't know how to debug or correct the error. The error messages follow: > fitgee <- gee(HipFlex ~ >

[R] Error in finding factor scores/ person ability in item response theory

2023-09-07 Thread nor azila
Dear R users, I have encountered some error in finding factor scores/ person ability in item response theory. I tried a few times using ltm and mirt package but it still gave me error. #TRY #1 - Fit GPCM model using ltm > irt_model <- gpcm(response_matrix) > irt_person_abilities <-

[R] Error in analysis of arguments of Rasch

2023-09-05 Thread nor azila
Dear R users, I am using ltm and eRm package in analysing my polytomous data for fitting item response theory and Rasch model, respectively. I'm having a problem with the error as below; > library(eRm) > library(ltm) > HT <- read.csv("C:/Dropbox/Analysis R_2023/HT.csv") > response_columns <-

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
Fascinating and, as ever, extremely helpful Ivan.  Duncan Murdoch nudged me in the right direction and for now the solution for me is that if I don't have the lines: description: |   CE's pages "blog posts" about using R in _site.yaml that have been there for ages, then everything works.  If

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

2023-08-25 Thread Ivan Krylov
В 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 I was just stepping through the > same bits of code (with the warning that the debugger didn't > have the source so I'm not

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] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-24 Thread Duncan Murdoch
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 'rmarkdown::render("creating-a-shiny-server.Rmd")'

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

2023-08-24 Thread Duncan Murdoch
Could you post a link to the source for that Rmd file? Duncan Murdoch 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:

[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
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 'rmarkdown::render("creating-a-shiny-server.Rmd")' processing file: creating-a-shiny-server.Rmd output file:

Re: [R] Error in analysis of Rasch using eRm package.

2023-08-22 Thread Rui Barradas
Às 16:49 de 21/08/2023, nor azila escreveu: Dear R users, I am using eRm package in analysing my polytomous data as below Respondents = 277 people Item = 30 questions The data consists of 0,1,2,3 responses/answers. I'm having a problem in writing coding as below because I do not know what I

[R] Error in analysis of Rasch using eRm package.

2023-08-21 Thread nor azila
Dear R users, I am using eRm package in analysing my polytomous data as below Respondents = 277 people Item = 30 questions The data consists of 0,1,2,3 responses/answers. I'm having a problem in writing coding as below because I do not know what I should replace in each of the arguments.

Re: [R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
Fixed! I was not passing a tol value from the outer function to the inner qnbinom() function. Because the scope of tol in qbinom() was confined to the outer function, qnbinom was not accessing the globally defined tol value. Furthermore, because the outer function itself was embedded in

Re: [R] Error: promise already under evaluation

2023-07-18 Thread Ivan Krylov
В Tue, 18 Jul 2023 09:28:30 -0400 Joseph Lucke пишет: > Error in qnbinom(1 - tol, size = q, prob = r) : > pRsq.Rhosq <- function(x, n, p, Rhosq,tol=tol){ It looks like you're not passing the `tol` parameter, and its default value unfortunately refers to itself: (function(x = x) x)() # Error

[R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
A repost. R gurus: I have a 10 or so functions that use R’s qnbinom() function. Until now, they have worked without any problems whatsoever. I created a new function, which involved the integration, using R’s integrate(), of a function that in turn uses the qnbinom() function. The function failed

Re: [R] error in arfima...

2023-06-09 Thread Martin Maechler
ne 5, 2023 3:19 PM > To: akshay kulkarni > Cc: Martin Maechler ; R help Mailing list > Subject: Re: [R] error in arfima... >> Dear Martin, >> REgrets to reply this late >> I am staring at a conundrum never before encountered in my experience with R

Re: [R] error in arfima...

2023-06-05 Thread akshay kulkarni
Cc: Martin Maechler ; R help Mailing list Subject: Re: [R] error in arfima... > Dear Martin, > REgrets to reply this late > I am staring at a conundrum never before encountered in my experience with R: > LYGH[[201]] > [1] 45.40 3.25 6.50 2.15 >

Re: [R] error in arfima...

2023-06-05 Thread Martin Maechler
Notably the Windows version of R has had problems fixed in the mean time .. and at least there's a hope the problem disappears. Lastly (but probably not helping more), you could use dput() with control="digits" and even .Internal(inspect( * )) magic on your LYGH[[201]] When I use simple

Re: [R] error in arfima...

2023-06-04 Thread akshay kulkarni
"ar" [6] "ma" "covariance.dpq" "fnormMin""sigma" "stderror.dpq" [11] "correlation.dpq" "h" "d.tol" "M" "hessian.dpq&q

Re: [R] error in arfima...

2023-06-01 Thread Martin Maechler
> akshay kulkarni > on Wed, 31 May 2023 20:55:33 + writes: > dear members, > I am using arfima() from forecast package to model a time > series. The following is the code: >> LYGH[[202]] > [1] 45.40 3.25 6.50 2.15 >> arfima(LYGH[[202]]) > Error

[R] error in arfima...

2023-05-31 Thread akshay kulkarni
dear members, I am using arfima() from forecast package to model a time series. The following is the code: > LYGH[[202]] [1] 45.40 3.25 6.50 2.15 > arfima(LYGH[[202]]) Error in .fdcov(x, fdf$d, h, nar = nar, nma = nma, hess = hess, fdf.work = fdf$w) : NA/NaN/Inf

Re: [R] Error message when using 'optim' for numerical maximum likelihood

2023-05-14 Thread Rui Barradas
Às 06:28 de 14/05/2023, iguodala edwin via R-help escreveu: Good morning, How can I resolved error message New_X with convergence 1.Thanks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Error message when using 'optim' for numerical maximum likelihood

2023-05-14 Thread iguodala edwin via R-help
Good morning, How can I resolved error message New_X with convergence 1.Thanks [[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

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Ivan Krylov
В Thu, 11 May 2023 17:51:33 +0800 Jinsong Zhao пишет: > Both codes do not return NA on FreeBSD: > > > strptime("1970-01-01 00:00.00 UTC", "%Y-%m-%d %H:%M", '') > [1] "1970-01-01 CST" > > strptime("1970-01-01 00:00.00 UTC", "%Y-%m-%d", '') > [1] "1970-01-01 CST" I must have misread the

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Jinsong Zhao
The origin of this problem is when I try to update rstan package in R 4.3.0 on FreeBSD. I get the same error as that https://github.com/stan-dev/rstan/issues/612 However, I did not encounter this problem when using R 4.2.x or 4.1.x on FreeBSD. Best, Jinsong On 2023/5/11 16:56, Jinsong Zhao

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Jinsong Zhao
On 2023/5/11 17:22, Ivan Krylov wrote: В Thu, 11 May 2023 16:56:41 +0800 Jinsong Zhao пишет: When I run the following code in R 4.3.0 on FreeBSD, I got error. > as.POSIXct("1970-01-01 00:00.00 UTC") Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Jinsong Zhao
On 2023/5/11 17:24, Jeff Newmiller wrote: I find your claim suspect... a period is not interchangeable with a colon. Good catching, but In R 4.3.0 on FreeBSD, the same error after changing the period to a colon: > as.POSIXct("1970-01-01 00:00:00 UTC") Error in as.POSIXlt.character(x, tz, ...)

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Jeff Newmiller
I find your claim suspect... a period is not interchangeable with a colon. On May 11, 2023 1:56:41 AM PDT, Jinsong Zhao wrote: >Hi there, > >When I run the following code in R 4.3.0 on FreeBSD, I got error. > >> as.POSIXct("1970-01-01 00:00.00 UTC") >Error in as.POSIXlt.character(x, tz, ...) : >

Re: [R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Ivan Krylov
В Thu, 11 May 2023 16:56:41 +0800 Jinsong Zhao пишет: > When I run the following code in R 4.3.0 on FreeBSD, I got error. > > > as.POSIXct("1970-01-01 00:00.00 UTC") > Error in as.POSIXlt.character(x, tz, ...) : >character string is not in a standard unambiguous format Do

[R] Error in as.POSIXlt.character(x, tz, ...)

2023-05-11 Thread Jinsong Zhao
Hi there, When I run the following code in R 4.3.0 on FreeBSD, I got error. > as.POSIXct("1970-01-01 00:00.00 UTC") Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard unambiguous format The same code could give correct answer in R 4.3.0 on Windows, and R 4.1.2

[R] Error in percentage stacked barplot

2023-05-02 Thread Maria Lathouri via R-help
Dear all,  I am trying to plot the following table in stacked barplot in percentages and also horizontal. Component      Sample 1      Sample 2      Sample 3CaO    45     52    48SiO2   25    22    18Al2O3

Re: [R] Error on using Confint function to calculate 95% CI

2023-04-26 Thread bharat rawlley via R-help
Thanks a lot for your response  I managed to figure out the solution. There were some variables in my data which were not a part of the model but were interfering with the function. I removed those from my database and got the results  Thanks! Sent from Yahoo Mail for iPhone On Wednesday,

Re: [R] Error on using Confint function to calculate 95% CI

2023-04-26 Thread Ebert,Timothy Aaron
Are the numbers you provided multiple estimates of one coefficient or are they one estimate each of over 20 coefficients? -Original Message- From: R-help On Behalf Of Michael Dewey Sent: Wednesday, April 26, 2023 5:14 AM To: bharat rawlley ; r-help@R-project.org Subject: Re: [R] Error

Re: [R] Error on using Confint function to calculate 95% CI

2023-04-26 Thread Michael Dewey
I am afraid your post is more or less unreadable since you posted in HTML and this is a plain text list. It might also help if you gave more context like the full results of your model. There is a list dedicated to mixed models https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models which

[R] Error on using Confint function to calculate 95% CI

2023-04-25 Thread bharat rawlley via R-help
Hello,  I am trying to estimate 95% CI using the confint function for a generalized liner model. While I am able to estimate Odds ratio using the coef function but on using the confint function, I get the message " Error in approx(sp$y, sp$x, xout = cutoff) : need at least two non-NA values to

Re: [R] R-error

2023-04-14 Thread Ivan Krylov
Please keep R-help in the "Copy" list. Please compose your messages in plain text, not HTML. On Thu, 13 Apr 2023 15:59:49 +0800 (GMT+08:00) "Dezhi Wang" wrote: > This is my config.log Please don't send any more screenshots. They are needlessly large and impossible to copy text from. You could

Re: [R] R-error

2023-04-13 Thread Ivan Krylov
On Thu, 13 Apr 2023 14:53:14 +0800 (GMT+08:00) "Dezhi Wang" wrote: > [New Thread 0x7fffe660a700 (LWP 3791)] > [Thread 0x7fffe660a700 (LWP 3791) exited] > Program received signal SIGSEGV, Segmentation fault. > 0x7fffe50c0fe5 in intel_aes_gcmAAD () from > /lib64/libfreeblpriv3.so You didn't

Re: [R] R-error

2023-04-12 Thread Ivan Krylov
On Wed, 12 Apr 2023 16:04:55 +0800 (GMT+08:00) "Dezhi Wang" wrote: > I run R 4.2.2 on CentOS-7.6. Thank you for this useful information. Could you tell us how this build of R was installed on this machine? > > install.packages('sf') > --- Please select a CRAN mirror for use in this session

[R] R-error

2023-04-12 Thread Dezhi Wang
Hello, I run R 4.2.2 on CentOS-7.6. I install package through install.packages("sf").It threw the above error: > install.packages('sf') --- Please select a CRAN mirror for use in this session --- *** caught segfault *** address 0x60, cause 'memory not mapped' Traceback: 1: download.file(url,

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

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

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

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

[R] Error: Invalid parent values

2023-02-02 Thread Md. Moyazzem Hossain
Hi, I hope that you are doing well. I am Md Hossain, trying to fit the ARIMAX model in RJAGS. However, I got an error message while I ran the code. Initially, I am using data obtained from R-package then I will implement it into real data. The code and error message are given below.

Re: [R] error in exists.....

2022-12-28 Thread akshay kulkarni
Dear Bert, Thanks for sharing your views... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Wednesday, December 28, 2022 12:28 AM To: akshay kulkarni Cc: Sarah Goslee ; R help Mailing list Subject: Re: [R] error

Re: [R] error in exists.....

2022-12-27 Thread Bert Gunter
rt Gunter > Sent: Tuesday, December 27, 2022 11:39 PM > To: akshay kulkarni > Cc: Sarah Goslee ; R help Mailing list > > Subject: Re: [R] error in exists. > > You are confused about the list hierarchy. Perhaps this will explain: > > i <- 1 > > E <- new.

Re: [R] error in exists.....

2022-12-27 Thread akshay kulkarni
sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Tuesday, December 27, 2022 11:39 PM To: akshay kulkarni Cc: Sarah Goslee ; R help Mailing list Subject: Re: [R] error in exists. You are confused about the list hierarchy. Perhaps this will explain: >

Re: [R] error in exists.....

2022-12-27 Thread Bert Gunter
duce it now? > > Thanking you, > Yours sincerely, > AKSHAY M KULKARNI > ____ > From: Sarah Goslee > Sent: Tuesday, December 27, 2022 11:20 PM > To: akshay kulkarni > Cc: R help Mailing list > Subject: Re: [R] error in exists. > >

Re: [R] error in exists.....

2022-12-27 Thread Greg Snow
You might try `hasName` instead of `exists` since `exists` is designed for environments and `hasName` for objects (like lists). Note that the order of the arguments is switched between the 2 functions. This does the same thing as Andrew Simmons' answer, but is a little bit shorter. On Tue, Dec

Re: [R] error in exists.....

2022-12-27 Thread akshay kulkarni
Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Sarah Goslee Sent: Tuesday, December 27, 2022 11:20 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] error in exists. Hi, I can't create the desired object using the code you provided, but if

Re: [R] error in exists.....

2022-12-27 Thread Sarah Goslee
Hi, I can't create the desired object using the code you provided, but if I create it in two steps so that E$L[[i]]$T1A1 does exist, exist() returns TRUE. E <- new.env() E$L <- list() i <- 1 E$L[[i]]$T1A1 <- Sys.time() # returns: Error in `*tmp*`[[i]] : subscript out of bounds E$L[[i]] <-

Re: [R] error in exists.....

2022-12-27 Thread Andrew Simmons
exists() is for bindings in an environment, not for names in a list. try "T1A1" %in% names(E$L[[i]]) instead On Tue, Dec 27, 2022, 12:36 akshay kulkarni wrote: > Dear members, > I have the following code: > > E <- new.env() > > E$L <- list() > > i <- 1 > >

[R] error in exists.....

2022-12-27 Thread akshay kulkarni
Dear members, I have the following code: > E <- new.env() > E$L <- list() > i <- 1 > E$L[[i]]$T1A1 <- Sys.time() > exists("T1A1", where = E$L[[i]]) Error in list2env(list(1, T1A1 = 1672161002.38743), NULL, ) : attempt to use zero-length variable name I want the

Re: [R] Error 3221226505

2022-12-18 Thread Bill Dunlap
Note that 3221226505 in base 10 is C409 in hexadecimal. You may have better luck looking for causes of this by googling the hex representation. -Bill On Sun, Dec 18, 2022 at 3:56 PM Mathurin, Gottfried via R-help < r-help@r-project.org> wrote: > Hello, > I currently face the issue of

Re: [R] Error 3221226505

2022-12-18 Thread David Winsemius
I cannot tell whether it would happen to me for two reasons: I don't use Windows anymore and R's current version is 4.2.1. You can determine whether it is the core packages that are throwing the error (rather unlikely) or perhaps something you have in your (invisible) .Rdata file. You should

Re: [R] Error 3221226505

2022-12-18 Thread Jeff Newmiller
Doesn't happen to me. On December 16, 2022 12:44:17 AM PST, "Mathurin, Gottfried via R-help" wrote: >Hello, >I currently face the issue of Windows 10 throwing a code 3221226505 >whenever I try to use R-4.1.3. >Is this issue known and could you possibly share a fix? > >Thank you in advance, >

[R] Error 3221226505

2022-12-18 Thread Mathurin, Gottfried via R-help
Hello, I currently face the issue of Windows 10 throwing a code 3221226505 whenever I try to use R-4.1.3. Is this issue known and could you possibly share a fix? Thank you in advance, *Gottfried* --

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-22 Thread Chao Liu
Thank you Eric, Andrew, Rui and Martin for all your help and advice. I did learn some good practices under the new R version! Best, Chao On Thu, Sep 22, 2022 at 5:53 AM Martin Maechler wrote: > > Eric Berger > > on Wed, 21 Sep 2022 22:26:39 +0300 writes: > > > In R 4.2.0 there

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-22 Thread Martin Maechler
> Eric Berger > on Wed, 21 Sep 2022 22:26:39 +0300 writes: > In R 4.2.0 there is a significant change. When you use an if() statement > with a condition of length > 1 this now reports an error. > e.g. this link mentions it as a change >

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-21 Thread Rui Barradas
Hello, In my previous I forgot that this, for matrices to have 2 classes , is relatively new. It was introduced in R 4.0.0. From the News file [1], point 2: R News [R logo] CHANGES IN 4.0.0 SIGNIFICANT USER-VISIBLE CHANGES matrix objects now also inherit from class "array", so e.g.,

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-21 Thread Rui Barradas
Hello, Check what class(datmat) returns and use ?inherits instead. class(datmat) #[1] "matrix" "array" inherits(datmat, "matrix") #[1] TRUE Also, the error the posted code gives is centrality(datmat,type="flow",center=TRUE) Error in checkDataTypes(y = NULL, networks = networks, lag = lag) :

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-21 Thread Andrew Simmons
In general, you should be using inherits(netwotks, "matrix") or is(networks, "matrix") instead of class() == Your function fails because your object has multiple classes so class== returns multiple logical values so if will fail. But inherits or is will return one logical value, so if will not

Re: [R] Error in if (class(networks) == "matrix") from a function

2022-09-21 Thread Eric Berger
In R 4.2.0 there is a significant change. When you use an if() statement with a condition of length > 1 this now reports an error. e.g. this link mentions it as a change https://www.jumpingrivers.com/blog/new-features-r420/ In your case this is because class(obj) can return a character vector of

[R] Error in if (class(networks) == "matrix") from a function

2022-09-21 Thread Chao Liu
Dear R-Help community, This is a crosspost on SO but I've had no luck so far. So I have a function which computes a centrality index for the nodes in a network or matrix. Here is the function: library(igraph) #load package igraph centrality <- function (networks, type = c("indegree",

Re: [R] Error Running arules

2022-09-04 Thread Rui Barradas
Hello, Before removing all of R, why not run update.packages() ? Hope this helps, Rui Barradas Às 17:14 de 04/09/2022, Stephen H. Dawson, DSL via R-help escreveu: I contacted the arules package maintainer. He concluded the syntax I submitted to this original post is correct. The problem

Re: [R] Error Running arules

2022-09-04 Thread Stephen H. Dawson, DSL via R-help
I contacted the arules package maintainer. He concluded the syntax I submitted to this original post is correct. The problem he estimates is a version mismatch within my R packages, although all packages I am using come from R repositories. Specifically, something is off on the r-base version

Re: [R] Error Running arules

2022-09-02 Thread Stephen H. Dawson, DSL via R-help
Go it, thanks. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 9/2/22 12:46, Bert Gunter wrote: 1. I told you essentially everything there is to know. 2. Chapter 13.3 of "An Introduction to R" on 'namespaces'. 3. Search

[R] Error Running arules

2022-09-01 Thread Stephen H. Dawson, DSL via R-help
Hi Everyone, I upgraded my box recently. I am now running R at version 4.2. I attempted to do association rules today using arules. I am getting two errors. My first guess is there is something in the build of the arules that is not found in r-base. My second guess is the script syntax

Re: [R] Error generated by nlme::gnls

2022-07-28 Thread Martin Maechler
> Bill Dunlap > on Sun, 24 Jul 2022 08:51:09 -0700 writes: > I think the intent of this code was to see if the formula > had solely a literal 1 on the right hand side. Then > !identical(pp[[3]], 1) would do it, avoiding the overhead > of calling deparse. Note that

Re: [R] Error generated by nlme::gnls

2022-07-24 Thread Bill Dunlap
I think the intent of this code was to see if the formula had solely a literal 1 on the right hand side. Then !identical(pp[[3]], 1) would do it, avoiding the overhead of calling deparse. Note that the 1 might be an integer, which the current code would (erroneously) not catch, so

Re: [R] Error generated by nlme::gnls

2022-07-23 Thread Ivan Krylov
On Sun, 24 Jul 2022 16:03:24 +1200 Rolf Turner wrote: > My impression is that if the right hand side of a formula gets "too > long", then it gets split into parts --- which messes everything up. For new enough R (≥ 4.0), it's possible to use deparse1() [*], which guarantees to return a single

Re: [R] Error generated by nlme::gnls

2022-07-23 Thread Rolf Turner
On Sat, 23 Jul 2022 21:00:25 -0400 Ben Tupper wrote: > Could this be related to a new if() behavior introduced in v4.2.0 ? > See the "SIGNIFICANT USER-VISIBLE CHANGES" for v4.2.0 in the NEWS > > https://cloud.r-project.org/doc/manuals/r-release/NEWS.html No. What's going on is much weirder

Re: [R] Error generated by nlme::gnls

2022-07-23 Thread Ben Tupper
Could this be related to a new if() behavior introduced in v4.2.0 ? See the "SIGNIFICANT USER-VISIBLE CHANGES" for v4.2.0 in the NEWS https://cloud.r-project.org/doc/manuals/r-release/NEWS.html On Sat, Jul 23, 2022 at 6:26 PM Aaron Crowley wrote: > > Approximately 6 months ago, I successfully

Re: [R] Error in forest.meta : argument 3 matches multiple formal arguments

2022-05-26 Thread Luigi Marongiu
Thank you On Thu, May 26, 2022 at 12:38 PM Ivan Krylov wrote: > > В Thu, 26 May 2022 12:30:12 +0200 > Luigi Marongiu пишет: > > > > Error in forest.meta(m10, sortvar = TE, predict = TRUE, print.tau2 > > > = TRUE, : > > argument 3 matches multiple formal arguments > > Look at

[R] Error in forest.meta : argument 3 matches multiple formal arguments

2022-05-26 Thread Luigi Marongiu
Hello, I am using the package meta to plot a forest plot. My data looks like this: ``` X Entry Cases Ca_pos Controls Co_pos Method Tissue Disease Virus Set 6 de Villiers, 200782 72 82 61PCR colon/rectum cancer TTV 3 7 de Villiers, 2002

Re: [R] Error when trying to install package tableHTML

2022-05-17 Thread Ivan Krylov
On Tue, 17 May 2022 11:43:33 -0500 Paul Bernal wrote: > Could this be due to network restrictions? Yes, definitely. > URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'SSL > peer certificate or SSH remote key was not OK' Since most other people seem to be able to access this

Re: [R] Error with text analysis data

2022-04-13 Thread Neha gupta
>> >> >> >> >> >> We agree on that. However, the error gives you no hint about which >> >> variables are causing the problem. If it did, then it could only tell >> >> about the first variable with the problem. I think you would g

Re: [R] Error with text analysis data

2022-04-13 Thread Ebert,Timothy Aaron
ufl.edu>> Cc: Neha gupta mailto:neha.bologn...@gmail.com>>; r-help mailing list mailto:r-help@r-project.org>> Subject: Re: [R] Error with text analysis data [External Email] Constant columns can be the model when you do some subsetting or are exploring a new dataset. My obj

Re: [R] Error with text analysis data

2022-04-13 Thread Bill Dunlap
; *Sent:* Wednesday, April 13, 2022 12:23 PM > *To:* Ebert,Timothy Aaron > *Cc:* Neha gupta ; r-help mailing list < > r-help@r-project.org> > *Subject:* Re: [R] Error with text analysis data > > > > *[External Email]* > > Constant columns can be the model when you

Re: [R] Error with text analysis data

2022-04-13 Thread Bill Dunlap
ike summarize(y) or mean(y) if that was the goal. > > Tim > > -Original Message- > From: R-help On Behalf Of Bill Dunlap > Sent: Wednesday, April 13, 2022 9:56 AM > To: Neha gupta > Cc: r-help mailing list > Subject: Re: [R] Error with text analysis data > &

Re: [R] Error with text analysis data

2022-04-13 Thread Bill Dunlap
This sounds like what I think is a bug in stats::model.matrix.default(): a numeric column with all identical entries is fine but a constant character or factor column is not. > d <- data.frame(y=1:5, sex=rep("Female",5)) > d$sexFactor <- factor(d$sex, levels=c("Male","Female")) > d$sexCode <-

Re: [R] Error with text analysis data

2022-04-12 Thread Jim Lemon
Hi Neha, The error message is about not having _factors_ with two or more levels. Apart from using stringsAsFactors=FALSE (meaning that you probably won't get any factors in "d"), your sample data doesn't look like CSV format. Perhaps the lines have been truncated. You may get something with

Re: [R] error with more 100 forked processes

2022-04-08 Thread Henrik Bengtsson
The reason why you hit the limit already around 100 workers, could be because you already have other connections open, e.g. file connections, capture.output(), etc. If you want to use *forked* processing with more than 125 workers using bare-bone R, you can use parallel::mclapply() and friends,

[R] error with more 100 forked processes

2022-04-08 Thread Guido Kraemer via R-help
I am trying to run a parallel job on a computer with many CPUs and get the following error: > library(parallel) > cl <- makeForkCluster(128) Error in UseMethod("sendData") :   no applicable method for 'sendData' applied to an object of class "NULL" If I scale down to 100 CPUs it doesn't

Re: [R] error as in unused argument of a new package

2022-02-26 Thread Tariq Khasiri
I took care of the issue by simply updating an already installed package. Really appreciate for the valuable feedback from R community. Glad to have such kind guidelines. On Sat, Feb 26, 2022 at 1:57 AM Ivan Krylov wrote: > On Fri, 25 Feb 2022 16:14:05 -0600 > Tariq Khasiri wrote: > > >

Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed

2022-01-28 Thread Avi Gross via R-help
0) > print("TRUE") else print("FALSE")[1] "FALSE" This is why you are being told that for many purposes, the Boolean vector may work fine. But if you really want or need zero and one, that is a trivial transformation as shown. Feel free to use ifelse() and then f

Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed

2022-01-28 Thread Avi Gross via R-help
0) > print("TRUE") else print("FALSE")[1] "FALSE" This is why you are being told that for many purposes, the Boolean vector may work fine. But if you really want or need zero and one, that is a trivial transformation as shown. Feel free to use ifelse() and then f

Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed

2022-01-27 Thread Avi Gross via R-help
Message- From: Ebert,Timothy Aaron To: Bert Gunter Cc: R-help Sent: Thu, Jan 27, 2022 2:27 pm Subject: Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed You did not claim it is faster, but if one is writing large programs or has huge quantities of d

  1   2   3   4   5   6   7   8   9   10   >