haotu : an open lab notebook

2013/03/20

Environmental Variables in Linux

Filed under: Uncategorized — Tags: , , — S @ 01:34

Environmental Variables in Ubuntu :: How Code Talks within Computers running Linux

https://help.ubuntu.com/community/EnvironmentVariables

set path smartly

2013/03/19

Run programs stored in any directory from the command line in any directory

Filed under: Ubuntu, Uncategorized — Tags: — S @ 07:31

You found a random executable/script that you want to run from the command line in any directory local…  how do you do this?

The easiest way is to edit your .bashrc file so that Ubuntu is looking in the folder that contains the program. The .bashrc file is in your home directory as a hidden file.

In the file under the #PATH heading type

export PATH=$PATH:~/yourdirectory

Save it and restart your command line.

search multiple engines :: Meta-engines :: Search

Bored of just one engine? Why not run on multiple.

dogpile?

Metacrawler?

Meta-engines means multiple engines…

http://www.dmoz.org/Computers/Internet/Searching/Metasearch/

http://www.dmoz.org

2013/03/18

install R packages in Ubuntu

Filed under: Uncategorized — S @ 05:36

1. open a command line window

2. sudo R

3. install your package

example

install.packages(“seqinr”, repos=”http://R-Forge.R-project.org “)

 

Get the R code for the functions of a package

Filed under: Uncategorized — Tags: , , , , , — S @ 03:58

Download the tab ball from Cran and extract the gz to get the tar. Then extract the tar.

 

I use 7zip since it is free!

 

Look in the R folder, the code you are searching for will be there.

Create a free website or blog at WordPress.com.