Skip to content

how to convert source code in windows package for linux (ubuntu)

4 messages · Dirk Eddelbuettel, Josh Harmsen, Lars Hansen +1 more

#
On 11 October 2008 at 20:12, Edzer J. Pebesma wrote:
| something like
| 
| R CMD INSTALL RSAGA_version_x.y.tar.gz
| 
| possibly preceded with a "sudo", so that it becomes installed 
| system-wide. And then see if it works!

Yup, and if it doesn't, try to debug where maybe Windows-specific commands or
settings are used.  It should be easy to overcome this -- many R packages do.

Dirk

| --
| Edzer
|
| Josh Harmsen wrote:
| > 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?
| >
| > Thanks,
| >
| > Josh
| >
| > 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
| >>
| >>
| >>     
|
2 days later
#
Hi All,

First off thanks to everyone for help on this, this is a great
community.  Currently R has been tied up on my Linux machine and I
don't think it will be free for a couple more days.  I'll let everyone
know if I can get this to work, so stay tuned!

Cheers,

Josh
On Sat, Oct 11, 2008 at 12:46 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
8 days later
#
Hi,

I just noticed that R 2.8.0 showed up as an update in Adept Updater. 
Unfortunately, it does not let me install it. It says r-base-dev and 
r-recommended are upgradable, but if I request the upgrade, it says 
"BREAK (upgrade)" in red letters in Requested column.

I use Ubuntu 8.04 and have http://cran.mtu.edu/bin/linux/ubuntu in my 
repo list.

Thanks,
Lars
#
Lars,

If you are using the amd64 build, all will be fine in about 12 hours. 
Slight delay in uploading the updates, but they should be synced soon.

If you are running i386 builds, then we have different issues.

Michael
Lars Hansen wrote: