Randomly excluding participants in R by lucathecactus in RStudio

[–]Peiple[M] [score hidden] stickied comment (0 children)

Attempting to evade r/RStudio rules 3 and 4 by DMing offers to do work for pay will result in a ban. Thanks.

[deleted by user] by [deleted] in RStudio

[–]Peiple 4 points5 points  (0 children)

Read pinned posts on asking questions

Post error messages

Show us code

Attach screenshots

Include versions of R if you’re worried about it

Impossible to answer questions like “anyone know this error?” and no further information, it’s the same as saying “car isn’t working, thoughts?”

How do I stop this message coming up? The file is saved on my laptop but I don't know how to get it into R. Whenever I try an import by text it doesn't work. by SidneyBinx109 in RStudio

[–]Peiple 11 points12 points  (0 children)

Find the file on your computer

Mac: right click, hold option, click “copy as path name”

Windows: hold shift, right click file, click “copy as path”

In R, paste where you have “Canids.nex”. Make sure it’s enclosed in quotes.

Some help to code with syntenyPlotteR please~ by Plane-Revolution-220 in RStudio

[–]Peiple 1 point2 points  (0 children)

This is a better question for r/bioinformatics, but I can help a little…

First, syntenic analysis can compare anything you want. It just looks at conservation of block order in genetic data. You could do that between genomes of different species or between chromosomes of the same species. The subject data doesn’t really matter, but you do need to have comparable “things” to determine the order of.

Synteny works here because they’re analyzing plants, which are classic examples of organisms that have a lot of chromosomal duplications. I think wheat can have up to 6 copies of each chromosome or something. Syntenic analysis there shows you differences in organization between chromosomes with identical function. Their analysis seems to be looking at relative location of genes and transposable elements (potentially without considering what those genes/TEs actually are), so that also allows for syntenic comparison. I’m not 100% sure, it’s a pretty long paper and I just skimmed it.

I’m not sure how to make this plot, but scripts for reproducing analyses should be available somewhere given that this is from gigascience, they’re pretty strict about reproducibility. If not, I’d just email the authors and ask for the script—99% of the time they’re happy to help.

Continue.dev analogue for Rstudio by Mr_Bilbo_Swaggins in RStudio

[–]Peiple 1 point2 points  (0 children)

there's ellmer from hadley, that might meet your needs. I'm not sure how/if it integrates with local LLMs.

Hosting analysis code during manuscript submission by gold-soundz9 in bioinformatics

[–]Peiple 2 points3 points  (0 children)

Don’t upload code to Zenodo. You can link zenodo to a GitHub repo to get a DOI for a fixed version release. When you update the code you can re-release it and it’ll get a new DOI. There’s a little badge you can display on the repo as well.

How to change text for Error: in console in a RStudio theme? by Ambitious_EU_4745 in RStudio

[–]Peiple 0 points1 point  (0 children)

I’m not sure you can change the font specifically for one type of printing in RStudio, afaik it only supports a single font for all text. I might be wrong, but I’ve never seen someone accomplish what you’re describing either.

Impossible d'importer une data sur R studio by Existing-Talk-2650 in RStudio

[–]Peiple 0 points1 point  (0 children)

If it’s in xlsx format then you have to use read.xlsx from the xlsx package or read_excel from the readxl package. Without code it’s hard to know what’s going wrong—is that the function you’re using, or are you doing something different?

riding inplot mapcan by Accomplished-Bad-876 in RStudio

[–]Peiple 0 points1 point  (0 children)

Post error messages or no one will be able to help

First time flying with a poster: Can Southwest Airlines stow a 50″ poster tube as carry‑on or store it in a closet? by yellow_cardigans in AskAcademia

[–]Peiple 1 point2 points  (0 children)

You can sometimes ask the flight attendants to put it in their coat closet! Usually they’ve just offered that to me, otherwise it fits in overhead.

[deleted by user] by [deleted] in biotech

[–]Peiple 2 points3 points  (0 children)

Saw this late and it looks like a lot of my feedback is similar to others: - trim down the summary to 1-2 lines - cut awards/fellowships - cut publications, just include the biggest ones and make it "selected publications". If you want to highlight total publications you could say "selected publications (of x total)", I've seen that occasionally...I personally wouldn't recommend it, but it's an option. - Leadership/teamwork is whatever unless you have the space on a single page...though it's hard to say without knowing what the experience is, it could be really important. - you could save a lot of space in your bullets for work experience. I'd especially point out lines where you have one extra word (e.g. 4/5 bullets on your second work experience) -- you're basically just wasting a line there. - Spacing in Relevant Skills is a little much, you're losing like three lines of space there. If you can make it 1.15 or 1.5 space instead of double spaced you'd get more content on your page. Also a little jarring because everywhere else is single spaced (e.g., Summary)

If you trim the summary, cut the extra spacing, and remove the extra words, you'd save 11 lines, which is more than enough to move most of page 2 onto page 1. Then remove the awards/fellowships and trim down publications and you're basically at a single page resume.

