Re: [R] Number changed weirdly when converting to numeric

2025-03-09 Thread Jeff Newmiller via R-help
4-converter/). > >Seems that decimal-to-float conversion has a bug on arm64. Note that I get the >same result with > >> x <- -177253333.33343267441 > >so it's not specific to as.numeric(). > >Best, >Stephanie > > > > >> On 9 Ma

Re: [R] Number changed weirdly when converting to numeric

2025-03-09 Thread Jeff Newmiller via R-help
/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; > LAPACK version 3.12.0 > > >locale: > >[1] C/UTF-8/C/C/C/C > > >time zone: Asia > >tzcode source: internal > > >attached base packages: > >[1] stats graphics grDevices utils datasets

Re: [R] Issue with littler vs. R and source()

2025-03-08 Thread Steve Martin via R-help
nd ignore the interactive dialogs that use package svDialogs > in the > program I'm trying to develop. Since I can run in R or RStudio by starting > them and > then source()ing, the situation is not critical, but it would be good to > work out > what is failing. > > Jo

Re: [R] Failed to convert data to numeric

2025-03-03 Thread Ivan Krylov via R-help
418180 6.7775277 > 3.2080840 > > [7] 4.1932877 0.3782577 4.6589550 NA There's an invisible Unicode character in there, U+FEFF ZERO WIDTH NO-BREAK SPACE: > dat2 |> tail(1) |> tools::showNonASCII() 1: -9.8814740 Try as.numeric(gsub('\ufeff

Re: [R] [Tagged] Re: Failed to convert data to numeric

2025-03-03 Thread Jeff Newmiller via R-help
?tools::showNonASCII On March 3, 2025 12:09:22 AM PST, Ivan Krylov via R-help wrote: >В Mon, 3 Mar 2025 13:21:31 +0530 >Christofer Bogaso пишет: > >> Is there any way to remove all possible "Unicode character" that may >> be present in the array at once? >

Re: [R] Failed to convert data to numeric

