Greetings, This is potentially a very simple question that arose as I am trying my best to learn how to compile dll's using SHLIB, and also finally how to compile packages from source (after being a windows user for 2 years it is about time). The question: I am trying to figure out why on my machine R for Windows Front-end crashes when on the command prompt I type any of the following: R CMD INSTALL --help R CMD SHLIB --help ... I get a windows dialog box asking if i want to send a bug report to microsoft. I am now using R 2.2.0 (default install) and am running Windows XP. Typing "R CMD" in the command prompt works fine and outputs the following: Usage: R CMD command args where 'command' is one of: INSTALL Install add-on packages. REMOVE Remove add-on packages. SHLIB Make a DLL for use with dyn.load. ... ... Rd2txt Convert Rd format to text. Sd2Rd Convert S documentation to Rd format. This may be irrelevant but here is additional info about my computer: PATH=C:\Program Files\R\tools\bin; (contains files downloaded from tools.zipat http://www.murdoch-sutherland.com/Rtools/) C:\Program Files\R\R-2.2.0\bin; c:\MinGW\bin; (as an untampered result of downloading MinGW-5.0.0.exe, 'current install' (am i supposed to be using 'candidate'?) C:\Program Files\Perl\bin\; (Have installed ActivePerl 5.8.6) I've spent all day reading the manuals, FAQs, and mail archives and any additional reference or help I can get in being on my way to compiling dlls for use by R would be greatly appreciated.... but for now it seems like I have an immediate problem if I cant get R CMD INSTALL --help to work! Please let me know if I missed some important information. Thanks, Tariq Khan [[alternative HTML version deleted]]
On Sat, 5 Nov 2005, ?Tariq Khan wrote:> Greetings, > > This is potentially a very simple question that arose as I am trying my best > to learn how to compile dll's using SHLIB, and also finally how to compile > packages from source (after being a windows user for 2 years it is about > time). > > The question: I am trying to figure out why on my machine R for Windows > Front-end crashes when on the command prompt I type any of the following: > R CMD INSTALL --help > R CMD SHLIB --help > ... > > I get a windows dialog box asking if i want to send a bug report to > microsoft.This is specific to you: it works correctly for me and the alpha- and beta-testers. Do you have Perl installed correctly, and does it work? (Those are Perl scripts.) What does just-in-time debugging show as the cause of the crash (see the rw-FAQ for how to enable this)? [...] -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595