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

learn more… | top users | synonyms

0
votes
0answers
3 views

plot variable with selected loading score to PCA plotted with s.class R [migrated]

I’m trying to build a pca plot with the s.class function of ade4 package. I have a data set containing the OTUs (column) and my samples (row). After my PCA i obtained that my samples were grouped ...
0
votes
2answers
117 views

install latest version of R 3.2.1 (World-Famous Astronaut) on Linux Mint 17.1 (MATE)

I have tried multiple ways (referencing multiple forum posts) to install the latest version of R (3.2.1 "World-Famous Astronaut") on Linux Mint 17.1 (MATE). I tried different sources lists, the most ...
0
votes
1answer
88 views

How to execute R script attaching it to a shell script in Linux?

I am trying to submit a job to be executed on cluster. And this is done by writing an sbatch submission script. The job involves opening R 3.1.3 and running the referenced R script on the server. ...
0
votes
1answer
19 views

Rstudio : openxlsx read loop crashes when no delay added … why?

I have a loop where I load 10 huge excel 2007 files into a list of data.frame thanks to openxlsx library. This loop crashes at the 4th file when no delay is added. Adding a 500ms delay after each read ...
0
votes
0answers
23 views

BadDrawable (invalid Pixmap or Window parameter)

I am trying to save an output from the GGEBiplotGUI in R, but I keep getting this error: X11 protocol error: BadDrawable (invalid Pixmap or Window parameter) . What can I do to save the output?
0
votes
1answer
43 views

What does “\(\)” stand for in this command: grep(“-(mean|std)\(\)”, x[,2])

Need to know about the function of \(\) in grep("-(mean|std)\(\)", x[,2])
1
vote
2answers
43 views

searching for the c++ in a string (regular expression)

I want to find if a string contains c++ in it (regular expression). what pattern should I use in grep function in R? This is my error: Error in grep(pattern = "c++", x = df[trow, "modeling"]) : ...
0
votes
2answers
318 views

can't open rstudio in linux debian wheezy error 'GLIBC_2.14' not found

I get the following error when trying to run rstudio on my Debian: rstudio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by rstudio) I've uninstalled and reinstalled R ...
1
vote
2answers
27 views

Install Newest R-crn in linux mint

I am trying to figure out how to install the newest version of R on linux mint 17 I have the same problem as this poster Installing R-base in Linux Mint 17.1 Cinnamon However due to captcha I cannot ...
2
votes
1answer
77 views

To specify the defaults fonts for chinese on linux mint

I do not like the default fonts for these languages in linux mint 17.1, but I like the fonts for the latin languages. I have downloaded, for instance, the chinese fonts AR PL UMing which I like ...
1
vote
1answer
595 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 clicking on ...
1
vote
1answer
93 views

Is there a methodology to download and load a R package without installing it?

I need to produce some graphics using R package gridExtra, however, I don't have permissions to install packages in the computer I am working on. I tried the methodology explained Installing packages ...
1
vote
1answer
167 views

Centos, how to install “topicmodels” package on R?

I'm using a Linux CentOS release 6.6 on my laptop, and I've tried to install the "topicmodels" package into my R environment. So I used the install.packages("topicmodels") command but unfortunately ...
1
vote
1answer
549 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>)){ ...
0
votes
0answers
40 views

Where to store the SQL Server jdbc driver file for use by all users

I have downloaded the sqljdbc4.jar file which enables connecting to SQL Server via jdbc. I currently have this in a personal folder whilst I've been testing connectivity. I'm hoping to put this file ...
0
votes
0answers
124 views

AWS EMR Bootstrap

I need to write a bootstrap action file for my AWS EMR that runs during provisioning and performs: Install latest R version from: http://cran.us.r-project.org Install ‘lme4’ package (and all of its ...
1
vote
0answers
28 views

install and run new version of R [duplicate]

an old version of R is already installed on the server I am working with, but it is not really useful for my work. I have tried to install R 3.1.1 on my own directory (/local/data/project/behi) on the ...
0
votes
2answers
34 views

Can the --prefix path be the same as the directory where I downloaded/unzipped the source?

I was trying to build R myself and put it in a temp_R folder because I wrote .configure --prefix=/dir/where/I/wanted/to/put/R, but it seems that some of the important stuff was put in the temp_R ...
2
votes
1answer
158 views

ess has disappeared from emacs

I frequently use emacs ess functions. Specifically, I use r-mode and run R in emacs. However, quite suddenly, emacs is no longer offering ess options. r-mode is no longer an option in emacs nor is R. ...
2
votes
2answers
437 views

breaking from a program running in an interactive session in a screen window

I am launching R (an interactive program) in a screen window in a remote session: ssh me@.. screen -S R_ProjectName R In the R session, I would like to break execution. Normally, this would be ...
0
votes
2answers
412 views

chkrootkit throws Signal 13 when searching through /var/tmp

On my debian squeeze server in the chkrootkit log I get loads of these errors: /usr/bin/find: Prozeß "head" wurde durch das Signal 13 abgebrochen. /usr/bin/find: Prozeß "head" wurde durch das Signal ...
0
votes
1answer
2k views

Error in installing R package headers/libs are not available

I am installing the R package (R-3.0.1) in Red Hat Linux 6.0. Initially when I tried to install it gave the error “F77 compiler not found”. I installed the compiler and tried it again, now the error ...
5
votes
1answer
420 views

Convincing boss that I need to use Linux [closed]

I am shortly going to be joining a statistics consultancy where the software I'll be using is R and SAS in Windows. For years I have been using R with Linux (most previous Windows knowledge has ...
2
votes
1answer
379 views

Launch R code from within vim-r-plugin as separate window instead of inside tmux/screen?

I use the vim-r-plugin to write R code in vim. It is a nice plugin and I love that the plugin lets me run code directly from within vim. However, the R prompt is opened in a console which is ...
1
vote
0answers
145 views

Error : .onLoad failed in loadNamespace() for 'cairoDevice' on a Linux Machine

After spending 1 hour searching for the solution I am posting this here. Does any one know how to install cairoDevice,package on R, Linux Server. R CMD INSTALL cairoDevice_2.19.tar.gz * installing ...
1
vote
2answers
130 views

Can't fetch R updates

since my version of R is not compatible with a package I need for my work I wanted to update it today but received the following error message when trying to download the updates with synaptic: W: ...
1
vote
0answers
113 views

Vim R plugin installation problem on Ubuntu in Android phone

There was another thread on vim-R-plugin but since it was bit old, I started this new thread. Also my situation is kind of different, since I am trying this on a mobile device, Samsung vibrate. I ...
1
vote
1answer
2k views

libpng warning: Incompatible libpng version in application and library

libpng warning: Application was compiled with png.h from libpng-1.2.39 libpng warning: Application is running with png.c from libpng-1.4.0 libpng warning: Incompatible libpng version in application ...
1
vote
1answer
187 views

cat command from textbook is not working on my Ubuntu Natty

I am trying to reproduce the following command from my textbook on my system, cat("2 3 4 5", "11 13 14 15", file="ex.dat", sep="\n") but I keep getting this error: bash: syntax error near ...