2025-03-03 Thread Ivan Krylov via R-help
ps://regex101.com/>. -- Best regards, Ivan __ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-21 Thread Paul Sherliker via R-help
n Inside my pasted-together constructed titles, I have to use \u{ad}, but _that_ works perfectly. Thank you very much indeed! Paul [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUB

Re: [R] Problems with package nlme

2025-02-20 Thread Ivan Krylov via R-help
Dear Stephan Weinbruch, I'm afraid it's data(RatPupWeight, package = 'nlme'). -- Best regards, Ivan ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

Re: [R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-20 Thread Ivan Krylov via R-help
В Wed, 19 Feb 2025 11:36:15 + Paul Sherliker via R-help пишет: > text(1, 11, "baseline\255defined") > text(1, 9, "done") > graphics.off() > > They like that dash - but I never knew what it was called. > > Recently work updated my PC to the late

[R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-20 Thread Paul Sherliker via R-help
to more complicated code, please? Thank you for looking at my deeply obscure niche problem! Paul [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.

Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
Apparently not just to Roger...sorry for spamming the entire list! In any case, I hope really do hope that this helps to resolve the issue. Ari, let us know if we can help with anything else. Best wishes, Achim On Thu, 13 Feb 2025, Achim Zeileis via R-help wrote: Roger, just to you

Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
Roger, just to you: Thanks for taking the time! I hope that Ari follows your recommendation, fingers crossed. Best wishes, Achim On Thu, 13 Feb 2025, Roger Bivand via R-help wrote: Ari, There were multiple errors in the acs package. If CRAN states that the maintainer abandoned it, that

Re: [R] install.packages and package dependencies

2025-02-13 Thread Roger Bivand via R-help
ssible rule tightening in R-devel. Hope this helps, Roger -- Roger Bivand Emeritus Professor Norwegian School of Economics Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway roger.biv...@nhh.no ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE a

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
wrong result was kind of unexpected. Best regards Hilmar On 12.02.25 03:02, Jeff Newmiller wrote: Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available? On February 11, 2025 4:51:48 AM PST, H B via R-help wrote: Dea

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
can get two different results when trying to access the  same object in the same  way,  without any error or warning message. Thanks again! Best regards Hilmar On 12.02.25 14:09, Ivan Krylov wrote: В Tue, 11 Feb 2025 13:51:48 +0100 H B via R-help пишет: > class(d) [1] "dgCMatr

[R] Reverse dependency checking

2025-02-13 Thread Lenth, Russell V via R-help
Dear R-Help, When I submit an update to one of my packages, I decided to try to avoid having to fix errors that sometimes occur in CRAN's reverse-dependency checks by performing the same checks ahead of time. From what I can tell, the way to do this is to use tools::check_packages_i

Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
ally made me chuckle. In the original draft of my post I wrote something like "I tried to look at what install.packages does by typing 'install.packages' but it shows me something I can't understand: install.packages function (...) .rs.callAs(name, hook, original, ...) "

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-12 Thread Ivan Krylov via R-help
В Tue, 11 Feb 2025 13:51:48 +0100 H B via R-help пишет: > > class(d) > [1] "dgCMatrix" > attr(,"package") > [1] "Matrix" > > dim(d) > Loading required package: Matrix > NULL Here's what happens here: 1. .Primitive("dim&q

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-11 Thread Jeff Newmiller via R-help
Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available? On February 11, 2025 4:51:48 AM PST, H B via R-help wrote: >Dear all, > >I just stumbled on this behavior - not sure if this is expected: > >R ve

[R] Unexpected result after auto-attaching of the Matrix package

2025-02-11 Thread H B via R-help
ce_0.22-5 [1] stats graphics  grDevices utils datasets  methods base other attached packages: [1] Matrix_1.7-2 loaded via a namespace (and not attached): [1] compiler_4.4.2 grid_4.4.2 lattice_0.22-5 __ R-help@r-project.org mailing list --

Re: [R] pairs plot

2025-02-07 Thread Ranjan Maitra via R-help
Bert, Thanks very much! Oops! I can not believe I completely missed this! Best wishes, Ranjan On Thu Feb06'25 08:15:45AM, Bert Gunter wrote: > From: Bert Gunter > Date: Thu, 6 Feb 2025 08:15:45 -0800 > To: Ranjan Maitra > Cc: R-Help > Subject: Re: [R] pairs plot

[R] pairs plot

2025-02-06 Thread Ranjan Maitra via R-help
or: object 'panel.hist' not found I know that this used to work in the past so I wonder if this was changed and the documentation was not corrected. Anyway, what is the current way of doing this? Many thanks and best wishes, Ranjan ______ R-help@r

Re: [R] Looking for simple line-splitting code

2025-02-05 Thread Mohammad Tanvir Ahamed via R-help
:   lines <- strsplit(x, "\n")   lines[sapply(lines, length) == 0] <- list("")   lines <- unlist(lines) Surely there's a simpler way to do this?  I'd like to use just base functions, no other packages. Duncan Murdoch __

[R] Error when loading optimx package and a solution

2025-02-05 Thread Marc Girondot via R-help
Dear R-help members Since this morning (5/2/2025), I get an error when I try to load optimx package. I solve it and I send my solution but if someone has a better idea or understand what's happened, I will be most happy to know. MacOSX 15.3 R 4.4.2 nlopt installed using brew install

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] Regarding Issue Running Parallel Computing on Linux RHEL version 8

2025-01-21 Thread Ivan Krylov via R-help
ttps://www.burns-stat.com/documents/books/the-r-inferno/> to find out how that happened. -- Best regards, Ivan ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

Re: [R] [External] Re: Parser For Line Number Tracing

2025-01-19 Thread luke-tierney--- via R-help
est.R#4 test.R#2 Error in nofunction("something stupid I am doing!") : could not find function "nofunction" Current call stack locations: . . . . test.R#6 The first report is from the explicit call in f() on line 2 that was invoked on line 4, and the second report

Re: [R] Test For Difference of Betas By Group in car

2025-01-19 Thread David Winsemius via R-help
— >> David >> Sent from my iPhone >> >>>> On Jan 19, 2025, at 10:00 AM, Sparks, John via R-help >>>> wrote: >>> >>> Hello R-Helpers, >>> >>> I was looking into how to test whether the beta coefficient from a >>&

Re: [R] Test For Difference of Betas By Group in car

2025-01-18 Thread David Winsemius via R-help
Sent from my iPhone > On Jan 19, 2025, at 1:57 PM, David Winsemius wrote: > > I don’t understand why you don’t include the full text of the error. > > — > David > Sent from my iPhone > >> On Jan 19, 2025, at 10:00 AM, Sparks, John via R-help >> wrot

Re: [R] Test For Difference of Betas By Group in car

2025-01-18 Thread David Winsemius via R-help
I don’t understand why you don’t include the full text of the error. — David Sent from my iPhone > On Jan 19, 2025, at 10:00 AM, Sparks, John via R-help > wrote: > > Hello R-Helpers, > > I was looking into how to test whether the beta coefficient from a regression >

[R] Test For Difference of Betas By Group in car

2025-01-18 Thread Sparks, John via R-help
his test actually be done in this manner, or is this a case of AI run amok. Guidance would be appreciated. --John Sparks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz

Re: [R] Parser For Line Number Tracing

2025-01-18 Thread Jeff Newmiller via R-help
hly occurred. > >has someone already written such an 'instrumenter'? > >__ >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 g

Re: [R] Installing R and RStudio - Contact Software Manufacturer Error URGENT

2025-01-15 Thread Marc Schwartz via R-help
e University (Pocatello) acknowledges that it is located within >> the boundaries of the original Fort Hall Reservation on the traditional >> lands of the Shoshone and Bannock peoples.Idaho State Universit >> >>[[alternative HTML version deleted]] >> >> __

Re: [R] Regarding Issue Running Parallel Computing on Linux RHEL version 8

2025-01-14 Thread Ivan Krylov via R-help
r N CPUs. Try running your script with the environment variable OPENBLAS_NUM_THREADS set to the string "1". It might be possible to speed up the script by setting OPENBLAS_NUM_THREADS=2 and dividing the number of child processes by the same number. -- Best regards, Ivan ___

Re: [R] Regarding Issue Running Parallel Computing on Linux RHEL version 8

2025-01-14 Thread Ivan Krylov via R-help
gt; library(lubridate) > library(tis) > library(tsoutliers) Could you identify and share the parts of the script that launch the computation in parallel? -- Best regards, Ivan ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread Jorgen Harmse via R-help
he design was probably too devious in the first place. } } Regards, Jorgen Harmse. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/

Re: [R] Extracting specific arguments from "..."

2025-01-06 Thread Jeff Newmiller via R-help
gt;Associate Director for Biostatistics and Informatics, Baltimore VA >> Medical Center Geriatrics Research, Education, and Clinical Center; >> >PI Biostatistics and Informatics Core, University of Maryland School of >> Medicine Claude D. Pepper Older Americans Ind

Re: [R] Extracting specific arguments from "..."

2025-01-06 Thread Jeff Newmiller via R-help
aliative Care, >10 North Greene Street >GRECC (BT/18/GR) >Baltimore, MD 21201-1524 >Cell phone 443-418-5382 > > > > >____ >From: R-help on behalf of Bert Gunter > >Sent: Monday, January 6, 2025 5:22 PM >To: Jorgen Harmse >Cc: r-help@r-project.org &

Re: [R] Extracting specific arguments from "..."

2025-01-06 Thread Jorgen Harmse via R-help
to extract the expression without evaluating it? g <- function(...) { pos <- match('a',...names()) if (is.na(pos)) stop("a is missing.") (function(a,...) substitute(a)) (...) } Regards, Jorgen Harmse. Message: 8 Date: Sun, 5 Jan 2025 11:17:02 -0800 From

Re: [R] Help Parsing String? From HTML

2025-01-05 Thread Sparks, John via R-help
__ From: Joshua Ulrich Sent: Sunday, January 5, 2025 2:55 PM To: Sparks, John Cc: r-help@r-project.org Subject: Re: [R] Help Parsing String? From HTML CAUTION: External Sender On Sun, Jan 5, 2025 at 2:03 PM Sparks, John via R-help wrote: > > Hi, > > I am scraping some data

Re: [R] Help Parsing String? From HTML

2025-01-05 Thread Ivan Krylov via R-help
В Sun, 5 Jan 2025 20:03:11 + "Sparks, John via R-help" пишет: > > mystring > {xml_nodeset (1)} > [1] {\n "symbol": "ABI",\n "open": 21.04,\n "high": 21.05,\n > "low": 20.06,\n "close": 20.2,\n &quo

[R] Help Parsing String? From HTML

2025-01-05 Thread Sparks, John via R-help
more experience at html parsing than me who can see a way to solve this in minutes. Any guidance would be appreciated. --John Sparks [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see htt

Re: [R] Using library(TTR) Calculate ATR by Symbol

2025-01-05 Thread Sparks, John via R-help
I don't see atr_df appearing in my current directory. Also, I assume that the input data frame is named ohlc? Or am I missing something. Thanks, --JJS From: Joshua Ulrich Sent: Sunday, January 5, 2025 11:31 AM To: Sparks, John Cc: R-help@r-projec

Re: [R] Using library(TTR) Calculate ATR by Symbol

2025-01-05 Thread Sparks, John via R-help
Thanks! Appears helpful and the quick turnaround is very much appreciated. I'll do some testing now. --JJS From: Joshua Ulrich Sent: Sunday, January 5, 2025 11:31 AM To: Sparks, John Cc: R-help@r-project.org Subject: Re: Using library(TTR) Calculate A

[R] Using library(TTR) Calculate ATR by Symbol

2025-01-05 Thread Sparks, John via R-help
, 417.79, 415.49, 412.87, 417, 418.79, 427.99, 422.99, 423.46, 430.98, 431.2, 437.42, 442.62, 443.57, 446.02, 443.33, 448.99, 449.56, 447.27, 451.59, 454.46, 437.39, 437.03, 436.6, 435.25, 439.33, 438.11, 430.53, 424.83, 421.5, 418.58, 423.35), adjClose = c(222.48, 227.23, 226.96, 224.23, 224.23, 22

Re: [R] mclapply hanging occasionally on macos

2024-12-31 Thread Ivan Krylov via R-help
ds on the BLAS. What's your sessionInfo()? If you don't get a good answer here, try r-sig-...@r-project.org. -- Best regards, Ivan ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-he

Re: [R] Citation for stock price data from Quantmod

2024-12-30 Thread Jeff Newmiller via R-help
searchers should rerun the analysis several times to provide a range or >field of possible/probable results. > >-Original Message- >From: Jeff Newmiller >Sent: Monday, December 30, 2024 7:52 PM >To: r-help@r-project.org; Ebert,Timothy Aaron ; Erin Hodgess >; r-help@r

Re: [R] Citation for stock price data from Quantmod

2024-12-30 Thread Jeff Newmiller via R-help
you wrote, and using >those methods recover the data independently from you and finish all other >steps in the analysis. I should not have to guess. > >Tim > >-Original Message- >From: R-help On Behalf Of Erin Hodgess >Sent: Monday, December 30, 2024 12:17 AM >T

Re: [R] get.symbols doesn' work

2024-12-18 Thread Phil Smith via R-help
On Wednesday, December 18th, 2024 at 11:00 AM, Bert Gunter wrote: > > > Please look at what you wrote. > get.symbols vs. getSymbols. > > -- Bert > > On Wed, Dec 18, 2024 at 7:56 AM Phil Smith via R-help > r-help@r-project.org wrote: > > > Hello r-

[R] get.symbols doesn' work

2024-12-18 Thread Phil Smith via R-help
rc) : could not find function "getSymbols" How do I get get.symbols to work? 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 P

Re: [R] Mutate issue help needed

2024-12-17 Thread Jeff Newmiller via R-help
as mutate (data, * > >The star is the character... > >(Data is the line above being piped) > >Why have the comments been *'d?. Is that the source error or a posting >error here? > >On Tue, 17 Dec 2024, 14:57 Ivan Krylov via R-help, >wrote: > >>

Re: [R] Mutate issue help needed

2024-12-17 Thread Ivan Krylov via R-help
ode from your messages, I would recommend composing in plain text: https://stat.ethz.ch/pipermail/r-help/2024-December/480371.html -- Best regards, Ivan __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/li

[R] rerddap v1.2.0

2024-12-16 Thread Roy Mendelssohn - NOAA Federal via R-help
the moral universe is long, but it bends toward justice" -MLK Jr. __ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Weird Behavior of mean

2024-12-13 Thread Jeff Newmiller via R-help
y, some >variables should not be overwritable, or at least trigger a warning. > >As Dante wrote, Abandon all hope ye who enter R. > >-- >Ivo Welch (ivo.we...@ucla.edu) > > [[alternative HTML version deleted]] > >__ >

Re: [R] Confirmation of no Electronic Communication functionality

2024-12-13 Thread Marc Schwartz via R-help
released and supported version of R would be in your best interest. Regards, Marc Schwarzt > On Dec 13, 2024, at 10:45 AM, Jeff Newmiller via R-help > wrote: > > R is a programming language. If you program it to communicate, it will. Also, > it is designed to work with u

Re: [R] Confirmation of no Electronic Communication functionality

2024-12-13 Thread Jeff Newmiller via R-help
code. On December 13, 2024 6:24:18 AM PST, Edward Woo via R-help wrote: >Hi, > >I am trying to download R version 3.6.1 onto my company computer and need an >email confirming that r does not include any electronic communication >functionality within the program. > >Thank

Re: [R] Confirmation of no Electronic Communication functionality

2024-12-13 Thread Ivan Krylov via R-help
Dear Edward Woo, Welcome to R-help! В Fri, 13 Dec 2024 14:24:18 + Edward Woo via R-help пишет: > need an email confirming that r does not include any electronic > communication functionality within the program Could you please provide a definition of electronic communication functio

[R] Confirmation of no Electronic Communication functionality

2024-12-13 Thread Edward Woo via R-help
ors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited. [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/list

Re: [R] Cores hang when calling mcapply

2024-12-12 Thread Gregg Powell via R-help
ess more memory and time-efficient. Remaining parallelization overhead is likely a necessary step given the size of the datasets you're working with and the complexity of the initial cleaning. Anyway, happy the suggestion moved you closer to the results you were looking for. I don't often

Re: [R] SQL and R

2024-12-11 Thread Jeff Newmiller via R-help
tm_campaign=sig-email&utm_content=webmail> > > [[alternative HTML version deleted]] > >__ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide https://www.R-project

Re: [R] Cores hang when calling mcapply

2024-12-11 Thread Gregg Powell via R-help
pecs of our server: >     Thread(s) per core:  2 >     Core(s) per socket:  20 >     Socket(s):           4 >     Stepping:            4 >     CPU(s) scaling MHz:  50% >     CPU max MHz:         3700. >     CPU min MHz:         1000. > > > > >

Re: [R] Cores hang when calling mcapply

2024-12-11 Thread Gregg Powell via R-help
imit reached?) > Error: cons memory exhausted (limit reached?) > Error: cons memory exhausted (limit reached?) > > > > From: Gregg Powell > Sent: Tuesday, December 10, 2024 7:52 PM > To: Deramus, Thomas Patrick > Cc: r-help@r-project.org > Subject: Re: [R]

Re: [R] Cores hang when calling mcapply

2024-12-10 Thread Gregg Powell via R-help
share same columns now) > final_dt <- rbindlist(list(out1, out2), use.names = TRUE, fill = TRUE) > > # Step E: If needed, summarize across ID_Key to sum presence > indicators > final_result <- final_dt[, lapply(.SD, sum, na.rm = TRUE), by = > ID_Key, .SDcols = setdiff(names(final

Re: [R] Cores hang when calling mcapply

2024-12-10 Thread Jeff Newmiller via R-help
2023-10-31)" >$nickname >[1] "Eye Holes" > >RStudio Server Version: >RStudio 2023.09.1+494 "Desert Sunflower" Release >(cd7011dce393115d3a7c3db799dda4b1c7e88711, 2023-10-16) for RHEL 9 >Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (

Re: [R] Sum by group

2024-12-06 Thread Jeff Newmiller via R-help
(997877 221608)15 19 36061013800 12826 >(996216 221621)16 13 36061004400 15945 (990562 >205039)17 13 36061004400 15945 (989574 206434)18 13 >36061004400 15945 (989574 206434)19 13 >36061004400 15945 (989574 20643

Re: [R] Creating a script in Rstudio

2024-12-06 Thread Robert Baer via R-help
tista de Figueiredo wrote: Hi there I want to create a script in Rstudio and load in the reagent dataset ensuring that the different data types in there (dates, text, etc) come through correctly. Best wishes Carlos ______ R-help@r-project.org mailing

[R] Spreadsheets data

2024-12-05 Thread Figueiredo, Carlos via R-help
. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Save spatial data in a csv file

2024-12-05 Thread Roger Bivand via R-help
conomics Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway roger.biv...@nhh.no __ 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.o

Re: [R] Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows

2024-11-30 Thread Christopher W. Ryan via R-help
5,3),rep(6,3),rep(10,2)) >> olddata <- data.frame(ID=ID,date=date) __ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows

2024-11-30 Thread Christopher W. Ryan via R-help
p(3,2),rep(4,2),rep(5,2), > rep(5,3),rep(6,3),rep(10,2)) > olddata <- data.frame(ID=ID,date=date) ______ 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 h

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
ne, University of Maryland School of Medicine; >> Associate Director for Biostatistics and Informatics, Baltimore VA Medical >> Center Geriatrics Research, Education, and Clinical Center; >> PI Biostatistics and Informatics Core, University of Maryland School of >> Me

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 David Winsemius via R-help
of Maryland School of Medicine; > Associate Director for Biostatistics and Informatics, Baltimore VA Medical > Center Geriatrics Research, Education, and Clinical Center; > PI Biostatistics and Informatics Core, University of Maryland School of > Medicine Claude D. Pepper Older Americans Ind

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
Biostatistics and Informatics, Baltimore VA Medical > Center Geriatrics Research, Education, and Clinical Center; > PI Biostatistics and Informatics Core, University of Maryland School of > Medicine Claude D. Pepper Older Americans Independence Center; > Senior Statistician University

Re: [R] Convert string to date time

2024-11-26 Thread David Winsemius via R-help
on of Gerontology and Paliative Care, 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 Cell phone 443-418-5382 ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] dplyr summarize by groups

2024-11-22 Thread tgs77m--- via R-help
eleted]] ______ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Issue with non-standard file 'vert.txt' in R CMD check

2024-11-20 Thread Ivan Krylov via R-help
Dear Zahra Heidari Ghahfarrokhi, Welcome to R-help! В Mon, 18 Nov 2024 19:48:39 +0330 zahra heidari gh пишет: > A non-standard file named `vert.txt` is being generated in the > check directory, causing a NOTE in the check results. Despite adding > `vert.txt` to `.Rbuildignore`, th

Re: [R] [EXT] Mac ARM for lm() ?

2024-11-16 Thread Jeff Newmiller via R-help
:15 PM PST, ivo welch wrote: >Thanks, and all well taken. But are my beautiful GPUs (with integrated >memory architecture) really nothing more than a cooling area for the chip? > >On Fri, Nov 15, 2024 at 6:06 AM Martin Maechler >wrote: > >> >>>>> Andrew Robins

Re: [R] [EXT] Mac ARM for lm() ?

2024-11-14 Thread Andrew Robinson via R-help
GPU cores? ______ 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/posting-guide.html and provide commented, minimal, self-conta

Re: [R] How to install rgeoda in R

2024-11-10 Thread Roy Mendelssohn - NOAA Federal via R-help
https://geodacenter.r-universe.dev/rgeoda HTH, -Roy > On Nov 10, 2024, at 8:49 AM, Jeff Newmiller via R-help > wrote: > > The rgeoda maintainer seems to be having difficulty keeping up with required > changes to be supported on CRAN. This may get corrected soon or never

Re: [R] How to install rgeoda in R

2024-11-10 Thread Jeff Newmiller via R-help
___ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide https://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reprod

Re: [R] Limit

2024-11-08 Thread Jeff Newmiller via R-help
the problem reading the file in or processing it after it has been >> >> read in? >> >> >> >> Bert >> >> >> >> On Fri, Nov 8, 2024 at 5:13 PM Jeff Newmiller via R-help >> >> wrote: >> >>> >> >>> C

Re: [R] Limit

2024-11-08 Thread Jeff Newmiller via R-help
data was read. The problem is with processing. > >On Fri, Nov 8, 2024 at 7:30 PM Bert Gunter wrote: >> >> Is the problem reading the file in or processing it after it has been read >> in? >> >> Bert >> >> On Fri, Nov 8, 2024 at 5:13 PM Jeff Newmille

Re: [R] Limit

2024-11-08 Thread Jeff Newmiller via R-help
re another way to handle a big data set in R? > > >Thank you. > >__ >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/posting-guide.html

Re: [R] Using multiple dat files

2024-11-06 Thread David Winsemius via R-help
On 11/5/24 22:29, Sibylle Stöckli via R-help wrote: Dear community To import multiple .dat weather files I am using list.files(). I intend to use the R package “ClimInd” to calculate different agroclimatic indicators. Question: Is there another solution to import multiple .dat files so