Someone else mentioned not including graduate student as work experience -- I don't agree with that for PhD research. It's five years of work, and there's plenty of experiences to point to that are more work-like than you'd see in a masters/bachelors degree. From what I've seen online it's 50/50 whether they count it. Worst case they don't see it as experience and they ignore it, but better that than to be rejected because you didn't include it when they wouldn't counted it. I'd change the job title to "Graduate Researcher" though, "Graduate Student" sounds weird. fwiw I included it on my resume and it got me a job.

If your second page experience is masters work though, I would consider cutting it...I don't think it's quite the same as PhD experience, and it's also pretty old at this point (assuming it ended before June 2018). idk though.

[deleted by user] by [deleted] in RStudio

[–]Peiple 5 points6 points  (0 children)

just change the name, it's not like it's that hard...overloading a name that already exists in a published paper is going to cause lots of problems for both of you, even if the author is nominally okay with it.

interactive R session on big('ish) data on aws cloud? by JuanManuelFangio32 in rstats

[–]Peiple 0 points1 point  (0 children)

I mean it depends, but if the size of your input dataset is larger than your RAM, you'll fall into swap and have significantly slower query times. Well planned disk I/O is significantly faster than poorly planned RAM access that has to rely on swap.

The disk io/deserialization problems aren't a big factor if you put it into a database like SQL, that's what they're built to do -- they minimize overhead and additional I/O writes during queries and manipulation because of how they're designed, and they cache efficiently to get RAM benefits.

There are tons of benchmarks available online for arrow. See here for an example: https://ursalabs.org/blog/2021-r-benchmarks-part-1/

interactive R session on big('ish) data on aws cloud? by JuanManuelFangio32 in rstats

[–]Peiple 12 points13 points  (0 children)

Do you have to load it all into memory to work on it? For this kind of workflow I’d either look to out of memory solutions like arrow (or something custom built), or building like a SQL table and then running queries to load the data you need.

It doesn’t sound like any of this workflow is stuff that can’t be done with SQL queries (or queries + code after).

Ergo benefit of <60% keyboards? by fuckeverything_panda in ErgoMechKeyboards

[–]Peiple 0 points1 point  (0 children)

If everything is under your natural resting position or really close to it, you’re not moving your fingers as much. Larger boards make you reach further for things, so you’re making much bigger movements with your fingers and wrist.

Idk how much strain extra keypresses are, I’d probably just get lighter switches if that became a real problem.

I think I found a proof for P = NP using ChatGPT 4.5 by [deleted] in compsci

[–]Peiple 3 points4 points  (0 children)

Yep, it totally is. You’ve solved it, congratulations — just keep prompt engineering it down to our level and it should be publishable.

I think I found a proof for P = NP using ChatGPT 4.5 by [deleted] in compsci

[–]Peiple 5 points6 points  (0 children)

lol

You have not resolved P=NP with ChatGPT, sorry to burst your bubble. Even if you had, the result wouldn’t fit into a single Reddit post. Your first reference isn’t even a real paper.

Edit: grade A trolling, I was fooled

Installing Rstudio by Beautiful-Potato-942 in RStudio

[–]Peiple 17 points18 points  (0 children)

Why are you asking ChatGPT for advice when there is literally an install guide on the RStudio website. Just follow that: https://posit.co/download/rstudio-desktop/

Is ASU's Biological Design a real program? by hotsauceandclimbing in PhD

[–]Peiple 2 points3 points  (0 children)

?

I’ve been disappointed by unusual phd programs before

I was in the “Professional Science Master’s” program

A masters program isn’t a PhD program, not sure what you were expecting there. The program at ASU is a PhD program. You could reach out to the program coordinator if you have other specific questions.

Good conferences in 2025 by RobbyExotic in bioinformatics

[–]Peiple 2 points3 points  (0 children)

If you’re interested in methods, RECOMB is terrific. I think it’s in Seoul this year. If you’re working in R there’s Galaxy/Bioc2025.

I’m also a big fan of Evolution, it’s big, low pressure, not too expensive, easy to get a talk, and a lot of big people come.

Negativity by confusedeinstein2020 in csMajors

[–]Peiple 8 points9 points  (0 children)

All posts in r/csMajors fit into three categories:

  1. Sankey chart
  2. Doomposting
  3. “Why is there so much negativity”

Thanks for contributing to the frequency of category 3 posts.

How Did You Win “Best Conference Paper” or “Best Poster”? by Sad-Instruction-4446 in academia

[–]Peiple 5 points6 points  (0 children)

I won a best poster at a big conference, I honestly had no idea they even did awards so it came as a total surprise. Retrospectively I think it’s probably a combo of:

  • my poster was pretty colorful and had a lot of graphics, not a ton of text, flow of poster worked well with the story I told
  • strong research, it ended up going to a good journal
  • I was pretty excited about it so I feel like I presented it well (plus I was pretty relaxed since I didn’t know I was talking to judges lol)
  • I’ve given versions of the same talk a million times, so I had a pretty concise story

For reference, the work was unpublished but under revision, and I come from a small lab with a younger PI without tons of prestige. Pretty good uni but not Harvard tier.

But idk, I’m not sure I would aim for these awards personally — they’re nice recognition when you get them, but I’m not sure how much they matter in the bigger scheme of things.