<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:foaf="https://xmlns.com/foaf/0.1/" xmlns:og="https://ogp.me/ns#" xmlns:rdfs="https://www.w3.org/2000/01/rdf-schema#" xmlns:schema="https://schema.org/" xmlns:sioc="https://rdfs.org/sioc/ns#" xmlns:sioct="https://rdfs.org/sioc/types#" xmlns:skos="https://www.w3.org/2004/02/skos/core#" xmlns:xsd="https://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/tag/data-analysis">
  <channel>
    <title>Data Analysis</title>
    <link>https://www.linuxjournal.com/tag/data-analysis</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>Visualizing Science with ParaView</title>
  <link>https://www.linuxjournal.com/content/visualizing-science-paraview</link>
  <description>  &lt;div data-history-node-id="1340598" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/paraview3.png" width="1215" height="775" alt="ParaView" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/joey-bernard" lang="" about="https://www.linuxjournal.com/users/joey-bernard" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Joey Bernard&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;
I'd like to introduce one of the more popular
tools used for visualizing data within several scientific disciplines:
&lt;a href="https://www.paraview.org"&gt;ParaView&lt;/a&gt;. ParaView started as a joint
project between Kitware, Inc., and
Los Alamos National Laboratory back in 2000. The first public release
was version 0.6, which came out in 2002. Since then, ParaView has become
one of the most popular visualization packages for visualizing
large data sets.
&lt;/p&gt;

&lt;p&gt;
Because it's open source, it should be available in most,
if not all, package repository systems. For example, in Debian-based
distributions, you should be able to install it with the command:

&lt;/p&gt;&lt;pre&gt;
&lt;code&gt;
sudo apt-get install paraview
&lt;/code&gt;
&lt;/pre&gt;


&lt;p&gt;
Starting it the first time should give you an empty workspace, ready
for you to get to work.
&lt;/p&gt;

&lt;img src="https://www.linuxjournal.com/sites/default/files/styles/max_650x650/public/u%5Buid%5D/paraview1.png" width="650" height="415" alt="""" class="image-max_650x650" /&gt;&lt;p&gt;
&lt;em&gt;Figure 1. When you first start ParaView, you'll see a new, empty
layout to start your visualization.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Two major parts populate the bulk of the window.
The right-hand
side is the main display pane where the visualization will appear. The
left-hand pane shows the list of objects being visualized, along with
their properties. At the top, there is a toolbar of the common
functions in ParaView.
&lt;/p&gt;

&lt;p&gt;
To play with ParaView, you'll
need some data. If you don't have any data of your own to
use, you can grab some data provided as part of the &lt;a href="https://www.paraview.org/Wiki/The_ParaView_Tutorial"&gt;ParaView
Tutorial&lt;/a&gt;.
More
documentation and sample scripts are also available there.
&lt;/p&gt;

&lt;p&gt;
Let's assume
you're going to use the sample data as you learn how to use ParaView. To load
the data, click File→Open, and navigate to where you
unpacked the sample data.
&lt;/p&gt;

&lt;p&gt;
While you're here, take a quick look
at the list of all of the file types ParaView supports. For example, you
can load the data stored in the file can.ex2. You won't see anything
displayed right away. In the bottom part of the left-hand side pane,
you should see the properties for the newly loaded data file. For now,
you can just accept the defaults and click the apply button. You
then should see the data visualized in the main pane.
&lt;/p&gt;

&lt;img src="https://www.linuxjournal.com/sites/default/files/styles/max_650x650/public/u%5Buid%5D/paraview2.png" width="650" height="415" alt="""" class="image-max_650x650" /&gt;&lt;p&gt;
&lt;em&gt;Figure 2. The data in the sample file can.ex2 renders as a
half cylinder attached to a rectangle on the end.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Clicking and dragging on the image allows you to rotate the view, so you can
see the entire object from various angles.
&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/visualizing-science-paraview" hreflang="en"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Wed, 29 May 2019 12:00:00 +0000</pubDate>
    <dc:creator>Joey Bernard</dc:creator>
    <guid isPermaLink="false">1340598 at https://www.linuxjournal.com</guid>
    </item>
