Everytime I give the command for any package, in this case for ggplot2, I get this after a few minutes. I am missing something, but can’t figure out what. Thanks in advance! Answer You are on R 2.14. Please please PLEASE upgrade to something from the last few years — preferably from the current year such as R 3.2.0, 3.2.1
Tag: r
Error installing r packages (Linux Mint 17.1) “error: C preprocessor “g++ -E” fails sanity check”
I have transfered to a Linux system (previous OSX user) and I am trying to get my R packages installed. The first issue I ran across was: but I got around that by launching R using: If someone has a more permanent solution to using ‘sudo’ (because I will be using RStudio in the future), I would be interested to
Cannot launch R help document from terminal R
My working platform is: I have installed vim-r-plugin for editing and running R programs. Everything looks fine but launch some R help document such as: Does somebody know what’s the reason and how to fix it? Answer If you type getOption(“help_type”) it will be either “html” or “text”. If it is “html” then it tries to open help in the
install latest version of R 3.2.1 (World-Famous Astronaut) on Linux Mint 17.1 (MATE)
I just switched from Mac to Linux, so while I have a basic understanding of Linux structure, there are still some things Im trying to clear up. This is one of them. 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
Add timestamp to R CMD BATCH outfile name
I want to run a script, and name the outfile. The default looks like this: How do I add a timestamp to the name? Something like this: Answer Couldn’t show backticks in the comments, see below:
how to send different commands to multiple hosts to run programs in Linux
I am an R user. I always run programs on multiple computers of campus. For example, I need to run 10 different programs. I need to open PuTTY 10 times to log into the 10 different computers. And submit each of programs to each of 10 computers (their OS is Linux). Is there a way to log in 10 different
Using linux system commands in R to remove special characters
I’m trying to clean files using linux system commands in R I would like to use a command that removes special characters apart from the file separator (pipe delimited) In the example below it’s the slashes and additional quotation marks that I’m trying to get rid of I’ve used the command below, but it doesn’t appear to be removing the
How to edit 300 GB text file (genomics data)?
I have a 300 GB text file that contains genomics data with over 250k records. There are some records with bad data and our genomics program ‘Popoolution’ allows us to comment out the “bad” records with an asterisk. Our problem is that we cannot find a text editor that will load the data so that we can comment out the
Loading a raster data of map PNG on ggmaps of R
This will be cross posted on R’s mailing list. I have the map as a png, so I won’t be using the get_map function. I have extracted the raster data from the png, and I wish to load the map as it is on the display of R, and then I would like to plot a point on it. So,