In addition To John's comments,
https://support.posit.co/hc/en-us/articles/218012917-How-to-run-R-scripts-from-the-command-line
(found by searching on "Run R from the Linux Command line") is one of
many resources that you might find helpful.
As John said, this list can offer help to both new and
Keith,
I suggest you being by looking at a web page
https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/lm
It will introduce you to the lm function, the function that performs liner
regression and the summary function which returns some of the material you are
looking for. The p
R List,
Please excuse this ultra-newbie post.
I looked at this page but it's a bit beyond me.
https://www2.kenyon.edu/Depts/Math/hartlaub/Math305%20Fall2011/R.htm
I'm interested in R construct(s) to be entered at the command
line that would output slope, y-intercept, and r-squared values read
fro
Hi
what about
now <- Sys.time()
now
[1] "2024-08-22 11:24:23 CEST"
now.utc <- as.POSIXct(now, tz = "UTC")+2*3600
now.utc
[1] "2024-08-22 11:24:23 UTC"
Cheers.
Petr
čt 22. 8. 2024 v 11:00 odesílatel Iago Giné Vázquez
napsal:
> Hi,
>
> How should POSIXct time zone be changed without modifying
Dear Peter,
В Thu, 22 Aug 2024 16:53:01 +0200
Peter van Summeren пишет:
> Did anyone use fcaR for the current version of R/Rstudio on the Mac?
Maybe someone hasn't used fcaR on a Mac but can guess a solution to
your problem anyway. Maybe someone has, but has no idea how to help
you. On mailing
Hello,
Did anyone use fcaR for the current version of R/Rstudio on the Mac?
Peter
[[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 re
В Thu, 22 Aug 2024 08:46:03 +0200
SIBYLLE STÖCKLI via R-help пишет:
> rr2s <- stack(r, r2,s)
> > names(rs) <- c('r', 's', 'r2')
>
> Error in `names<-`(`*tmp*`, value = c("r", "s", "r2")) :
>
> incorrect number of layer names
The error must be happening because the variable named 'rs' in y
В Thu, 22 Aug 2024 08:59:46 +
Iago Giné Vázquez пишет:
> How should POSIXct time zone be changed without modifying the
> specified time (so fix the time zone).
Since POSIXct represents the number of seconds since the specified
"epoch" moment (beginning of 1970 UTC), fixing the time zone whi
Thanks all for your comments and solutions!
Best regards,
Iago
De: Ivan Krylov
Enviat el: dijous, 22 d��agost de 2024 11:27
Per a: Iago Gin�� V��zquez
A/c: r-help@r-project.org
Tema: Re: [R] Force conversion of (POSIXct) time zone with base R
�� Thu, 22 Aug 20
as.POSIXct(as.character(now),tz="UTC")
or
as.POSIXct(as.character(Sys.time()),tz="UTC")
On Thu, Aug 22, 2024 at 12:00 PM Iago Giné Vázquez wrote:
> Hi,
>
> How should POSIXct time zone be changed without modifying the specified
> time (so fix the time zone). I tried
>
> > now <- Sys.time()
>
Hi,
How should POSIXct time zone be changed without modifying the specified time
(so fix the time zone). I tried
> now <- Sys.time()
> now
[1] "2024-08-22 10:56:24 CEST"
> as.POSIXct(now, tz = "UTC")
[1] "2024-08-22 08:56:24 UTC"
> as.POSIXct(now, origin = as.POSIXct("1970-01-01", tz = "UTC"), t
11 matches
Mail list logo