I'm trying to get RStudio (Desktop) up and running on a Samsung XE303C12
running Ubuntu 14.04.  This machine has a duel-core ARM processor inside.
 This is the process I have followed so far.

- Installed R using the Ubuntu Software Centre.

- Downloaded RStudio source code in the form of
'rstudio-rstudio-v0.98.952-0-g47edc6d.tar.gz' from
rstudio.com/products/rstudio/download and unpacked it.

- While installing the common dependencies, I run the following script:

#!/bin/bash

#
# install-pandoc
#
# Copyright (C) 2009-12 by RStudio, Inc.
#
# Unless you have received this program directly from RStudio pursuant
# to the terms of a commercial license agreement with RStudio, then
# this program is licensed to you under the terms of version 3 of the
# GNU Affero General Public License. This program is distributed WITHOUT
# ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
# AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
#
#

set -e

# install dir
INSTALL_DIR=`pwd`

# determine platform
PLATFORM=`uname`

# use curl or wget as appropriate
download()
{
  if [ "$PLATFORM" == "Darwin" ]
  then
    curl -L https://s3.amazonaws.com/rstudio-buildtools/$1 > $1
  else
    wget https://s3.amazonaws.com/rstudio-buildtools/$1 -O $1
  fi
}

# get pandoc
PANDOC_VERSION=1.12.3
PANDOC_DIR=pandoc/$PANDOC_VERSION
if [ -d "$PANDOC_DIR" ]
then
   echo "pandoc ${PANDOC_VERSION} already installed"
else
   PANDOC_NAME=pandoc-${PANDOC_VERSION}
   PANDOC_ZIP=${PANDOC_NAME}.zip
   download $PANDOC_ZIP
   unzip -q $PANDOC_ZIP
   mkdir -p ${PANDOC_DIR}
   if [ "$PLATFORM" == "Darwin" ]
   then
      cp ${PANDOC_NAME}/mac/pandoc* ${PANDOC_DIR}
   else
      # copy binaries for appropriate distro/arch. debian and fedora
      # use the fully static debian binaries (so we don't run into
      # problems with libgmp.so.3 being missing on later versions
      # of fedora. rhel 5 and 6 use the rpm binaries
      if [[ -x /usr/bin/dpkg ]] || [[ -f /etc/fedora-release ]]; then
        BINARY_TYPE=debian
      else
        BINARY_TYPE=rpm
      fi
      ARCH=`uname -m`
      cp ${PANDOC_NAME}/linux/${BINARY_TYPE}/${ARCH}/pandoc* ${PANDOC_DIR}
   fi
   rm $PANDOC_ZIP
   rm -rf $PANDOC_NAME
fi

# back to install dir
cd $INSTALL_DIR




- I get back:
2014-07-11 08:51:07 (72.7 KB/s) - ‘pandoc-1.12.3.zip’ saved
[97002741/97002741]

cp: cannot stat ‘pandoc-1.12.3/linux/debian/armv7l/pandoc*’: No such file
or directory

- On inspection I find there is no directory
pandoc-1.12.3/linux/debian/arm7l
  (not surprising)

- Went to this site 'http://johnmacfarlane.net/pandoc/installing.html' to
learn more about installing pandoc.  Find out I need to install the Haskell
platform.

- From this site 'http://www.haskell.org/platform/linux.html' learn that I
need to install GHC 7.6.3 prior to building the Haskell platform.

- Under 'Source Distribution' reads

"The source distribution needs an installed GHC (version 7.0 at least). If
your platform isn't currently supported with a binary distribution, then
you'll need to consult the section on Porting GHC
<http://hackage.haskell.org/trac/ghc/wiki/Building/Porting> in the Building
Guide."

Since this is all pretty new to me, I would like to seek clarification
before I decide whether or not to go further down this (rocky) path.

Am I required to port GHC across to ARM/Linux in order to install RStudio
on my machine?

Kind regards,
Chris

	[[alternative HTML version deleted]]

