#RStudio
Hey, I've created a tutorial on how to draw a barplot with standard error bars in the R programming language. The tutorial also compares Base R vs. the ggplot2 package: https://statisticsglobe.com/add-standard-error-bars-barchart-r
For some reason Ctrl+Meta (which I use to switch virtual desktops) also de-indents the current line in #RStudio and I cannot find out how to change that.
niche #rstats / #rstudio question. am working on an internal pkg function that generates a new rstudio project from a template, then opens the project (via rstudioapi).
Q: can it open the README.md page when that project opens for the first time?
(dumb) ideas spitballed:
- add .rproj.user file that says README.md was previously open in this project (?)
- add an rprofile inside the project folder that runs rstudioapi::openDocument (mehh)
- is there some sort of callback function somewhere?
📣 R-Ladies Rome is hosting:
Ten tips for better text: typography meets ggplot and friends. 🤗
Make sure to attend it on November 30, 2023 at 6:00 PM CET
🔗 RSVP: https://www.meetup.com/rladies-rome/events/297044325/
🗣️Speaker: Cara Thompson
@fgazzelloni #datavisualization #rstats #rstudio #datascience
New guest video on the StatistikInDD YouTube channel!
I talk about analyzing football wages using dplyr & the tidyverse: https://www.youtube.com/watch?v=kMd5SkuJrf4
#RStats #R #Rstudio #DataScience #Statistics #DataAnalysis #football #soccer
I must wash my mouth out with soap!!
In my latest blog post about zsh I erroneously stated that while VS Code supports changes to the terminal, RStudio doesn't.
That's a load of horse shit. Of course it supports it, and it takes all of 3 clicks to make zsh the default terminal, including with your Oh My Zsh setup etc.
Post updated to show how it's done.
https://jimgar.github.io/posts/zsh-tosh-pretty-terminal/post.html

Finally finished my Data Analysis course, just red-tape odds and ends to do with SQA submission to go. Now I can get back to doing more coding for pleasure. All through the course I was itching to install R on my own VPS but didn't have time. If you know your way around a #Linux server it's relatively straightforward to get #R and #RStudio on your own server and run things like #RShiny apps.
Got it working on #AlmaLinux 9.3 using the #RedHat 9 version.
https://posit.co/download/rstudio-server/
Install #RStudio Server on #Linux
#R
https://posit.co/download/rstudio-server/
Ligatures In RStudio Dailies – Source: securityboulevard.com https://ciso2ciso.com/ligatures-in-rstudio-dailies-source-securityboulevard-com/ #rssfeedpostgeneratorecho #SecurityBloggersNetwork #CyberSecurityNews #SecurityBoulevard #RStudio #R
If you use #RStats #RStudio dailies (let's be clear; their appeal to the snakes is severely misguided tho may bring in 💰) and are missing ligatures (like all sane coders would)…
i use https://github.com/anthonynorth/rscodeio for my RStudio theme and modified it, thusly:
```
.ace_scroller {
font-variant-ligatures: discretionary-ligatures;
font-feature-settings: "dlig" 1;
}
```
to get the attached with the awesome new Monaspace fonts.
Has anyone managed to get the new monaspace font 🔠 and the ligatures from GitHub working in RStudio? 🧑💻#RStats #RStudio #MonaspaceFont
https://github.com/githubnext/monaspace#monaspace
Hey, I've published an extensive video introduction on how to apply a Principal Component Analysis (PCA) using the R programming language. The tutorial was created in collaboration with Cansu Kebabci: https://m.youtube.com/watch?v=mNpBrHwOCt4&feature=youtu.be
Hey, I've created a video tutorial on how to create a data frame containing columns with unequal lengths using the R programming language: https://m.youtube.com/watch?v=CpTfGoReGjM&feature=youtu.be
Hey, I've created a video tutorial on how to draw a ggplot2 barchart that shows the mean of each group in the R programming language: https://m.youtube.com/watch?v=IFA4dIMTQXs&feature=youtu.be
#tidyverse #Package #ggplot2 #RStudio #datascienceeducation #Analysis #datavisualization
Hey, I've created a tutorial on how to handle missing data using the http://is.na() function in the R programming language: https://statisticsglobe.com/r-is-na-function/
Quick R Quiz - Creating Vector Objects!
How to create a vector x with values 1 to 5 in the R programming language?