[R] Using multiple dat files

2024-11-06 Thread Sibylle Stöckli via R-help
RUE, sep = "", colClasses = "numeric", comment.char = "")) W[[1]] > dd(data = W[[1]]$Precip, time.scale = W[[1]]$year) Fehler in W[[1]]$year : $ operator is invalid for atomic vectors Kind regards Sibylle __ R

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-04 Thread Ivan Krylov via R-help
eady reported to the 'formula.tools' maintainer [*], so there isn't much else to do about it. -- Best regards, Ivan [*] https://github.com/decisionpatterns/formula.tools/issues/11 __ R-help@r-project.org mailing list -- To

[R] foreSIGHT package

2024-11-02 Thread Sibylle Stöckli via R-help
]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-01 Thread Ivan Krylov via R-help
Hi Aristide and welcome to R-help! Your message was a bit mangled [*]. It's best to compose messages to this mailing list in plain text. Otherwise (when composed in HTML), the mailing list eats the HTML part and we're left with the plain text part automatically generated by your mai

Re: [R] Extracting wind direction and wind speed from wind rose plot

2024-10-30 Thread Jeff Newmiller via R-help
from the plot by analyzing it. >Is there any library to do this? or any function to write for this purpose? >I would be more than happy if you please help me to do this. >Sincerely > > > > > > > -- Sent from my phone. Please excuse my brevity.

