[R] Building Rgui.exe with Visual Studio

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Apr 29 12:57:34 CEST 2002


On Mon, 29 Apr 2002, Neil Osborne wrote:

> Thanks,
>
> This will save me some time...
> I have tested the windlg package. Is there anyway to "persit" the menus?.
> For instance, could I set R up so that it automatically re-creates my
> menu/dialogs upon startup. ?

Make that part of your .Rprofile: see ?Startup, or read R-intro!

>
> Many thanks
>
>
> >From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> >To: Neil Osborne <r_stuff_online at hotmail.com>
> >CC: r-help at stat.math.ethz.ch
> >Subject: Re: [R] Building Rgui.exe with Visual Studio
> >Date: Mon, 29 Apr 2002 07:13:35 +0100 (GMT Daylight Time)
> >
> >It's a long time since anyone has reported trying to build R with VC++6.
> >It has been done, *but* it fails make check because of problems with the
> >handling of floating point numbers (e.g. it reported 3 < Inf as false, as I
> >recall).
> >
> >It would have taken far less than 4 hours to set up and build using the
> >documented procedures and tools.  In any case, it is unnecessary to build
> >RGui to add custom menus, as the supplied package windlg shows.  And there
> >are instructions in the sources on how to build such packages with VC++6.
> >
> >
> >On Sun, 28 Apr 2002, Neil Osborne wrote:
> >
> > > Hi,
> > >
> > > I have downloaded and modified the source for rgui - because I wanted to
> >add
> > > a few more custom menus to the GUI. I have almost got it completed, but
> >have
> > > spent the last four hours trying to resolve the following issues (no pun
> > > intended !)
> > >
> > >
> > >
> > > Linking...
> > > R.lib(R.dll) : error LNK2005: _WatchCursor already defined in
> >cursors.obj
> > > R.lib(R.dll) : error LNK2005: _ArrowCursor already defined in
> >cursors.obj
> > > R.lib(R.dll) : error LNK2005: _R_Interactive already defined in main.obj
> > >
> > >
> > > I have tried just about everything I can think of (including the obvious
> > > commenting out the declspec dllimport statements in cursors.c) - to no
> > > avail. Actually that works but it's a desperate hack and causes the app
> >to
> > > crash later on!
> > >
> > > I've run out of ideas and I would appreciate a new set of eyes looking
> >at
> > > this to see what I'm obviously doing wrong.
> > >
> > >
> > > PS: I am compiling with MSDev Studio 6, OS  is Win2k
> > >
> > >
> > > Regards
> > >
> > >
> > > Redhat Hacker
> > >
> > > _________________________________________________________________
> > >
> > >
> > >
> >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > > r-help mailing list -- Read
> >http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > > Send "info", "help", or "[un]subscribe"
> > > (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> > >
> >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> > >
> >
> >--
> >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 272860 (secr)
> >Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >
> >
> >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> >r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> >Send "info", "help", or "[un]subscribe"
> >(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list