Thanks for the fix Martin.
Paul
On 04/04/18 02:07, Martin Maechler wrote:
Paul Murrell
on Tue, 3 Apr 2018 09:41:56 +1200 writes:
> Hi What you are doing "wrong" is loading a recordedplot
> into the same session that it was created in. The
> saveRDS()/readRDS() works if
On Mon, Apr 2, 2018 at 4:41 PM, Paul Murrell wrote:
> Hi
>
> What you are doing "wrong" is loading a recordedplot into the same session
> that it was created in. The saveRDS()/readRDS() works if you save in one R
> session and then read in a different R session. The assumption is that if
> you a
On Tue, 3 Apr 2018, Martin Maechler wrote:
Martin Maechler
on Tue, 3 Apr 2018 17:03:02 +0200 writes:
Francois Rousset
on Tue, 3 Apr 2018 16:38:42 +0200 writes:
>> Dear list members,
>> If I install with R-devel r74500 on Windows (sessionInfo below) the
>> attached 'bugdem
> Martin Maechler
> on Tue, 3 Apr 2018 17:03:02 +0200 writes:
> Francois Rousset
> on Tue, 3 Apr 2018 16:38:42 +0200 writes:
>> Dear list members,
>> If I install with R-devel r74500 on Windows (sessionInfo below) the
>> attached 'bugdemo' package with the s
> Francois Rousset
> on Tue, 3 Apr 2018 16:38:42 +0200 writes:
> Dear list members,
> If I install with R-devel r74500 on Windows (sessionInfo below) the
> attached 'bugdemo' package with the single function
> foo <- function() {
> named <- c("bar"=TRUE)
>
Dear list members,
If I install with R-devel r74500 on Windows (sessionInfo below) the
attached 'bugdemo' package with the single function
foo <- function() {
named <- c("bar"=TRUE)
print(named)
return(named)
}
then run
> bugdemo::foo()
[1] TRUE
[1] TRUE
The "bar" name is lost. It is
> Paul Murrell
> on Tue, 3 Apr 2018 09:41:56 +1200 writes:
> Hi What you are doing "wrong" is loading a recordedplot
> into the same session that it was created in. The
> saveRDS()/readRDS() works if you save in one R session and
> then read in a different R session.
> Henrik Bengtsson
> on Fri, 30 Mar 2018 10:14:04 -0700 writes:
> So, the proposal would then be to write to tempdir(),
> correct? If so, I see three alternatives:
> 1. explicitly use file.path(tempdir(), filename), or
> tempfile() everywhere.
I think it should clea