[R-sig-Debian] how to convert source code in windows package for linux (ubuntu)

Josh Harmsen josh.harmsen at gmail.com
Sat Oct 11 19:30:12 CEST 2008

I've actually already had correspondence with the author, he thought
it was possible to do, but asked me to find out what would be needed
to get it in a Linux environment and I was going to get back to him.
SAGA actually compiles nicely in Linux (the gui and cmd) and I have
successfully done this, so that should not be the issue.

Here is what we have:
R Source package for RSAGA (and author cced!)
Windows Binary for RSAGA (no use to us)
SAGA compiles for Ubuntu Hardy with no problems

So with this, what are the necessary steps?



On Sat, Oct 11, 2008 at 12:35 AM, Edzer Pebesma
<edzer.pebesma at uni-muenster.de> wrote:
> The other option I would recommend is to contact the package author (Cc:),
> and ask what he thinks would be needed to port RSAGA to linux. I'm not sure
> about this, but I believe he or someone else once mentioned that SAGA (to
> which RSAGA interfaces) has a command line interface that is only available
> on the windows platform. If that is the case, SAGA would be the project to
> push first to get this running under linux.
> --
> Edzer
> Dirk Eddelbuettel wrote:
>> On 10 October 2008 at 15:42, Josh Harmsen wrote:
>> | The package is RSAGA
>> http://cran.r-project.org/web/packages/RSAGA/index.html
>> | | CRAN does have the package source available, which is what I want to
>> | get to work in R on a Ubuntu Hardy 64bit.  If the process is trivial
>> | could you guide me through it or point me to a resource that explains
>> | it?
>> Not knowing anything about the particular details of this package I'd
>> refer
>> you to what the package author clearly states in the DESCRIPTION info for
>> the
>> package that is available at the URL you provide that:
>>        SystemRequirements:     Windows, SAGA (>=2.0.2)
>> To make that even more plain, RSAGA depends
>>        a) on SAGA (do you have that on Ubuntu amd64 ?),  and
>>        b) on Windows.
>> You are, in other words, out of luck.
>> Look into virtualbox, a rather nice virtualization package included in
>> Ubuntu
>> in the 'open source edition' and look into installing a Windows session
>> inside your Ubuntu system. You can share folders etc pp.  Maybe that can
>> help
>> you.
>> Dirk
> --
> Edzer Pebesma
> Institute for Geoinformatics (ifgi), University of Münster,
> Weseler Straße 253, 48151 Münster, Germany.  Phone: +49 251
> 8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de/
> http://www.springer.com/978-0-387-78170-9

More information about the R-SIG-Debian mailing list