Skip to content
Back to formatted view

Raw Message

Message-ID: <4B13F3AB.5010706@stats.uwo.ca>
Date: 2009-11-30T16:32:43Z
From: Duncan Murdoch
Subject: Built on Mac, Installing on Windows - should this work?
In-Reply-To: <C739588A.21700%hanson@depauw.edu>

On 30/11/2009 11:10 AM, Bryan Hanson wrote:
> Hi R Mac Folks... A question about using Mac-built pkgs on the dreaded
> Windows machines.
>
> I have successfully checked, built and installed a package on my Mac.  The
> package tarball is at github.com/bryanhanson/ChemoSpec if you care to try
> installing it.  It was checked and built with defaults, so I did
>
> > R CMD check ChemoSpec
> > R CMD build ChemoSpec
>
> And everything was fine.  I can install it and run it on my Mac no problem.
> I believe it is a ?source? package ? there is no compiled code, it?s all
> straightfoward R.
>
> Now, I want to test the installation on Windows (because students have to
> use it next semester).  I?m having a variety of problems getting it upzipped
> and installed.  Before I spend a lot of time trouble shooting the Windows
> aspect, and here?s my question, should this package as I built it and so
> forth work on  Windows without modification?  Or do I have to do the
> check/build with different options?  Or do I have to do the entire process
> on a Windows machine (pray not!).  I?ve looked around in the manuals and
> help pages a bit, there doesn?t seem to be any hint that a different process
> is needed.
>   

The source tarball (the .tar.gz file) would be fine on Windows, but most 
Windows users don't have the tools to install it.  Since you don't have 
any compiled code it's probably not hard to put together a zip file 
equivalent to what R CMD INSTALL --binary would produce on Windows, but 
it's probably easier to use Uwe Ligge's package building service, 
available at http://129.217.207.166. 

Duncan Murdoch
> By the way, I can manually get the entire package intact as text files to
> the proper Windows directory, but R claims it is not a valid installed
> package.  Any of the RGui Windows means of installing the package give
> various problems.  I?ll keep trouble shooting these but I wanted to double
> check that what I am trying to do should work.
>
> Thanks, Bryan
> **************
> Bryan Hanson
> Acting Chair
> Professor of Chemistry & Biochemistry
> DePauw University
> 602 S. College Avenue
> Greencastle, IN 46135
> PHONE     765-658-4602
> FAX     765-658-6084
> hanson at depauw.edu
> http://academic.depauw.edu/~hanson/deadpezsociety.html
> http://www.depauw.edu/acad/chemistry/
> http://academic.depauw.edu/~hanson/UMP/index.html
>
>
>
> 	[[alternative HTML version deleted]]
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>