[R] readLines on open connection reads only first write on MacOS

2024-10-28 Thread martin gregory via R-help
n=FALSE) writeLines(c(paste0("input ", i, ": lines", " written/read: ", length(rL[[i]]), " / ", length(out } close(rLconn.w) close(rLconn.r) __ R-help@r-project.org mailing list -- To UNSUBSCR

Re: [R] readLines() and unz() and non-empty final line

2024-10-28 Thread Marttila Mikko via R-help
-source/blob/69af5a3859b0a45432a01f118dbecf5d8831085b/src/main/connections.c#L2451 [2]: https://github.com/wch/r-source/blob/69af5a3859b0a45432a01f118dbecf5d8831085b/src/main/connections.c#L4163 From: Iris Simmons Sent: Friday, 25 October 2024 14:38 To: Marttila Mikko Cc: R help Mailing list

Re: [R] readLines() and unz() and non-empty final line

2024-10-28 Thread Marttila Mikko via R-help
case; and it's a bit of a mouthful. Is it possible to somehow use unzip() with connections? My understanding is that it just creates files on disk in the given output directory. I'm using unz() because I don't want that. Best, Mikko -Original Message- From: R-help On Be

Re: [R] Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link

2024-10-26 Thread Cleber Borges via R-help
1   -8 # xmd1   -2 # xmd1   -6 # xmd2  -10 # xmd1   -3 # xmd1   -4 # xmd2   -5 # xmd1   -1 # xmd2   -7 # My expectative: # xmd1   xmd2 # -8 -10 # -2     -10 # -6 -10 # -3  -5 # -4  -5 # -1  -7 __ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link

2024-10-26 Thread Cleber Borges via R-help
My expectative: # xmd1   xmd2 # -6 -10 # -3  -5 # -4  -5 # Testing f()  f( c( 6, 7) ) # result of f() #  [,1] # xmd1   -8 # xmd1   -2 # xmd1   -6 # xmd2  -10 # xmd1   -3 # xmd1   -4 # xmd2   -5 # xmd1   -1 # xmd2   -7 # My expectative: # xmd1   xmd2 # -8     -10 # -2 -10 # -6  

Re: [R] readLines() and unz() and non-empty final line

2024-10-25 Thread Marttila Mikko via R-help
rom: Bert Gunter Sent: Thursday, 24 October 2024 18:13 To: Iris Simmons Cc: Marttila Mikko ; r-help@r-project.org Subject: Re: [R] readLines() and unz() and non-empty final line You don't often get email from bgunter.4...@gmail.com<mailto:bgunter.4...@gmail.com>. Learn why this is

[R] Outputting a difftime object in PASTE or AS.CHARACTER is missing the unit + expand the format options?

2024-10-25 Thread Reuver, B de (epi) via R-help
any way. The UMCG cannot be held responsible for incomplete reception or delay of this transferred message. ______ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] readLines() and unz() and non-empty final line

2024-10-25 Thread Marttila Mikko via R-help
r, please reply to the sender, so that they can arrange for proper delivery, and then please delete the message from your computer systems. Thank you. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] [EXTERNAL] R-help Digest, Vol 260, Issue 19

2024-10-24 Thread Jorgen Harmse via R-help
Harmse. -- Message: 1 Date: Wed, 23 Oct 2024 15:56:00 +1030 From: Stevie Pederson To: r-help@r-project.org Subject: [R] OSX-specific Bug in randomForest Message-ID: Content-Type: text/plain; charset="utf-8" Hi, It appears there is an OSX

[R] JASP vs R

2024-10-16 Thread tgs77m--- via R-help
that had a GUI. I recently learned about JASP. See https://jasp-stats.org/ for more details This may be an answer to their needs. Does anyone out their have any experience with this? Thomas Subia ______ R-help@r-project.org mailing list -- To UNSUBSCRIB

  1   2   3   4   5   6   7   8   9   10   >