<item>
  <title>A Good Front End for R</title>
  <link>https://www.linuxjournal.com/content/good-front-end-r</link>
  <description>  &lt;div data-history-node-id="1339772" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/12343f2.png" width="800" height="475" alt="screenshot" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/joey-bernard" lang="" about="https://www.linuxjournal.com/users/joey-bernard" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Joey Bernard&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;
R is the de facto statistical
package in the Open Source world. It's also quickly becoming the default
data-analysis tool in many scientific disciplines.
&lt;/p&gt;

&lt;p&gt;
R's core design includes
a central processing engine that runs your code, with
a very simple interface to the outside world. This basic interface
means it's been easy to build graphical interfaces that wrap the
core portion of R, so lots of options exist that you
can use as a GUI.
&lt;/p&gt;

&lt;p&gt;
In this article, I look at one of the available GUIs:
RStudio. RStudio is a commercial program, with a free community version,
available for Linux, Mac OSX and Windows, so your data analysis
work should port easily regardless of environment.
&lt;/p&gt;

&lt;p&gt;
For Linux, you can install the main RStudio package from the
&lt;a href="https://www.rstudio.com/products/rstudio/download"&gt;download page&lt;/a&gt;.
From there, you can
download RPM files for Red Hat-based distributions or DEB files for
Debian-based distributions, then use either &lt;code&gt;rpm&lt;/code&gt; or
&lt;code&gt;dpkg&lt;/code&gt;
to do the installation.
&lt;/p&gt;

&lt;p&gt;
For example, in Debian-based distributions,
use the following to install RStudio:

&lt;/p&gt;&lt;pre&gt;
&lt;code&gt;
sudo dpkg -i rstudio-xenial-1.1.423-amd64.deb
&lt;/code&gt;
&lt;/pre&gt;


&lt;p&gt;
It's important to note that RStudio is only the GUI interface. This
means you need to install R itself as a separate step. Install the core
parts of R with:

&lt;/p&gt;&lt;pre&gt;
&lt;code&gt;
sudo apt-get install r-base
&lt;/code&gt;
&lt;/pre&gt;


&lt;p&gt;
There's also a community repository of available packages, called CRAN,
that can add huge amounts of functionality to R. You'll want to install
at least some of them in order to have some common tools to use:

&lt;/p&gt;&lt;pre&gt;
&lt;code&gt;
sudo apt-get install r-recommended
&lt;/code&gt;
&lt;/pre&gt;


&lt;p&gt;
There are equivalent commands for RPM-based distributions too.
&lt;/p&gt;

&lt;p&gt;
At this
point, you should have a complete system to do some data analysis.
&lt;/p&gt;

&lt;p&gt;
When you first start RStudio, you'll see a window that looks
somewhat like Figure 1.
&lt;/p&gt;
&lt;img src="https://www.linuxjournal.com/sites/default/files/styles/max_650x650/public/u%5Buid%5D/12343f1.png" width="650" height="386" alt="Screenshot" class="image-max_650x650" /&gt;&lt;p&gt;&lt;em&gt;
Figure 1. RStudio creates a new session, including a console interface to R, where
you can start your work.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;
The main pane of
the window, on the left-hand side, provides a console interface where
you can interact directly with the R session that's running in the
back end.
&lt;/p&gt;

&lt;p&gt;
The right-hand side is divided into two sections, where each
section has multiple tabs. The default tab in the top section
is an environment pane. Here, you'll see all the objects that
have been created and exist within the current R session.
&lt;/p&gt;

&lt;p&gt;
The
other two tabs provide the history of every command given and a list
of any connections to external data sources.
&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/good-front-end-r" hreflang="en"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Thu, 26 Apr 2018 14:30:00 +0000</pubDate>
    <dc:creator>Joey Bernard</dc:creator>
    <guid isPermaLink="false">1339772 at https://www.linuxjournal.com</guid>
    </item>

  </channel>
</rss>
