[R-pkg-devel] Anyone Know How To Setup Wine for Windows Testing?
Steve Bronder
@bronder @end|ng |rom @tevebronder@com
Thu Jul 16 19:57:07 CEST 2020
On Wed, Jul 15, 2020 at 2:22 PM Neal Fultz <nfultz using gmail.com> wrote:
> If you don't mind multi-gig docker containers, this can be helpful:
>
> https://github.com/scottyhardy/docker-wine
>
> It doesn't work with 64 bit versions of R as far as I could tell, but 32
> bit did install and start correctly in a few clicks when I tried last year.
>
Thanks! I'm hoping if I can get this all working locally I can put
everything into a docker container for other folks. At this point I have R
up and running and it can install binary packages, but there are some
terrible terrible Cygwin/Rtools errors I can't figure out. In particular
this warning / message seems worrisome
Cygwin WARNING:
Couldn't compute FAST_CWD pointer. This typically occurs if you're using
an older Cygwin version on a newer Windows. Please update to the latest
available Cygwin version from https://cygwin.com/. If the problem
persists,
please see https://cygwin.com/problems.html
If anyone has interest I can post a script for setting up the wine instance
as far as I can get atm.
>
>
>
>
> On Wed, Jul 15, 2020 at 10:56 AM J C Nash <profjcnash using gmail.com> wrote:
>
>> Are you sure you want to try to run R etc. under Wine?
>>
>
Do I want to? No :-). But we (Stan) want to use flto and are seeing errors
on windows I want to be able to debug locally.
>
>> - If you have Windows running, either directly or in a VM, you can run R
>> there.
>>
>
Sadly I don't have access to a windows machine. If I can't figure this out
then I'll probably just get a windows aws instance. But it would be nice
for people to have a wine setup they could test locally on.
> - If you have Windows and want to run R under some other OS, then set up a
>> VM
>> e.g., Linux Mint, for that. I sometimes test R for Windows in a
>> VirtualBox VM
>> for Win10, but generally run in Linux Mint. I've also run R in some Linux
>> VMs
>> to test for specific dependencies in some distros.
>>
>> I rather doubt R will run very well in Linux under Wine. My experience
>> with Wine
>> is that a few apps (e.g. Irfanview) run well, but many give lots of
>> trouble.
>>
>
Yes I'm 80/20 on whether compilation with Rtools will totally work on wine.
But if I can get this all setup and put it into a docker file I think it
will be useful for other people as well so it's worth spending a bit of
time on.
>
>> JN
>>
>>
>> On 2020-07-15 1:17 p.m., Steve Bronder wrote:
>> > Does anyone know of a setup guide for getting R and Rtools 4.0 up and
>> > running on Wine with the Windows Server 2008 R2 VM? Do other maintainers
>> > with more knowhow think that would be useful for debugging purposes?
>> >
>> > I've been trying to test out some flto gcc things for windows by
>> setting up
>> > a local wine VM on my ubuntu box. Wine has an option for Windows Server
>> > 2008 R2 (which I believe is the windows session CRAN uses?) If anyone
>> has
>> > done this before and knows of a guide somewhere that would be very
>> helpful!
>> >
>> > Regards,
>> >
>> > Steve Bronder
>> >
>> > [[alternative HTML version deleted]]
>> >
>> > ______________________________________________
>> > R-package-devel using r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>> >
>>
>> ______________________________________________
>> R-package-devel using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>
- Steve Bronder
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list