Re: [R] ReadItem: Error

2021-09-18 Thread Jeff Reichman
> infoRDS("climate_raster.rds") $version [1] 2 $writer_version [1] "3.5.0" $min_reader_version [1] "2.3.0" $format [1] "xdr" -Original Message- From: Bert Gunter Sent: Saturday, September 18, 2021 11:40 AM To: reichm...@sbcglobal.net Cc: R-help Subject: Re: [R] ReadItem: Error Did y

Re: [R] Improvement: function cut

2021-09-18 Thread David Winsemius
On 9/18/21 5:28 AM, Leonard Mada via R-help wrote: Hello Andrew, I add this info as a completion (so other users can get a better understanding): If we want to perform a survival analysis, than the interval should be closed to the right, but we should include also the first time point (as pe

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

2021-09-18 Thread Bert Gunter
I think you should post on the RStudio help forums. They have specific areas to ask for help on their stuff, at least for some of it. You may wish to wait a bit before doing so, though, just to see if someone here responds. Bert On Sat, Sep 18, 2021, 12:26 PM Chris Evans wrote: > This question

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

2021-09-18 Thread Chris Evans
This question may belong somewhere else, if so, please signpost me and accept apologies. What is happening is that I have a large (for me, > 3k lines) Rmarkdown file with many R code blocks (no other code or engine is used) working on some large datasets. I have some inline r like There a

Re: [R] ReadItem: Error

2021-09-18 Thread Bert Gunter
Did you try infoRDS() ? It **may** tell you something useful, though it cannot tell you whether the file is corrupted or not. If you post its results here, someone **may** be able to tell you something informative. That's all I got. Bert Gunter "The trouble with having an open mind is that peop

[R] ReadItem: Error

2021-09-18 Thread Jeff Reichman
Anyone see what I might be doing wrong? Corrupted rds file maybe. The error would suggest I'm using an older version of R except I'm running both the latest RStudio and R versions. # Load in the tidyverse, raster, and sf packages library(tidyverse) library(raster) library(sf) # Read the climate d

Re: [R] Improvement: function cut

2021-09-18 Thread Leonard Mada via R-help
Hello Andrew, I add this info as a completion (so other users can get a better understanding): If we want to perform a survival analysis, than the interval should be closed to the right, but we should include also the first time point (as per Intention-to-Treat): [0, 4](4, 8](8, 12](12, 16]