| GitHub | https://github.com/zeehio |
| ORCID | https://orcid.org/0000-0002-8994-1549 |
| GitHub | https://github.com/zeehio |
| ORCID | https://orcid.org/0000-0002-8994-1549 |
@rmflight I have been there, good luck! I was quite scared but it wasn't that hard. check git commit dates and look for "date when the analysis started" (close to the first commits). Then use the released R version from that date. Next, setup the posit package manager to somewhere in the middle of the git commit dates. Why middle? You don't install new packages when you are fixing last bugs, but you may need some extra package mid analysis, so middle worked well for me.
And that's it.
@b0rk /etc/environment is a file that exists in most Linux systems. I wasn't aware it doesn't exist on macOS. The file has lines like "VAR=VALUE" and sets environment variables. I first thought it was parsed by the shell, but after your question I searched. I then thought it was a Linux kernel thing. But it is not! It's part of the "pluggable authentication modules" (or "PAM"), in my opinion a very weird (and widespread) system to control the login process.
@b0rk I was very confused with:
/etc/environment does not do any kind of variable substitution
I assumed it would substitute stuff.
e.g. /etc/environment
A=potato
B=$A
Will not make B a potato.
This confusion also happened to a colleague last week.
And then having to set http_proxy and HTTP_PROXY, no_proxy, NO_PROXY without being able to reference each other because not all software agreed on capitalization of those variables.
My 2 cents and thanks for reading
@drj @fanf 1e10 is an integer expressed as a float, yes. However if you consider 1e25 you will notice it is different from the integer 10²⁵ due to double precision floating point limitations.
int(1e25) == 10000000000000000905969664
I believe that's one reason why the implicit float to integer casting is not allowed anymore.
https://github.com/python/cpython/issues/86388#issuecomment-1093889720
@d2718 ah I see. I see all vectors as typed `character(0)`, `integer(0)`, `logical(0)`... These are zero length vectors of different types. When there is not enough info to infer the type, we have `NULL` as a fallback.
`c()` concatenates vectors.
If there is nothing to concatenate there is no type to infer so `NULL` is the outcome.
If we provide a type to the NULL vector (e.g. as.integer(NULL) we get the empty integer vector `integer(0)`.
That's how I make sense of it. I hope it helps.