So I figured that I would just try renaming the .txt files to .md and see whether it worked. I remembered that mv is a pain because you can't just give it a bunch of files and say "change the extension of all of these files from .txt to .md", not at least without writing a shell script that I can never remember the format for without looking it up.
=> More informations about this toot | View the thread
tonight I grabbed my simplenote notes and moved them into my obsidian vault. The problem is that they are .txt files and not .md like the ones in obsidian. So I looked at some of the .md markdown obsidian notes and saw that they are actually just plain text unless I have added any actual markdown to them.
=> More informations about this toot | View the thread
somebody around here is (partly) to blame for the fact that I have just signed up for #obsidian sync, and spent the last hour (maybe) syncing up a desktop, two laptops, a phone and a tablet.
I have a feeling that Obsidian has infinite depth when about all I'm using it for right now is to take timestamped notes, but everyone's gotta have a project, right?
=> More informations about this toot | View the thread
[#]rstats #QuartoPub #targets dug out my blog and put together a lengthy post that connects making worksheets with and without solutions and quarto and targets: https://ritsokiguess.site/blogg/posts/2024-11-02-assignments-worksheets-and-targets/
=> More informations about this toot | View the thread
... if a bit inelegantly. The right way to do it is to keep only the source on main, and do the rendering to the top-level directory on pages which is "disposable", in the same way that quarto publish gh-pages does, but I am not smart enough to make that work yet.
=> More informations about this toot | View the thread
Been exploring #codeberg and codeberg pages today (it's a holiday here). It's a lot like github and the command line stuff works the same way, but using git@codeberg.org:stuff (for SSH).
I made a #QuartoPub website and got it working on codeberg pages. The idea is that you have a branch called "pages" that the publishable static website lives on. Hence quarto publish doesn't work, but keeping main and pages in sync does seem to...
=> More informations about this toot | View the thread
In #rstats, I am writing a #QuartoPub document that needs to use the conflicted package (because I have loaded MASS and need to use the dplyr filter and select). The first time, I didn't catch these conflicts, and I got the error
Error in !continue
: ! invalid argument type
which made zero sense to me, but it was solved by adding a line like
conflicts_prefer(dplyr::filter)
to my quarto document. It would be good to have a more helpful error message. I used divide-and-conquer to solve this.
=> More informations about this toot | View the thread
today I learned about cross-references in #Quarto in #rstats. I am mostly interested in creating cross-referenceable things from code, so my takeaways are:
=> More informations about this toot | View the thread
In #Quarto , I learned about (@) for sequentially numbering things (possibly from @nrennie ). In HTML output, this is fine, but in PDF output it comes out like (1) and I'd like it to be something like "1.". How do I access the value in it, or have it display differently? The Quarto docs are very good, but I have no idea what even to search for in this case. #rstats
=> More informations about this toot | View the thread
I thought I had read somewhere that readr::read_delim will guess the delimiter if you don't supply one, but there is nothing about it in the read_delim help. The list of guessable characters is actually in the vroom::vroom() help; my understanding is that this is what gets called under the hood. #rstats
=> More informations about this toot | View the thread
Mr Amazon has visited. @brodriguesco #rstats
=> More informations about this toot | View the thread
[#]rstats currently watching an excellent workshop on parameterized Quarto reports by @jadeynryan (https://www.youtube.com/watch?v=MKjz_xkMgxY) as recommended by @nrennie (who has an excellent blog post on an application of the same).
=> More informations about this toot | View the thread
[#]rstats all right, how do I access a dataset from a package, but programmatically? I am trying to write a function with input ans, where ans[1] is the name of the package, and ans[2] is the name of the dataset in that package.
The obvious data(ans[2], package = ans[1]) fails with
Warning in data(ans[2], package = ans[1]) : data set ‘ans[2]’ not found
and even if it worked, I'd have an object in my environment whose name is the text stored in ans[2], and I'd then have to get at this.
=> More informations about this toot | View the thread
a periodic reminder (to myself and others) that if you want something to display inside an if {} else {} you have to explicitly print it, or else it will silently not display. #rstats
=> More informations about this toot | View the thread
today I learned that you can operate Mastodon on the web entirely with the keyboard. Press ? to see what to do. Examples:
No mouse required!
=> More informations about this toot | View the thread
I was using the Theoph dataset for an assignment question (for graphing and reshaping), and, as is my way, started writing an Extra about the dataset. Then I thought, wait, I know someone who has written about this pharmacokinetics stuff, and so my solutions included a reference to a blog post, and, to my students, "you would do well to read more of what @djnavarro has written." #rstats
=> More informations about this toot | View the thread
=> This profile with reblog | Go to nxskok@mastodon.cloud account This content has been proxied by September (ba2dc).Proxy Information
text/gemini