Skip to content
Advertisement

Tag: r

dependency error in R package

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

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

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

Advertisement