Ubuntu Analytics for Beginners (like me)


So I finally gave in, said Goodbye to my Windows with it’s virus warnings, viruses, anti viruses and security updates and got an Ubuntu.

It is like learning to speak a new language at the age of >30.

Here are some tips for configuring Internet on Ubuntu and Configuring R on Ubuntu
Using R from Ubuntu

Finding All packages

Go to Applications -Accessories-Terminal

Type the following

$apt-cache search r-cran-

To install any package simply

Type

sudo apt-get install r-cran-rcmdr r-cran-xml

After this to get other packages not listed here, invoke R by typing R at the prompt

Load installed packages by Command

>library(packagename)
Configuring Internet (specific to Indian Broadband) on an Ubuntu Laptop

Connect the Internet Wire and Switch on the ADSL modem

Go to Applications -Accesories-Terminal

Type the following at Terminal ( Note the $ sign represents Terminal- so type only ifconfig in following command)

$ ifconfig

Check the IP address from this value ( among a big dump of stuff you get by typing ifconfig)

inet addr:XXX.XX.XX.XX

Go to System- Administration- Network

Click Wired Connection- Unlock ( Use the admin password given to you- same as your machine login password)

Select Wired Connection -Properties

Configuration to Automatic Configuration (DHCP)

Go to Host

Select username-laptop Properties

Change Ip address to one gotten above

Close

(To be continued)

For Enthusiastic Beginners in Ubuntu – Note I use the Ubuntu Long Term version 8.10. The latest version is 9.04 but it is not a Long Term Version Yet. Also recommended is the Cannonical Shop for Ubuntu Merchandise (see a free screenshot in the post)

https://shop.canonical.com/

Building KXEN Models on Ubuntu

Doing analytics on Linux sometimes seems user unfriendly but the reality is itis not so- and it is actually cheaper for you as you can focus on the analytical software rather than the Operating System licensing costs.

virtualization-kvm-ubuntu
kxen2

virtualization-kvm-ubuntu

Note: The software used in this were KXEN Linux version 2.4 and Ubuntu Hardy Heron.

Using KXEN on an Ubuntu Linux proved surprisingly even more easy. Thanks to some excellent help provided by the KXEN support team and some discussions with KXEN’s head of Research,Bertrand the following 5 step procedure should help you start building models in KXEN right away.

Using Ubuntu has the added advantages of security, low costs as well as all the ease of a Graphical User Interface-

1)Backward Compatibility

$ sudo apt-get install libstdc++5

(it will then ask the password).

2)Installing Java

$ sudo apt-get install sun-java6-jre

3) Download and Unzipping the Software
Download the zipped folder from the KXEN Download Site.
Unzip  the Linux Version of KXEN system from the Download Site- This creates the master folder (example Kxen_X86-Linux-2.4.21-4.Elsmp_v5_0_3 )

4)Licensing
Run the KXEN Node Generator in KxNodeCodeGenerator folder within the master folder above.
The new file KXEN Node.txt is then sent back to support team and they send the License_nl.cfg

5)Installation ( for stand alone client)

Install a JVM 1.4.2 and export the java/bin directory in the $PATH environment variable.

The exe is located in the folder KJWizardJNI- The following commands

$ cd KJWizardJNI
$ PATH=/opt/j2sdk1.4.2_10/bin:$PATH ; export PATH
$ ./KJWizardJNI.sh

Run KXEN Models Happily ever after !!!

Note KXEN offers the ability to export models in a variety of formats including PMML, SAS, SQL and other languages

Disclaimer- I am a consultant on social media to KXEN

Ubuntu Analytics for Beginners (like me)


So I finally gave in, said Goodbye to my Windows with it’s virus warnings, viruses, anti viruses and security updates and got an Ubuntu.

It is like learning to speak a new language at the age of >30.

Here are some tips for configuring Internet on Ubuntu and Configuring R on Ubuntu
Using R from Ubuntu

Finding All packages

Go to Applications -Accessories-Terminal

Type the following

$apt-cache search r-cran-

To install any package simply

Type

sudo apt-get install r-cran-rcmdr r-cran-xml

After this to get other packages not listed here, invoke R by typing R at the prompt

Load installed packages by Command

>library(packagename)
Configuring Internet (specific to Indian Broadband)  on an Ubuntu Laptop

Connect the Internet Wire and Switch on the ADSL modem

Go to Applications -Accesories-Terminal

Type the following at Terminal ( Note the $ sign represents Terminal- so type only ifconfig in following command)

$ ifconfig

Check the IP address from this value ( among a big dump of stuff you get by typing ifconfig)

inet addr:XXX.XX.XX.XX

Go to System- Administration- Network

Click Wired Connection- Unlock ( Use the admin password given to you- same as your machine login password)

Select Wired Connection -Properties

Configuration to Automatic Configuration (DHCP)

Go to Host

Select username-laptop Properties

Change Ip address to one gotten above

Close

(To be continued)

For Enthusiastic Beginners in Ubuntu – Note I use the Ubuntu Long Term version 8.10. The latest version is 9.04 but it is not a Long Term Version Yet. Also recommended is the Cannonical Shop for Ubuntu Merchandise (see a free screenshot in the post)

https://shop.canonical.com/

Linux for busy people

For people who always wanted to try out Linux but never had the time or the energy ( or courage to risk  moving to a Linux only environment) here is a great application which allows you to keep Linux as well as Windows for double booting environment . You need 256 mb ram and 5 gb hard disk and you are good to go. It is a single click download and install to try out Ubuntu Linux and it preserves your Windows too.

If you wanted to try out R with Linux , then it is an easy way out for you ( and me).

Saves quite a lot of money per desktop per OS and per office productivity software.

Sounds good to be true well the site is http://wubi-installer.org/

Here are some screenshots courtesy of the site itself-

Ubuntu Desktop Preview

And if you need to install your favorite applications (like R , Subversion) and don’t want to command line your way the solution is quite simple It is called Synaptic and it is free and downloadable here

http://www.nongnu.org/synaptic/index.html

Cutting Down Office Costs:Downloading by DAP and Bit Torrents

Some of these tips may be familiar.Some may be surprisingly different

Here are ways to 1) search for hard to find softwares 2)download and queue downloads  with resume/pause functions

Bit Torrents are the best way to download anything . To quote the Openoffice website ”

About BitTorrent

BitTorrent is a P2P method where a central ‘tracker’ keeps track of who is downloading and sharing specific files.

When using BitTorrent to download OpenOffice.org, your computer automatically uses spare bandwidth to help share the file with others, and this means that you don’t have to put up with slower downloads during peak download times (such as just after a release), because the more people downloading, the more people sharing.

Also, your download is automatically checked for integrity to make sure that it is identical to the official version.

To use BitTorrent technology, you must have a BitTorrent “client” installed.

BitTorrent Clients

For normal downloads , use DAP from www.speedbit.com. Thats best suited. Also try compressing stuff before uploading.This does have an impact on office bandwidth usage costs. For cutting down on software costs  for your organization, download Ubuntu Linux from http://www.ubuntu.com  and OpenOffice from http://www.openoffice.org and use it for top 10 % technically qualified people, or bottom 10 % computers that basically use simple processing tasks like email, office,front desk etc.Then expand or tweak the percentages based on the results and satisfaction from users.

To cut down on intranet costs , you can use simple softwares from www.wordpress.org and host it on a computer for whole office to use it as an intranet. For creating an office newsletter , you can burn the feed at www.feedburner.com and use the email plugin to offer subscription to the email users.