Questions tagged [r]

R is a programming language and software environment, mostly used for statistical computing and graphics.

Filter by
Sorted by
Tagged with
12
votes
1answer
17k views

How to install R 3.3.1 in my own directory

This is a somewhat duplicate question (see How to set PATH for R installed in my directory ) but I did meet some new problem with new version of R. I was trying install a new version of R (R 3.3.1) ...
5
votes
1answer
5k views

Stealing and reattaching a running process [duplicate]

It's sunday and I left an instance of R running in the office. The script finished running, and I would like to save my workspace without going to the office. I can ssh to the computer, but I have not ...
8
votes
2answers
5k views

How to Install R's devtools and digitize?

I need devtools because I need the function install_github to install the non-CRAN package digitize here. I installed R by sudo apt-get install r-cran-robustbase I did not install R's packages ...
1
vote
1answer
137 views

Sort order to order this list in a specific order

I know there are tons of sorting questions on here, but I'm unable to resolve my use case. I am trying to sort a list in R (on Ubuntu 16.04) and am at my wits end! I've been trying to mess with the ...
0
votes
1answer
58 views

Select every two rows if they begin with the same name

I have a table that looks like this: name something 1 100036498|F|0--20:T>G something 2 100036501|F|0--44:C>T something 3 ...
0
votes
1answer
825 views

Compare 1st column of the 1st file and 2nd column of the 2nd file and matching

File1: Excel file (.xls) UN ID St M1 M2 SE DOF PV PA FC 17127159 0 -5.9 297.3 765.7 0.22 4 0.003 0.00389231 2.57536 17127163 2 ...
3
votes
2answers
3k views

How to save R stargazer(data.frame) output in .tex document?

This thread is the continua of the thread How to save R xtable(data.frame) output in .tex document? but with the package stargazer where the approach proposed for xtable does not work. Code DF <-...
2
votes
2answers
6k views

Install missing R packages when running in bash mode

Frequently I am running R scripts in bash mode. My script is called 981_conduct_regression.R. In this script, I call required packages with if(!require(<package>)){ install.packages("<...
2
votes
1answer
2k views

Why failing to get CRAN key for R backports?

I do and get # http://stackoverflow.com/a/10260634/54964 root@masi:/home/masi/Documents# gpg --keyserver subkeys.pgp.net --recv-key 06F90DE5381BA480 gpg: directory `/root/.gnupg' created gpg: new ...
1
vote
2answers
15k views

“ /lib64/libc.so.6: version `GLIBC_2.7' not found” Error when installation of R package

I met a problem when trying to install a R package called "GenomicFeatures", Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '$HOME/.R325/lib64/R/library/RCurl/libs/...
1
vote
1answer
2k views

How to save R xtable(data.frame) output in .tex document?

I want to present R data.frame output as LaTeX table. Data structure is data.frame. Doing print(DF.tex), the output looks fine in STOUT, in contrast to the the file. Expected output: UTF-8 format ...
1
vote
1answer
2k views

Installing R-base in Linux Mint 17.1 Cinnamon

I'm trying to install the package r-base using the Linux Mint community software view. By clicking on the "install" button one asks me for the "install of additional software?". By ...
1
vote
0answers
34 views

Installation of R [duplicate]

I want to know about how to install the latest version of R for linux mint First I tried the command: sudo gedit /etc/apt/sources.list Then I typed: sudo apt-key adv --keyserver keys.gnupg.net --...
1
vote
2answers
1k views

How to install R-base sid in Debian jessie?

I want to install R-base sid here in Debian. It would be great if some CRAN packages installed can be maintained in the SID version. Code sudo apt install r-base/unstable Output Reading package ...