hi all
R CMD Rd2pdf ignores tabs in the usage section.
However, I just discovered that it doesn't ignore trailing spaces (before
lines).
I'm assuming that the same thing happens when the online man pages are
produced.
I didn't check what happens in the examples section.
I think it would be better
Hi Rui. Thanks for answer, I'm aware of drop = FALSE option. Unfortunately
it doesn't resolve the issue - I'm expecting to get a vector, not a matrix .
ср, 21 нояб. 2018 г. в 20:54, Rui Barradas :
> Hello,
>
> Use drop = FALSE.
>
> a[1, , drop = FALSE]
> # col1
> #row11
>
>
> Hope this he
Hello,
Use drop = FALSE.
a[1, , drop = FALSE]
# col1
#row11
Hope this helps,
Rui Barradas
Às 16:51 de 21/11/2018, Dmitriy Selivanov escreveu:
Hello here. I'm struggling to understand R's subsetting behavior in couple
of edge cases - subsetting row in a single column matrix and subse
Hello here. I'm struggling to understand R's subsetting behavior in couple
of edge cases - subsetting row in a single column matrix and subsetting
column in a single row matrix. I've read R's docs several times and haven't
found answer.
Consider following example:
a = matrix(1:2, nrow = 2, dimnam
Dear Martin,
Thanks for the feedback. After some more digging, I found that the problem
was caused by a function which we imported from another package. That
function closes open devices as a side-effect.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Governmen
> Thierry Onkelinx via R-devel
> on Tue, 20 Nov 2018 14:16:20 +0100 writes:
> Dear all, When running R CMD check on our package, we get
> an error on the examples.
> Error in grDevices::dev.off() :
> cannot shut down device 1 (the null device)
> None of the exa