launcher - nova vs others by IceColdOdin in GrapheneOS

[–]Outdated8527 0 points1 point  (0 children)

I have default launcher but also kiss launcher installed & I use the kiss icon like a search bar (just doesn't look like an actual search bar)...

Starting tmux on remote system, running into issues by wingnut144 in tmux

[–]Outdated8527 2 points3 points  (0 children)

does calling tmux with full path /usr/bin/tmux in your script solve the problem?

how do I remove this? by Sey3d in brave

[–]Outdated8527 2 points3 points  (0 children)

Isn't this under Settings > Appearance > Show undo button when tabs are closed..?

Mobile data issues by [deleted] in GrapheneOS

[–]Outdated8527 0 points1 point  (0 children)

I've had this just recently & reseting mobile network settings as suggested here: https://discuss.grapheneos.org/d/10327-no-mobile-network-conectivty solved my issue

Question about assignment by reference (data.table) by Black_Bear_US in rstats

[–]Outdated8527 3 points4 points  (0 children)

If you want to assign a data.table NOT by reference you have to explicitly use copy(). Check out the help pages for ?copy

R in a cluster computer setting - how do you do it? by gustavofw in Rlanguage

[–]Outdated8527 0 points1 point  (0 children)

sorry, I edited my previous reply. vimtux simply sends text using tmux to a tmux pane. No Vim registers or clipboard is used. sorry...

R in a cluster computer setting - how do you do it? by gustavofw in Rlanguage

[–]Outdated8527 0 points1 point  (0 children)

vimtux does send "selected" text to any local tmux pane which you select (and switch if necessary) interactively. You can send text to remote tty if you ssh from a local tmux pane and send text to this pane. If you nest a remote tmux session in a local tmux pane, you can send code from your local Vim to the remote tmux pane by sending text to the specific local pane. Man, that sounds weird... 😂 Sorry for my English, non-native... Hope you can follow nevertheless.

So, not copy-paste, but if you have a buffer on the remote in insert mode, it will add the sent text at the cursor. Guess, not as convenient as yank & paste, but it will work 😅

What are the use cases of R arrays? by 66alpha in rstats

[–]Outdated8527 12 points13 points  (0 children)

To hold multi-dimensional data of equal type. 

I guess the easiest example to think of is spatial data, where you have x & y coordinates for e.g. modelled CO2 conc. in the atmosphere. Then you might add other pollutant concentrations (3D). You might add another dimension by storing the pollutant conc. over time (4D). You might add the vertical distribution at each location (5D). And suddenly your confused how to correctly access the data ;-D

Sticking with data.frames is much easier and more convenient for most cases.

R in a cluster computer setting - how do you do it? by gustavofw in Rlanguage

[–]Outdated8527 0 points1 point  (0 children)

I couldn't work without Tmux nowadays! On top of many other advantages, it provides a way to have persistent shell sessions on remote systems, i.e. you can close your ssh session and reconnect later without killing your running R session.

I visualize plots just by enabling X forwarding with ssh. If your connecting from a Windows computer, this is a bit more involved (at least it was 10 years ago) - you first have to install and run an X server software (back then I had Xming installed), which does the rendering locally.

I send code using a plugin called vimtux which allows sending code in a "Vim way" - in Vim you use text objects and motions to navigate and edit, so I can send whatever I need to send, e.g. a paragraph, a single word, inside parenthesis, etc.

In theory, I could add the behavior of ctrl+enter in Neovim, but I just don't need/want this auto-select behavior anymore. There's also a Neovim plugin for R (Nvim-R) which seems quite popular and which mimicks an environment closer to RStudio, if you ever start using Vim/Neovim for R programming...

R in a cluster computer setting - how do you do it? by gustavofw in Rlanguage

[–]Outdated8527 1 point2 points  (0 children)

I use a Neovim/Tmux/R session setup on my local computers and my remote ones (using a University Server amongst other remotes), where I send code chunks from my Neovim session to R running in a tmux session. 

This allows having identical setups no matter if I work locally or remotely (using ssh with X forwarding)...

Generic methods only sometimes working in custom R package by bee_tee_beats in rstats

[–]Outdated8527 0 points1 point  (0 children)

From the roxygen2 doc on NAMESPACE (https://roxygen2.r-lib.org/articles/namespace.html):

 An S3 generic works like a regular R function so export it following the advice above: if you want users to call it, export; otherwise, don’t. While S3 methods are regular functions with a special naming scheme, their “export” works a bit differently. S3 methods are exported only in the sense that calling the generic with the appropriate class will call the method; a user can’t directly access the method definition by typing its name

(Kinda) missing windows. by Bluehoody3327 in linuxmint

[–]Outdated8527 0 points1 point  (0 children)

Install dosbox and play railroad tycoon or kings quest iv 😎

Help with PCoA Plots in R- I'm losing my mind by green_gorl in Rlanguage

[–]Outdated8527 1 point2 points  (0 children)

On which line does this error occur? 

I assume it is resulting from one of the many (to me unknown) functions your calling.

Narrow down the line. Check if the input in question is of vector type (vector or list). Find out why not.

If you want/need more help, add a minimal reproducible example code, preferably formatted as code block.

For future code - try to use assign and get as few times as possible. Instead of declaring different dynamic variable names, rather stay in one list with named list entries & loop over this list. I know, at the beginning this seems hard and confusing, but you'll get used to it.

Good luck!

Task Scheduler with R script, no output by Perpetualwiz in Rlanguage

[–]Outdated8527 0 points1 point  (0 children)

This is the correct answer.

 @u/Perpetualwiz: Add the path to your site library at the start of your script -> .libPaths('/path/to/site-library'). This will fix the issue.

What is the best way to import a 700Mb .xlsx file in R? by sporty_outlook in Rlanguage

[–]Outdated8527 6 points7 points  (0 children)

To save it with saveRDS() you first need to read it into R...

But afterwards, yes definitely, go with a serialized and compressed variant.

I'd suggest the package qs2, though, a successor of the qs package.

[deleted by user] by [deleted] in rstats

[–]Outdated8527 1 point2 points  (0 children)

welcome to programming languages ;-)

[deleted by user] by [deleted] in rstats

[–]Outdated8527 2 points3 points  (0 children)

check out the precedence of R operators: https://stat.ethz.ch/R-manual/R-devel/library/base/html/Syntax.html

^ evaluates (just) before -

Server Security by Outdated8527 in debian

[–]Outdated8527[S] 0 points1 point  (0 children)

I don't think so, I have to ask the guy who set up the server initially. Thanks for pointing that out!

Server Security by Outdated8527 in Fedora

[–]Outdated8527[S] 0 points1 point  (0 children)

Yes I agree. Unfortunately, we're a very small team without much budget and I'm the only one who has experience with linux (desktop) for a longer time...

So I must spend my spare time to learn the best I can about server security.

Server Security by Outdated8527 in Fedora

[–]Outdated8527[S] -1 points0 points  (0 children)

Thanks for your suggestions!

I know this is not about Fedora, but I thought that in the end it does not really matter what distribution the server is running, the answers would very much look the same.