[R-pkg-devel] use of `dev.new` across platforms in RStudio
Martin Maechler
maechler at stat.math.ethz.ch
Mon Jun 15 14:02:20 CEST 2015
>>>>> JJ Allaire <jj at rstudio.com>
>>>>> on Sun, 14 Jun 2015 07:41:53 -0400 writes:
>> I have neither been involved in the creation of the
>> 'noRStudioGD' option, but from looking at dev.new() it is
>> clear that it *should* work on all three platforms
>> (Windows, Mac, Linuxen).
>>
>> It is really unfortunate that this still does not work
>> reliably (or stopped working with a new release of
>> "something" ?)...
>>
>> Honestely, I believe it is primarily RStudio's
>> responsibility to ensure that something standard R as
>> dev.new() keeps working in their interface to R,= and if
>> it does not, at least contact the R developers (R core)
>> about it.
> Currently the RStudio graphics device creation function
> fails if the RStudio device is already active. We will
> modify this function to rather than fail just delegate to
> the platform-appropriate device creation function (which
> will create an external windows, X11, or quartz graphics
> device window). This will make dev.new work as expected
> within RStudio.
> J.J. Allaire
Thanks a lot indeed, J.J. ... for such a quick and positive
reaction!
In a perfect world we would have communicated about and solved
the issue long ago..... and I'm sorry that you've not been
contacted about the issue earlier.
Best regards,
Martin
More information about the R-package-devel
mailing list