My #rstudio theme is now available via GitHub repository: https://github.com/jdonland/rstheme
Beware: Contrasts may be too low for some displays/eyeballs.
R vs. Python Speed Comparison - Running for Loops!
Which programming language is quicker for running for loops?
#rstats #RStudio #python #pythoncode #codingchallenge #codeefficiency
Common Ringlet (Coenonympha tullia), Petersham, #Massachusetts. Photo taken June 2019.
See "Habitat structure and phenotypic variation in the invading butterfly Coenonympha tullia" (https://richardlent.github.io/rnotebooks/sites.nb.html).
#butterfly #butterflies #lepidoptera #nature #naturephotography #insects #pollinators #ecology #r #rstudio #rmarkdown #rnotebook

ChatGPT Coding - Adding New Column to R Data Frame!
See how to add a new column to an R dataframe with the help of ChatGPT!

Help. How can I install #tidyverse on #RStudio ?
How can I install libicui18n.so.58?
It seems this package is needed.
My OS is #opensuse #tumbleweed
libxml2-devel is installed but it fails anyway. 😕
R vs. Python Code Comparison - Creating Data Sets!
Which programming language is better for initializing datasets?



Hey, the pre-sell registration of the Statistics Globe #rstats online course is closing in 3 hours.
The topic of the course: "Data Manipulation in R Using dplyr & the tidyverse"
Make sure to secure your seat now: https://statisticsglobe.com/online-course-data-manipulation-r-dplyr-tidyverse
Thank you so much and see you soon.
Joachim
#rstudio #rprogramming #datamanipulation #datahandling #datacleaning #datascience #statistics
Quick R Quiz - Assignment Operators!
Which of the following symbols is used for assignment in R? Do you know the answer?

Hey, I've created a tutorial on how to calculate summary statistics for the variables in a data frame using the R programming language: https://statisticsglobe.com/summary-statistics-data-frame-r
Base R vs. ggplot2 - Histograms!
Drawing histograms using Base R vs. the ggplot2 package. Which method do you prefer? Let me know in the comments!

Handy RStudio addins for reshaping and navigating in code: https://github.com/lionel-/codegrip #rstats #rstudio https://floss.social/@lionel @_lionelhenry
Yesterday, I opened the pre-sell registration for my online course on "Data Manipulation in R Using dplyr & the tidyverse" with a 50% early bird discount for the first 30 participants.
Course description: https://statisticsglobe.com/online-course-data-manipulation-r-dplyr-tidyverse
Now, there are already 22 registrations! :)
This also means that there are only 8 spots with an early bird discount left. So if you would like to take part in the course, make sure to reserve your spot now.
Hey, I've created a video tutorial on how to break the axis of a plot using the R programming language. The tutorial also explains how to apply the gap.plot function of the plotrix package: https://m.youtube.com/watch?v=2uTapSYijAI&feature=youtu.be
R Programmer Tries to Install a Package in Python!
Installing packages in R vs. Python - Why is this so difficult?!

Hey, I've created a new website called Data Hacks containing 1000 quick R & Python tutorials. Solutions are shown without unnecessary talk, so you may use it to quickly find code snippets for specific problems: https://data-hacks.com/
Daily Morning Routine of a Programmer!
Have you ever wondered how the morning routine of a programmer looks like?
#rstats #RStudio #morningroutine #programmerlife #Coding #memes

📢 Attention RStudio Enthusiasts!
Thomas Mock (@thomas_mock), Ph.D., of Posit PBC, delivers an enlightening webinar on Copilot's capabilities in RStudio. From code predictions to tools like {chattr} - gain insights for a smoother coding experience.
🔗 Dive in: https://youtu.be/yVq-b5xHmac

