/library/profile/Common.R
Have NCOL(NULL) return 0 instead of 1.
Many thanks to Kurt and the whole R-core team!
Simone
On Sat, Sep 23, 2023 at 7:43 PM Simone Giannerini wrote:
>
> Dear list,
>
> I do not know w
f such an argument is potentially a matrix, then using NULL
as the default requires additional code to check for the number of
columns and use it in the code.
The same holds to a lesser extent for functions that are expected to
return a matrix and return NULL instead.
Kind regards,
Simone
> On 20
e
On Sat, Sep 23, 2023 at 7:50 PM Duncan Murdoch wrote:
>
> It's been documented for a long time that NCOL(NULL) is 1. What
> particular problems did you have in mind? There might be other ways to
> guard against them.
>
> Duncan Murdoch
>
> On 23/09/2023 1:43 p.m.,
MERIC=C
[5] LC_TIME=Italian_Italy.utf8
time zone: Europe/Rome
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.3.1
--
_______
N=function(x){
y <- x[1]
if(y==1){
out <- y
}else{
out <- double(0)
}
return(out)
})
> res
[[1]]
[1] 1
[[2]]
numeric(0)
[[3]]
[1] 1
Simone
On Mon, May 18, 2020 at 5:23 PM Simone Giannerini wrote:
>
> Accordin
e
loaded via a namespace (and not attached):
[1] compiler_4.0.0
--
_
PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A
Theme issue ‘DNA as information’
edited by Julyan H.E. Cartwright, Simone Giannerini and Diego L. González
________
gt; Best
>>>>>>> Tomas
>>>>>>>
>>>>>>> On 04/25/2018 09:55 PM, Kerry Jackson wrote:
>>>>>>>
>>>>>>>> Hi R Developers,
>>>>>>>> I have found what I think is a bug in
t;
>
>
>
>
> [[alternative HTML version deleted]]
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
___
Si
methods base
--
______
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 2098262 Fax: +39 051 232153
http://www2.
en(B,T,T)$values# answers agree as expected if 'symmetric' means
> > 'Hermitian'
> > [1] 3 1
> >
> >
> >
> >> C <- matrix(c(2,1i,1i,2),2,2)# 'C' is symmetric
> >> eigen(C,F,T)$values
> > [1] 2-1i 2+1
gt;> |"xy.labels|||logical, indicating if |text
>> <http://127.0.0.1:29428/library/stats/help/text>()| labels should be
>> used for an x-y plot, /or/ character, supplying a vector of labels to be
>>
>> used. The default is to label for up to 150 points, and not
d):
[1] tools_2.15.2
Kind regards
Simone
__________
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 2098262 Fax: +39 051 232153
http://www2.stat.unibo.it/giannerini/
__
> Sent from the R devel mailing list archive at Nabble.com.
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
__
Simone G
ENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.12.1
On Wed, Feb 2, 2011 at 12:03 PM, Prof Brian Ripley wrote:
> On Wed, 2 Feb 2011, Simone Giannerini
;>
> >>> __
> >>> R-devel@r-project.org mailing list
> >>> https://stat.ethz.ch/mailman/listinfo/r-devel
> >>>
> >>
> >>
> >
> > --
> > Brian D. Ripley,
Dear Olaf,
thanks for your reply, at first sight I did not link this behaviour to
that subsetting feature that I must admit I am not used to.
Ciao
Simone
On Mon, Oct 4, 2010 at 1:13 AM, Olaf Mersmann
wrote:
> Dear Simone,
>
> On 04.10.2010, at 01:01, Simone Giannerini wrote:
&g
1] gtools_2.6.2
loaded via a namespace (and not attached):
[1] tools_2.11.1
OS: Windows 7 64 bit
--
______
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126
to be careful about unintended consequences.
>
> __________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
__
Simone Giannerini
Dipartime
les by specifying explicit interfaces into the
subroutines that use other subroutines.This is what I do in my packages. I
understand it can be painful if you have to put your hands on big modules.
Kind regards
Simone
On Tue, Dec 29, 2009 at 1:44 PM, Hartwig Deneke wrote:
> 2009/12/29 Simone
his (are there any other packages depending
> on Fortran90 code?)
>
> Thanks in advance for any help,
> Hartwig Deneke
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
-
Matrix.ts
>
> and it should work.
>
> The tarballs will catch up in due course.
>
> On Fri, 20 Nov 2009, Simone Giannerini wrote:
>
>> Dear all,
>>
>> I encountered a problem when compiling the source of R patched 2.10.0
>> r50499 (19-11-2009)
>> link
any hints appreciated, thanks
regards
Simone
--
__________
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 2098262 Fax: +39 051 232153
http://www2.stat.unibo.it/giannerini/
___
> ________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
at least incomplete).
>
>
> -thomas
>
> Thomas Lumley Assoc. Professor, Biostatistics
> tlum...@u.washington.edu University of Washington, Seattle
>
>
>
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
'the' median but 'a' median. (Even English Wikipedia
> says the median is not unique for even numbers of inputs.)
>
>>
>> --
>> Gregory (Greg) L. Snow Ph.D.
>> Statistical Data Center
>> Intermountain Healthcare
>> greg.s...@imail.org
>>
Italy.1252;LC_CTYPE=Italian_Italy.1252;LC_MONETARY=Italian_Italy.1252;LC_NUMERIC=C;LC_TIME=Italian_Italy.1252
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle b
wrote:
> On Thu, 8 Jan 2009, Simone Giannerini wrote:
>
>> Now I got how to reproduce it, it has nothing to do with multiple
>> figure environment but rather with figure resizing. Here it is:
>>
>> curve(dnorm,col=4,from=-4,to=4);
>> legend(-4,0.3,legend="curve&
2008
month 12
day22
svn rev47281
language R
version.string R version 2.8.1 (2008-12-22)
On Thu, Jan 8, 2009 at 3:29 PM, Simone Giannerini wrote:
> Now I got how to reproduce it, it has nothing to do with multiple
> figure environment but rather with
lty=1,col=4)
Simone
On Thu, Jan 8, 2009 at 2:39 PM, Martin Maechler
wrote:
>
> >>>>> "SG" == Simone Giannerini
> >>>>> on Thu, 8 Jan 2009 14:08:17 +0100 writes:
>
>SG> Dear Mathieu, On Thu, Jan 8, 2009 at 12:14 PM, Mathieu
&
uot;cairo"
$ antialias : num 1
thanks,
Simone
On Thu, Jan 8, 2009 at 2:39 PM, Martin Maechler
wrote:
>>>>>> "SG" == Simone Giannerini
>>>>>> on Thu, 8 Jan 2009 14:08:17 +0100 writes:
>
>SG> Dear Mathieu, On Thu, Jan 8, 20
esults - if I understood correctly your
> issue though. For information:
>
> R version 2.8.1 (2008-12-22)
> Linux mathieu-laptop 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:52
> UTC 2008 i686 GNU/Linux (Ubuntu Intrepid)
>
> Cheers,
> Mathieu
>
> Simone Giannerini
haviour on a machine with R 2.8.0.
Thank you,
Simone
--
______
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 20982
-win32.exe 31963 KB 22/12/2008 16.15.00
R-2.8.1rc-win32.exe31991 KB 25/12/2008 9.30.00
thank you
Simone
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle
406-994-4548
> Professor and Head FAX 406-994-3190
> Department of Ecology email [EMAIL PROTECTED]
> Montana State University
> Bozeman, MT 59717-3460
>
> __
> R-devel@r-project.org
both cor() and cov():
>
> $ grep -n 3L cor.R
> 36:else if (na.method != 3L) {
> 118:else if (na.method != 3L) {
>
> That line might not be the cause of my "no complete element pairs"
> problem (I'm not at all sure), but it does look suspicious.
>
> --
> Andrew Pisk
s? Points to the obvious? Both ACML and Lapack are where they
> should be, so I'm quite frankly puzzled as to what is going on.
>
>
> Thanks very much in advance.
>
>[[alternative HTML version deleted]]
>
> __
> R-devel@r-
; >
> > Ray Brownrigg
> >
> > __
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
>
>
>
> --
> Antonio, Fabio Di Narzo
> Ph.D. student at
> Department o
across
textbooks at least for the F.
Kind regards
Simone
On Thu, Jun 5, 2008 at 5:13 PM, Prof Brian Ripley <[EMAIL PROTECTED]>
wrote:
> On Thu, 5 Jun 2008, Simone Giannerini wrote:
>
> Dear all,
>>
>> I found the following behaviour
>>
>> rf(5,Inf,Inf)
>&
ed
major 2
minor 6.1
year 2008
month 01
day17
svn rev44036
language R
version.string R version 2.6.1 Patched (2008-01-17 r44036)
__________
Simone Giannerini
Dipartimento di Scienze Sta
e do not hesitate to contact me for further clarifications
>
> regards
>
> Simone
>
> --
> __
>
> Simone Giannerini
> Dipartimento di Scienze Statistiche "Paolo Fortunati"
> Universita' di Bologna
>
Please do not hesitate to contact me for further clarifications
regards
Simone
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITA
some time before the release you would get much more feedback but I am
just guessing.
Regards
Simone
>
> >
> > On 11/6/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> >
> >> On Tue, 6 Nov 2007, Simone Giannerini wrote:
> >>
> >>
> >&g
Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Nov 2007, Simone Giannerini wrote:
>
> > I looked at the list of bug fixes before writing and I found that the
> > only thing close to it is this
> >
> > o postscript() was not always ignoring .Postscript.Optio
R Version 2.6.0. This did not change the outcome.
> >
> > 4. This problem did not exist in previous versions of R on any of my
> > computers.
> > It exists on all computers for version 2.6.0 of R.
> >
> > ______
> > R
ll computers for version 2.6.0 of R.
>
> __________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita
;- corARMA(value=c(arcoefs,macoefs), form=~1, p=p, q=q)
> Sigma <- corMatrix(tmp, covariate = 1:n) # segfault
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
___
Dear Paul,
thanks for the reply,
On 14/09/2007, Paul Gilbert <[EMAIL PROTECTED]> wrote:
>
> Simone Giannerini wrote:
> > Dear Paul,
> >
> > there is no mention to the pacf in the multivariate setting in the book
> > you suggested.
>
> My apologie
>
> Cody, W. D. (1969)
> Rational Chebyshev Approximations for the Error Function
> Mathematics of Computation, Vol. 23, No. 107. (Jul., 1969), pp. 631-637.
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.
; I think the reference for pacf is
>
> @BOOK{GraNew77,
>author ={Granger, C. W. J. and Newbold, Paul},
>title = {Forecasting Economic Time Series},
>publisher = {Academic Press},
>year = 1977
>}
>
> It certainly would not be Reisel's bo
in the example section (line -2 from the bottom)
Brockwell and Davies
should be
Brockwell and Davis
Regards,
Simone
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via dell
ts
computation
I do not know whether this behaviour is expected or it is a bug instead.
In the first case could you provide a reference for it? In the second case I
might file a bug report.
Thank you for the great work you are doing for the scientific community.
kind regards,
Simone Giannerini
W
I think that a simple statement mentioning the issue in the documentation of
fix() would be helpful.
regards
Simone
On 5/9/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
> On Wed, 9 May 2007, Simone Giannerini wrote:
>
> > My concern here is that users can be confused
and converts
> matrices to such).
>
> Editing R objects can easily change aspects of them, as dput() is not
> faithful, environments can get lost and so on.
>
> On Wed, 9 May 2007, Simone Giannerini wrote:
>
> > Dear all,
> >
> > it looks like fix() changes the clas
nu
system x86_64, linux-gnu
status
major 2
minor 5.0
year 2007
month 04
day23
svn rev41293
language R
version.string R version 2.5.0 (2007-04-23)
__
Simone Giannerini
Dipartime
under Linux gfortan is now the default compiler for gcc>4.0.0
2. switching back to F77 might **not** be an option for many people.
My intention here was also to provide the community with some feedback on
this but it is hard to have a proper discussion
in these conditions.
Kind regards,
Sim
R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 4.1
year 2006
month 12
day18
svn rev40228
language R
version.string R version 2.4.1
nu
status
major 2
minor 4.1
year 2006
month 12
day18
svn rev40228
language R
version.string R version 2.4.1 (2006-12-18)
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paol
e
> to study it.
>
> Thanks, Gregor
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
______
Simone Giannerini
Dipartimento di Scienze Stati
lme4 package with
> accelerated BLAS? I'm trying to pin down is this occurs only with
> ACML or also with Atlas and/or Goto's BLAS.
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Using "ts" objects these can be written in the following consistent
> manner:
>
> > sum(ts(x) * lag(ts(x)) / sum(ts(x)^2))
> [1] -0.2648633
>
> > sum(ts(x) * lag(ts(y)) / sqrt(sum(ts(y)^2) * sum(ts(x)^2)))
> [1] 0.5930216
>
> On 10/2/06, Simone Giannerini <
=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252"
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di
guage R
version.string Version 2.3.1 (2006-06-01)
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252"
>
_____
e.
Regards,
Simone
On 6/12/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 6/11/2006 2:13 PM, Simone Giannerini wrote:
> > Dear all,
> > I found the following on R 2.3.1. for Windows XPpro SP2, tested on 2 PCs
> > AMD 64 3700+, Ati 9700
> > AMD Athlon 2400+
812
language R
Regards,
Simone
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 2098248 F
s, hence different error messages.
>
> Please do not send the same post repeatedly!
I apologize, I thought there was a problem with the first post.
Regards,
Simone
>
> On Wed, 31 May 2006, Simone Giannerini wrote:
>
> > Dear All,
> >
> > I found the following un
37909
language R
version.string Version 2.3.0 (2006-04-24)
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252"
06
month 04
day24
svn rev37909
language R
version.string Version 2.3.0 (2006-04-24)
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051
//stat.ethz.ch/mailman/listinfo/r-devel
>
--
__________
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fortunati"
Universita' di Bologna
Via delle belle arti 41 - 40126 Bologna, ITALY
Tel: +39 051 2098248 Fax: +39 051 232153
E-mail: [EMAIL PROTECTED]
Dear prof. Ripley,
many thanks for the clarification, now I have good elements for
managing the purchase.
kind regards,
Simone Giannerini
On 3/7/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Tue, 7 Mar 2006, Simone Giannerini wrote:
>
> > Ok thanks, I am wonderi
de of a cluster environment. For example, we have
> not moved to using Rmpi/snow on our dual-processor G5s because the speed
> gain just isn't worth the extra installation trouble, etc.
>
> Sean
>
>
--
__________
Simone Gianneri
On 3/6/06, Thomas Lumley <[EMAIL PROTECTED]> wrote:
> On Mon, 6 Mar 2006, Simone Giannerini wrote:
> > The environment will probably be either Unix/Linux or Solaris and the
> > amount of RAM will be 8-16Gb, depending on the number of processors.
> > My main concerns a
Dear Sean,
many thanks for the suggestion, I will have a look at the packages.
Regards,
Simone
On 3/6/06, Sean Davis <[EMAIL PROTECTED]> wrote:
>
>
>
> On 3/6/06 11:50 AM, "Simone Giannerini" <[EMAIL PROTECTED]> wrote:
>
> > Dear all,
> >
> &
compiled code ?
I would be very grateful if someone could give suggestions and/or
point me to information on the above mentioned issues.
Regards,
Simone Giannerini
--
__
Simone Giannerini
Dipartimento di Scienze Statistiche "Paolo Fort
gt; minor1.1
> year 2005
> month07
> day 29
> language R
>
>
> Thanks,
> Doug
>
>
> Douglas Grove
> Statistical Research Associate
> Fred Hutchinson Cancer Research Center
> Seattle WA 98109
>
> _
On 9/12/05, Simon Urbanek <[EMAIL PROTECTED]> wrote:
> Simone,
>
> On Sep 12, 2005, at 4:30 AM, Simone Giannerini wrote:
>
> > yes, CVF allocates automatic objects on the stack and apparently
> > there is no way of changing it.
>
> Yes, that's bad news
ler seems to be one of
the fastest but not the best on protection.
Simone Giannerini
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ve also considered changing compiler under Win, any
suggestions on the choice would be welcomed.
Many thanks again,
kind regards,
Simone Giannerini
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ger(N),S=as.double(0))$S;
[1] 3e+05 ## OK
.Fortran("foobis",as.integer(M),as.integer(N),S=as.double(0))$S;
## *** R GUI CRASHES WITH A STACK OVERFLOW ERROR ***
Any suggestion would be greatly appreciated, I apologize if this
problem has already been addressed previously, I di
78 matches
Mail list logo