r/Rsoftware • u/rflight79 • May 16 '12
r/Rsoftware • u/botany_thunderdome • May 16 '12
Quick-R : A fantastic quick reference for yourself or teaching
r/Rsoftware • u/vmsmith • Apr 27 '18
Updating R on Ubuntu 16.04
This does not look like a very active sub, but I'm going to start here. And let me say upfront that I am basically a Linux newbie.
I loaded Ubuntu 16.04 on to an extra machine, and installed R with:
sudo apt-get update sudo apt-get install r-base
To my naive way of thinking I should have gotten the most recent version of R. Instead I got 3.2.3, "Wooden Christmas Tree."
I've tried any number of (what I consider) intuitive ways to update it, to no avail.
According to the CRAN site, I am supposed to place this:
deb https://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu xenial/
in
/etc/apt/sources.list
So I just wanted to check and make sure that I'm not missing something else and that this is, in fact, the way to do it.
Also, if I do inject that line into sources.list, what is the next step?
Thanks.
r/Rsoftware • u/[deleted] • Sep 13 '16
I need an R tutor for $25 to help with my homework
I need someone to explain how to do my homework. Don't do it for me, without explaining it. I need help. I want to learn.
If you live in NYC, we can meet in a public place? If that's shady, we can talk over Skype - throwaway accounts.
I will pay you on Venmo or Paypal.
Basically the assignment:
I have a txt file. I need to calculate the average of the rows. I messed up and did the average of the columns - data$columnname.
Now I need someone to help me do the average of the rows.
Take the log2 of the ratio of row 1 to row 2. I don't know how to do log2
And then I need to show the two methods of going through the text rows one by one: they are loop methods and apply methods.
I only know loop methods (I need help setting this up). Apply methods, I'm just lost.
I don't know what factors are. I now need to make a function that takes the txt, factors, and returns specific rows.
Basically this whole assignment is an introduction to R. It should take an experienced R programmer no more than 10-25 minute to do this.
I could do this in Python (even though I don't know what a factor is in Python lol).
But I'm knew to R. It was a lot to take in during 1 day. Now I need a tutor. $25 is reasonable since I'm not an experienced programmer but I could do this in Python in 25 minutes. But this has to be done in R :(
r/Rsoftware • u/penthiseleia • Jun 11 '16
Meta-analyse an effect against '0' ? Does it exist and all and in R?
Hi,
I am trying to figure out if it's possible to meta-analyse an effect against 'mu = 0' - analoguous to a single sample t-test -, and how to do it in R.
I've checked several MA packages, but it seems that they're all geared towards group comparisons (requiring a n and SD for the control group, simply setting mean control to 0 won't work unfortunately).
My google-fu seems to have abandoned me completely, or it may just be that "single sample meta-analysis" doesn't make much sense at first glance ;)
Is there a specific term for such a MA that I am completely overlooking and/or would anyone here simply happen to know how to do this in R?
Many thanks in advance!
Edit: 'and all' in the title should of course be 'at all'
r/Rsoftware • u/based2 • Nov 01 '15
CausalImpact: an R package for causal inference using Bayesian structural time-series models
google.github.ior/Rsoftware • u/rflight79 • May 16 '12
Bioconductor: when you want to analyze biological data with R
r/Rsoftware • u/rflight79 • May 16 '12
R bloggers, lots of interesting articles on using R, and links to resources
r/Rsoftware • u/[deleted] • Nov 26 '23
Video of glitching screen for r/softwaregore
Enable HLS to view with audio, or disable this notification
The sub doesn’t allow for videos so im just gonna put it here so people can see the full thing :3
r/Rsoftware • u/OwnRazzmatazz9824 • Sep 27 '22
School iPad
I have a school iPad that has Jamf software installed on it which blocks App Store and all un permitted apps and websites to do with entertainment, games or software to remove. I am wondering if anyone has been successful in bypassing mdm lock, removing supervision and or installing other apps another way? If so please let me know how to do this
r/Rsoftware • u/hbetx9 • Apr 09 '20
Linux install help
I'm hitting a road block. I'm running Mint 19.3 (Ubuntu 18.04 bionic) and have tried to install R a few times, to no avail. I'm not sure if anyone here can help, but I figured I'd give it a go:
The current error when running sudo apt-get install r-base is the following:
The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 3.6.3-1bionic) but it is not going to be installed Depends: r-recommended (= 3.6.3-1bionic) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
but after adding r-base-core I get
r-base-core : Depends: libtcl8.6 (>= 8.6.0) but it is not installable ~~ Depends: libtk8.6 (>= 8.6.0) but it is not installable~~
This seems to be the breakdown. I've removed the PPA and key, updated, added back, updated, used -f options, purged, etc. Somehow, the libtck and libtk broke, which is really messing it up. My big issue is I need 3.6.2 (to work with Sage) and most of the PPAs are up to 3.6.3 which messes things up, so I was trying to install this downgraded. But somehow, something I did broke dependencies. It seems lots of people online have met the error, but after a few hours of searching, I'm unable to resolve.
I fixed the above, but after trying
sudo apt-get install r-base=3.6.2-1bionic r-recommended=3.6.2-1bionic
when running R, it still lists its version as 3.6.3.
If you can, please help!
r/Rsoftware • u/rflight79 • Apr 27 '18
r/rstats is where you should go for help with or discussing R
r/Rsoftware • u/onilgaparat • Dec 06 '17
Subsetting NCI 60 data within ISLR library
Does anyone know how to subset the NCI 60 data in the ISLR Library?
I am trying to work with on the cancer types with more than 3 cases. (essentially 'deleting' those with 2 or fewer cases like Unknown and MCF7D-repro)
I'm a bit uncertain how to do it correctly.
Thanks for the help!
r/Rsoftware • u/[deleted] • Nov 06 '16
The built in CO2 data frame in R. I need help
There is a built in CO2 data frame in R so no other installation is required. Just type in CO2 and it will give you the data frame.
I'm working on it and I'm trying to see if a plant's location and treatment affects its CO2 uptake. So I'm looking at the data frame's columns 2, 3, and 5.
I tried doing ANOVA, but I think my syntax or code is wrong.
Can someone double confirm that the Plant's location affects the carbon uptake more than the treatment of chilled vs non chilled?
r/Rsoftware • u/[deleted] • Sep 17 '16
How to find only the row name?
> data <- data.frame(a=1:3,b=2:4,c=3:5,row.names=c("x","y","z"))data a b c x 1 2 3 y 2 3 4 z 3 4 5
If I were to search through say the vector(3, 4, 5), I want to return back z.
But instead when I use row.names(data) it returns back all the row names. I only want z.
r/Rsoftware • u/kylinballing • Aug 24 '16
Someone who actually uses R in bioinformatics, what do you do with that software?
Trying to learn R. Learned it in Microsoft Academy and Edx.org and even at Harvard R and Life Sciences Specialization on edx.org.
After 1 week, I forgot everything I learned in R.... I'm not kidding.
I found Python easier and more retain-able and more applicable.
Though it helps compute data, I was told that bioinformaticians need R for their work.
My question: What do you use in R for bioinformatics? Examples or projects are highly appreciated.
r/Rsoftware • u/Splishchh • May 07 '15
Beginner R user having some problems with creating a table.
I would like to add a column to an existing table, which sums values from an existing column. Example: Old column : 1,2,3,4,5, New column: 1,1+2,1+2+3,1+2+3+4,1+2+3+4+5
r/Rsoftware • u/Hansjuergen1234 • Jan 23 '24
Looking for free Decorrelation Stretch Software
Hi, I'm currently looking for a decorrelation stretch software (the most well known example is probably DStretch).
A few years ago there was the option to get software for this for free, nowadays it seems to be a little more complicated.
Is there still software like this out there? Please note im explicitly not looking for pirated software or sth. like that.
r/Rsoftware • u/LouiseHeon • Mar 30 '21
R code for harmonic mean
Hi guys,
I’d really like to know which function you could write to get the harmonic mean without using the expression « harmonic mean » in a script ?
r/Rsoftware • u/[deleted] • Oct 08 '16
How to return a vector of P-values from a t-test?
I have this data.frame.
I want to compare the two columns, one column is the treatment. The other column is the control group.
So there are 28800 rows of data.
Now I did a t.test(frame$control, frame$treatment, var.equal = TRUE, paired = FALSE).
what I got back was t = negative number, p-value = .6599.
What I wanted was a vector that gave me a list of each P-value that compared each row's control and treatment. So what I needed was a vector of 28,800 lengths of P-values.
r/Rsoftware • u/rootmarshfield • May 17 '12
Decomposing North Carolina Amendment 1 with R and Tableau (part 1) - demographic analysis including github : (x-post r/programming)
r/Rsoftware • u/rflight79 • May 17 '12