Hey, a few days ago I asked for topic suggestions for the first-ever Statistics Globe online course.
Based on all the answers, I found the following possible topics for the course:
1) Introduction to R Programming for Beginners
2) Data Visualization in R Using ggplot2
3) Data Manipulation in R Using dplyr
4) Statistical Analysis in R
5) Principal Component Analysis in R
What's your favorite topic?
Yann Ryan wrote 'LWM Digital Residency: Accessing and Using Historical Newspaper Data' https://livingwithmachines.ac.uk/lwm-digital-residency-accessing-and-using-historical-newspaper-data/ describing his work updating and publishing his online guide to accessing and analysing newspaper data
Accessing and Using Historical Newspaper Data https://yann-ryan.github.io/newspapers/ is a great example of how to use R to work with digitised newspaper data for topic models, machine learning, n-grams, word embeddings and finding text reuse
Today's adventure in learning more programming languages (#exercism #12in23) involved trying to install a recent version of #ruby in Pop_OS which was failing due to some SSL library inconsistency, a workaround for which uninstalled my #RStudio 🤬
I abandoned 2 different install managers before finally getting one working. I have it running now, but not off to a great start.
Doing my prelim reading while I waited... "python, but with full OOP" and "parentheses are *optional*"!?!
🔥 Big News! Dr. Max Kuhn from @rstudio will be a keynote speaker at #LatinR2023, Oct 18-20, in Montevideo, Uruguay 🇺🇾! Dive into groundbreaking insights on R and data science with one of the industry's giants. Deadline to register is this Sunday, Oct 1st. Register now: https://www.eventbrite.cl/e/latinr-2023-conferencia-latinoamericana-sobre-uso-de-r-en-id-tickets-637517701607 #RStudio #RStats #DataScience
You asked, and @thomas_mock answered -- GitHub Copilot integration with RStudio is coming!
Give RStudio some context (be simple and specific) about your analysis in a comment. You get a ghost text suggestion that you can instantly accept to add that code to your script.
With more context and lines of code, you'll start getting better completions, even in the line you're typing.
Available as a preview feature in the 2023.09 build! (Copilot subscription required.)
#PositConf2023 #rstudio
@hadleywickham You asked on Twitter last fall for #rvest examples that don't work. This used to pull the latest version of #RStudio but doesn't work anymore (unless I save the page first)
spans <- xml2::read_html("https://posit.co/download/rstudio-desktop/") |>
rvest::html_element(".mt-\\[40px\\].body-md-regular") |>
rvest::html_elements("span") |>
rvest::html_text() |>
stringr::str_extract("Version: .*")
rstudio_latest_version <- spans[!is.na(spans)] |>
stringr::str_extract("[0-9.\\+]+")
I've been doing my small amount of beginner python coding via reticulate in #Rstudio. Am I insane? Seems to work pretty well for pushing plots to a folder and have been able to run the libraries I need so far without issue.
It works. \o/
All you need is this:
https://posit.co/download/rstudio-server/
For nginx reverse proxy setup:
https://www.linode.com/docs/guides/how-to-deploy-rstudio-server-using-an-nginx-reverse-proxy/
And certbot...
I got my VM (CPX11) from #Hetzner ...
https://www.hetzner.com/cloud
So, I'm using #RStudio 2023.06.1 and it can't find it's own installation of pandoc.
RStudio ignores any environment variable set in the Renviron file, or system-wide, and always sets RSTUDIO_PANDOC to "c:\\Program Files\RStudio\pandoc\bin" (i.e. the old location, which I don't have defined anywhere). Consequently, rmarkdown::pandoc_available() is FALSE.
I have no idea why it is doing this. Any ideas?
Phew, had a really productive but exhausting #Rstats day today. It's a report that works with #quarto and #knitr and I created something like a "create_graph()" function, because the graphs a very similar and it saves a lot of copy paste.
I really want to make one thing clear: Without #Rstudio and #ggplot and #dplyr and all things #R I could not do my job. Neither Excel, nor Stata, nor SPSS could help in that specific way. I wouldn't get anything of the non-data tasks done...
my illness-addled brain can't concentrate on work, so i went off and played with some dumb data about songs in the hot 100 charts instead. in the process i found something really interesting. i wrote about it - https://labs.tomasino.org/brief-wonders/
#RStudio issue for this: https://github.com/rstudio/rstudio/issues/2129
How to Confuse an R Programmer!
How to confuse a programmer in the R programming language. Why does this happen when you extract only one column from your data frame?
Why does #RStudio make it so annoying to get a 1x3 panel layout?
If you use Rstudio and rmarkdown. How often do you press "Session -> Restart R" in the menu?
#RStudio #rmarkdown #RStats
Great #Rstats #Rstudio tip from https://rstats.wtf :
command+shift+0 to restart R session and command+option+b to "rerun to here" in your script.
Are you an R/RStudio interested in trying out LangChain for generative AI apps? Here's an idea on how to do that with minimal Python, in RStudio, using R to look at code results step by step.
https://www.infoworld.com/article/3703249/generative-ai-with-langchain-rstudio-and-just-enough-python.html
#rstats #RStudio #python #LangChain #InfoWorld #GenerativeAI @rstats
@smach @rstats 📢 Exciting read! 💻 "Code snippets" are like productivity boosters for developers! They are indeed time-savers and make coding a breeze. 📊 #CodingTips #ProductivityHacks #RStudio #DataVisualization
I got Python working to run LangChain document loaders in VSCode on both my Mac and Windows machines - plus in RStudio with {reticulate}! 🎉 I feel like I ought to go buy a lottery ticket 😀
📣 gptstudio v0.3 is on CRAN!
Plenty of new models & features:
🤗 HuggingFace, PaLM, Azure OpenAI, & Anthropic
💅 Customize prompts & app config
🔨 Extensible API classes
🐛 Plenty of bug fixes
If you use RStudio to write R code but aren’t using code snippets, you may want to check them out. They can be a big timesaver!
I did a tutorial article & video a few years ago: https://www.infoworld.com/article/3396616/how-to-use-rstudio-code-snippets.html
@smach @jimhester
People help.
I am invested too heavily in #Rstudio to change. Is there a way to get copilot for it.
I pay for #chatgpt4 and #OpenAI.
rphylopic: An R package for fetching, transforming, and visualising PhyloPic silhouettes https://doi.org/10.1101/2023.06.22.546191 #sciart #rstudio #biology #science #illustration
Anybody out there seriously use #RStudio for non-R stuff?
I mean, it's got a shell sitting there, seems to know about Python, JavaScript, HTML. Is it the best kept secret IDE that I should invest some time in scratching the surface of?
My biggest pet peeve of using #jupyternotebook (coming from #rstats / #rstudio ) is that you can't see all the dataframes that you have either loaded or have wrangled and created in this session.
It is a big positive of using RStudio. You can quickly take a glance or scroll through if needed.
Is there a way to do this in Jupyter Notebook?
#rstats #email #RSTUDIO
IF ANYONE ELSE is tired of waiting for the output to run and constantly checking in for large datasets and programs.
example of R code to send an email through OUTLOOK with an ATTACHMENT. has worked so far all day! the key for me has been keeping OUTLOOK open. NOTE: i am not using two slashes etc. Just the simple path that you can copy from the IDE. I am using R STUDIO: "Mountain Hydrangea" Release for windows
@eheisman @keyboardpipette
I think spyder IDE does this for python libraries, I do not know if Rstudio could do that #rstats #rstudio
✅ I’m proud of my share of designing, maintaining and promoting #dplyr, a little #rstats 📦 to manipulate your data with style.
✅ I also had the pleasure to get involved in the early days of the Apache #arrow R 📦.
✅ Last year I had such a 💥 being ambassador of the #tidyverse in the #rstudio ide team. Being able to make (modest) changes to a product I have so much 🖤 for was so cool and weird and challenging and fun.
✅ and many other small and big things.
Video: Intro to Version Control using git and RStudio - presentation by Ryan Johnson, data science advisor at @Posit, at @NHSrCommunity
https://youtu.be/qNMOPWT8jSo
Git Version Control and RStudio
@NHSrCommunity webinar on Thursday, May 25
3:30 pm – 4:30 pm BST / 10:30 am EDT
With Ryan Johnson – Data Science Advisor, @Posit
Looking for a truly novice-friend intro to #rstats and #RStudio? Join Virginia Tech's R101 and R102 workshops 4/20 and 4/27 (on Zoom, open to anyone). Based on Software Carpentry, no programming or data analysis experience is necessary; you'll learn foundational skills you need to get started and keep learning yourself.
Register at https://calendar.lib.vt.edu/event/10284065 and https://calendar.lib.vt.edu/event/10284097
@Posit The RStudio User Guide at: https://docs.posit.co/ide/user/ is an aggregation of dozens of resources!
Too many to link out to, but kudos to the #RStudio dev team on a wealth of blog posts, support articles, one-off guides and other resources that were aggregated into this guide.
@Posit We believe that quality software documentation is a superpower for new and experienced devs.
As such, a cross-functional team put together brand-new user guides!
RStudio IDE: https://docs.posit.co/ide/user/
Posit Workbench: https://docs.rstudio.com/ide/server-pro/user/
My RStudio code snippets to get an object from a character string and get the object name as a strong from the object:
snippet string2obj
eval(parse(text = "${1:obj_name}"))
snippet obj2string
deparse(substitute(${1:obj_name}))
If anyone besides me is having trouble with RStudio *terminal* not finding git on a Mac, even though RStudio *IDE git pane* and Mac terminal find it just fine, changing the default RStudio shell from bash to zsh worked for me. (Tools > Global options > Terminal > New terminals open with )
#RStudio #git
@peter_mcmahan If anyone wants to comment directly to #RStudio / #Posit about this #Palantir collaboration, somebody has raised the issue on their forums and you can share your own concerns there as a user: https://community.rstudio.com/t/posit-partners-with-palantir/157411
@davetroy:
What are #PeterThiel and the other three riders of the #Apocalypse up to now with this colaboration of #Palantir and #RStudio/ #Posit, after the #CambrigeAnalytica scandals?
@peter_mcmahan
Also, Palantir has more than one or two ethical problems... Palantir has a lot of problems with human rights issues. I'm really dissapointed in Posit.
https://en.m.wikipedia.org/wiki/Palantir_Technologies#Controversies
Wow. RStudio (recently rebranded as Posit) is partnering with Palantir. Yes, the same Palantir with ties to Cambridge Analytica. The same Palantir that partners with and actively supports ICE and other oppressive surveillance.
This is really not ok ethically, and can only mean a bad direction functionally for the company's software going forward. I never use RStudio for research myself, but it looks like I'll stop using it in teaching.
https://finance.yahoo.com/news/palantir-posit-partner-integrate-rstudio-115900656.html
I saw this news doing the rounds and, wow, it's a problematic partnership to say the least. Palantir is not whatever company, take a look at the list of controversies on Wiki: https://en.m.wikipedia.org/wiki/Palantir_Technologies#Controversies
As an instructor who used #R and #Rstudio a lot, this may be the end of it.
https://seekingalpha.com/news/3923597-palantir-posit-join-hands-for-rstudio-integration
Wow, #rstats peeps,
#rstudio / #posit joins the dark side
https://seekingalpha.com/news/3923597-palantir-posit-join-hands-for-rstudio-integration
Apparently #RStudio now partners with #Palantir and will be integrating their platform. So does anyone know what I should recommend as an alternative #R IDE??? #RStats
https://seekingalpha.com/news/3923597-palantir-posit-join-hands-for-rstudio-integration
Phew, it was a lot of tinkering, but my #flowchart|s for my #thesis came out really nice. Made with the #rstats library #DiagrammeR and #graphviz and rendered with #knitr, #bookdown and #latex via #rstudio .
The #mermaid integration is just broken for latex-based pdfs, which is sad because mermaid is just really nice with its easy syntax. graphviz has at least more power and is embeddable as a vector pdf file.
Just uploaded the first iteration of my website made with #Quarto #RStats #RStudio
I am looking for a job and/ or to collaborate on projects with a focus on #MentalHealth #DataScience #statistics #DataViz #maps
@smach @elianhugh @mattdray I believ the R package was an attempt to fill a gap in visual editor of RStudio IDE.
But in the visual editor you can do that directly.
See https://quarto.org/docs/visual-editor/#editor-toolbar
#QuartoPub #RStats #RStudio #Posit
RStudio heißt jetzt Posit: Talks von der RStudio::conf 2022
Im Juli dieses Jahres fand – ungeachtet der Tatsache, daß RStudio nun Posit heißen will –, die RStudio:conf 2022 statt. Wegen meines Vorhabens, dieses Blog Kritzelheft zukünftig mit Quarto herauszuschreiben, wäre ich (nachträglich) gerne dabeigewesen (aber im Juli wußte selbst ich noch nichts von meinem Vorhaben). http://blog.schockwellenreiter.de/2022/11/2022112901.html #RStudio #Quarto #Publishing
Let's do an R debate. If you are a sociology student with no programming background (ino other words, the people I teach), is it better to learn Base R or Tidyverse first?
Please tell me why, too. Let's get a discussion going.
I occasionally have to restart #RStudio because it becomes unresponsive and this black square appears. I just lost analysis results that took all night to run.
This has happened over many years across multiple computers. It's never predictable. And it has never happened to me in any other program.
Anyone else?
You can find my shit-posting account. This is my more slice of life, interesting stuff, etc account. My more academic stuff goes on my scholar account.
Obligatory list of hashtags of stuff I dabble in so people can find me:
#chess #orthodox #orthodoxy #statistics #ml #ai #datascience #statistician #datascientist #academic #esperanto #discgolf #running #powerlifting #strongman #sanskrit #linux #rstats #rstudio #ggplot #emacs #ess #rmarkdown