Fred Gruber
Fred Gruber
Home
Posts
Publications
Contact
Light
Dark
Automatic
posts
Set the other windows to R process
Sometimes when writing R code on an ess buffer I need to use a different R process. This is accomplished by using the ess-switch-process function. The problem is that I would like to also change the other-window to this new R session automatically as soon as I make the switch.
Last updated on Apr 7, 2023
1 min read
Specify which window to use as "other"
There are several useful function that allows one to scroll another window without changing to that window, for example, M-C-v and M-C-S-v. The problem is that when you have more that 2 windows it is not very helpful since the other window may not be the windows you want to scroll.
Last updated on Mar 8, 2023
1 min read
programming
,
emacs
Improved function to set default ess R session to the default Orgmode R session
This is an improved version of my prevous post Set default ess R session to the default Orgmode R session with the following improvements: also works with inline R session get the properties properly using (org-babel-get-src-block-info) instead of using the ugly hack I was using before.
Last updated on Mar 10, 2023
2 min read
programming
,
emacs
WSL's Emacs and windows clipboard
Windows 11 now supports built-in linux GUI applications so I started using emacs thru WSL2 (see emacs installation). While it works quite well (there is even GPU support now) there are some issues with the windows clipboard.
Last updated on Jan 14, 2023
2 min read
programming
,
emacs
WSL's Emacs and windows clipboard 2nd solution
I recently wrote a function to update the windows 11 clipboard whenever the kill ring of emacs running WSL2 is updated (see WSL’s Emacs and windows clipboard). This solution involves copying the kill ring to a tmp files and removing it at the end.
Last updated on Jan 14, 2023
1 min read
programming
,
emacs
Protobuf in R: Streaming multiple messages
Introduction Protocol buffers (protobuf) are a method developed by Google (1) for serializing structured data that is both language and platform neutral. The structure of the information is defined using a protocol buffer message type in a .
Last updated on Jan 14, 2023
4 min read
programming
WSL's Emacs, screenshots, org-download, mathpix
As a continuation of my previous post (WSL’s Emacs and windows clipboard) I wanted to be able to take screenshots in windows and paste them in emacs with org-download or convert to math using mathpix.
Last updated on Jan 14, 2023
1 min read
programming
,
emacs
Set default ess R session to the default Orgmode R session
UPDATE: for an updated version that even works with inline source code use Improved function to set default ess R session to the default Orgmode R session. I write most of my R code on orgmode files which I then tangle or convert to R markdown (using ox-ravel).
Last updated on Mar 10, 2023
2 min read
programming
,
emacs
Cite
×