Re: [Rd] Rgui 3.5.0 print issue

2018-06-20 Thread Tomas Kalibera
Fixed in R-devel and R-patched. Best Tomas On 06/13/2018 01:36 PM, Tomas Kalibera wrote: Thanks for the report, I can reproduce. In Rgui, the output of "print(cars)" is incorrect, the line numbers appear as part of the command prompt string (printed in reverse order, without newlines), while

Re: [Rd] incomplete results from as.character.srcref() in some cases involving quote()

2018-06-20 Thread Tomas Kalibera
wholeSrcref attribute is documented in ?parse to be the source reference corresponding to the already parsed text. The implementation in the parser matches the documentation - the code stops at the last byte/character of the expression, that is, on the closing brace - which is the "already pars

Re: [Rd] Automatic Compression by Save Causes Check Warning

2018-06-20 Thread Tomas Kalibera
Dear Dario, this question may be more suitable for R-pkg-devel or perhaps R-help list, if you have subsequent questions, you might get better advice there. In short, save() does no automated selection of a compression algorithm - it just uses the one specified, by default "gzip". For automate

Re: [Rd] incomplete results from as.character.srcref() in some cases involving quote()

2018-06-20 Thread Georgi Boshnakov
Thanks for looking into this and sorry for the noise. I should have realised that the outermost quote() in my examples is not part of the parsed expression. Best, Georgi -Original Message- From: Tomas Kalibera [mailto:tomas.kalib...@gmail.com] Sent: 20 June 2018 11:01 To: Georgi Bosh

[Rd] DOCUMENTATION(?): parallel::mcparallel() gives various types of "Error in unserialize(r) : ..." errors if value is of type raw

2018-06-20 Thread Henrik Bengtsson
I stumbled upon the following: f <- parallel::mcparallel(raw(0L)) parallel::mccollect(f) # $`77083` # NULL but f <- parallel::mcparallel(raw(1L)) parallel::mccollect(f) # Error in unserialize(r) : read error traceback() # 2: unserialize(r) # 1: parallel::mccollect(f) (restarting because the abo