Re: [Rd] Lubuntu 13.04 raring ringtail: Problems installing pnmath_0.0-4

2013-04-27 Thread Kjetil Halvorsen
d re-compile. > > > > On 26/04/2013 19:39, Kjetil Halvorsen wrote: > >> Hola! >> >> This is 64bit Lubuntu 13.04, with R-3.0.0 installed from >> deb >> http://ppa.launchpad.net/**marutter/rrutter/ubuntu<http://ppa.launchpad.net/marutter/rrutter/ubunt

[Rd] Lubuntu 13.04 raring ringtail: Problems installing pnmath_0.0-4

2013-04-26 Thread Kjetil Halvorsen
Hola! This is 64bit Lubuntu 13.04, with R-3.0.0 installed from deb http://ppa.launchpad.net/marutter/rrutter/ubuntu raring main via synaptic. gcc --version gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 > sessionInfo() R version 3.0.0 (2013-04-03) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1]

Re: [Rd] Eigenvalue calculation of sparse matrices

2012-03-10 Thread Kjetil Halvorsen
Hola! This can be done with the CRAN package igraph, which contains (part of) the arpack library for computing only some eigenvalues/eigenvectors of sparse matrices. arpack gives you the option of computing a few of the smallest or a few of the largest eigenvalues/vectors. You will need yourself

Re: [Rd] Julia

2012-03-01 Thread Kjetil Halvorsen
Can somebody postb a link to the video? I cant find it, searching "Julia" on youtube stanford channel gives nothing. Kjetil On Thu, Mar 1, 2012 at 11:37 AM, Douglas Bates wrote: > On Thu, Mar 1, 2012 at 11:20 AM, Jeffrey Ryan > wrote: >> Doug, >> >> Agreed on the interesting point - looks like

[Rd] How to make a package with help pages in multiple languages?

2011-02-22 Thread Kjetil Halvorsen
This question was adsked on R-help-es, and got no responses there. the OP asked for help pages in english and spanish. Any ideas how this should be done? I guess there really should be a solution for any number of languages. Kjetil __ R-devel@r-project.

[Rd] proposal for new flag to R CMD INSTALL

2010-11-29 Thread Kjetil Halvorsen
For the purpose of helping in installing only parts of a package (in my case, the help system), R CMD INSTALL should accept a flag --no-check-deps Below is a diff for R-devel, svn revision53672 kje...@kjetil:~/R/R-devel/src/library/tools/R$ diff install.R.old install.R 116a117 >

Re: [Rd] problem building R from svn repo

2010-11-14 Thread Kjetil Halvorsen
> > Kasper > > On Sat, Nov 13, 2010 at 6:25 PM, Kjetil Halvorsen > wrote: >> Hola! >> >> I just changed my laptop to debian squeeze, >> downloaded R devel from svn repo, as described in the manual. >> >> Then I configured for building in a separate

[Rd] problem building R from svn repo

2010-11-13 Thread Kjetil Halvorsen
Hola! I just changed my laptop to debian squeeze, downloaded R devel from svn repo, as described in the manual. Then I configured for building in a separate build dir with: kje...@kjetil:~/R/Rbuilddir$ sudo ../svn/configure --- which succeeded, with: R is now configured for x86_64-unknown-li

[Rd] Looks like a bug in subsetting of a complicated object

2010-09-01 Thread Kjetil Halvorsen
I don't understand what is happening! I have a (large) object sim1, an matrix list with dim c(101,101) where each element is an 3*3 matrix. I am subsetting that with a matrix coo, of dim c(100,2), of unique indices, but the resulting object has length 99, not 100 as expected. Code reproducing the

Re: [Rd] proposed change to 'sample'

2010-06-21 Thread Kjetil Halvorsen
On Mon, Jun 21, 2010 at 1:57 AM, Peter Dalgaard wrote: > Hadley Wickham wrote: >>> I would be more inclined to make sampling from a vector the normal case, >>> and default x to say 1:max(n, size), forcing users to say sample(n=5) if >>> sampling from x=1:5 is desired. This could be a manageable ch

Re: [Rd] Consulta

2010-04-27 Thread Kjetil Halvorsen
Mariana: First, this post has nothing to do with future development of R, and so should be sent to R-help, not R-devel. Second, for questions in spanish you should consider the list R-help-es kjetil On Tue, Apr 27, 2010 at 1:38 PM, Mariana Gomez wrote: > Estoy escribiendo una función en R para

Re: [Rd] p-generalized normal distribution

2009-11-26 Thread Kjetil Halvorsen
There is a CRAN Task View for probability Distributions. take a look there! Kjetil On Tue, Nov 24, 2009 at 1:53 PM, Steve Kalke wrote: > Hello, > > I would like to know if there is an R-package available for computing the > density, distribution function, quantiles and random numbers of the > p-

Re: [Rd] weigths in nls (PR#13991)

2009-10-12 Thread Kjetil Halvorsen
see below. On Fri, Oct 9, 2009 at 1:35 PM, Tony Plate wrote: > This is expected behavior from the way nls() is written.  The nls() function > has a "..." argument, which means that additional arguments are allowed. > > Under "Arguments" the docs say: > |...|   Additional optional arguments. None

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-12 Thread Kjetil Halvorsen
I can reproduce this too. Run from within emacs: > v <- data.frame(1:3,2:4) > sessionInfo() R version 2.9.0 (2009-04-17) i686-pc-linux-gnu locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_

Re: [Rd] License status of CRAN packages

2009-04-24 Thread Kjetil Halvorsen
On Thu, Apr 23, 2009 at 4:59 PM, Ben Goodrich wrote: > Dirk Eddelbuettel debian.org> writes: > > As a non-exhautive list with possible misclassifications, cran2deb > currently > > has these packasges as 'maybe not free' and does not build them: > > > > BARD,BayesDA,CoCo,ConvCalendar,FAiR,PTA

[Rd] Gamma funtion(s) bug

2009-03-30 Thread Kjetil Halvorsen
With R 2.8.1 on ubuntu I get: > gamma(-1) [1] NaN Warning message: In gamma(-1) : NaNs produced > lgamma(-1) [1] Inf Warning message: value out of range in 'lgamma' Is'nt the first one right, and the second one (lgamma) should also be NaN? Kjetil [[alternative HTML version deleted]] __

[Rd] asypow cran package

2009-01-28 Thread Kjetil Halvorsen
Hola! I decided to abandon (orphane) the maintenance of the cran asypow package. If anybody is interested they can take over now! reason (among others): I do now my power calculations by simulation and find that more flexible and fast enough. Kjetil [[alternative HTML version deleted]]

[Rd] buglet in ?asin

2006-09-25 Thread Kjetil Halvorsen
This is fron R-2.5.0-to-be, windows XP The following excerpt from ?asin cannot be right: For asin() and acos(), there are two cuts, both along the real axis: *(-Inf, 1]* and *[1, Inf)*. Functions asin() and acos() are continuous from above on the interval *(-Inf, -1]* and continuous from below on

Re: [Rd] mgcv in R-2.4.0.alpha

2006-09-20 Thread Kjetil Halvorsen
Hola! See comments inline. On 9/20/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > > >>>>> "Kjetil" == Kjetil Halvorsen <[EMAIL PROTECTED]> > >>>>> on Tue, 19 Sep 2006 16:56:24 -0400 writes: > >Kjetil> Hola! &g

Re: [Rd] mgcv in R-2.4.0.alpha

2006-09-20 Thread Kjetil Halvorsen
On 9/20/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > > . . . Kjetil> [[alternative HTML version deleted]] >^ > > (I thought you would know better ...) > Martin In theory, yes, but I did´nt find a way to stop the html version to

[Rd] mgcv in R-2.4.0.alpha

2006-09-19 Thread Kjetil Halvorsen
Hola! I am sending this to the list since emails from me to Simon Wood has bounced earlier. I get: > library(tsDyn) Loading required package: mgcv Erro en `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package 'mgcv' could not be loaded > library(mgcv)

Re: [Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Kjetil Halvorsen
Thanks. I am quite sure I don't want pending on exit actions to be done! I will try to remember about the esc trick. Kjetil halvorsen On 9/19/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > > On Tue, 19 Sep 2006, Kjetil Halvorsen wrote: > > > This is from

[Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Kjetil Halvorsen
computation only stopped the current download, and then R imeadiaetely continued whit the next in the waitin list, so I had to kill R. I would be nice if this could be corrected so it really stopped all the waiting computastion! Kjetil halvorsen [[alternative HTML version deleted

[Rd] Matrix package in R-2.4.0alpha

2006-09-07 Thread Kjetil Halvorsen
In a newly downloaded version (today) of R-2-4-0alpha, with all packages from CRAN also installed today, I get: > library(Matrix) Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'Matrix' methods specified for export, but none defined: BIC, anova, c

[Rd] CRAN problem

2006-09-05 Thread Kjetil Halvorsen
Just now going to the CRAN download area, windows (95 or later), base, selecting development snapshot, there is listed a file R-2.5.0dev-win32.exe and while clickingh on this link gives error 404, object not found. Kjetil [[

[Rd] r2dtable

2006-08-27 Thread Kjetil Halvorsen
This is R-2.4.0-to-be, latest development version on windiws, pre-compiled from CRAN. I noticed doing ?r2dtable that r2dtable is placed in package base, where it clearly not belongs, referring to the sources it should live in stats. Why it is placed in base? Kjetil [[alternative HTML vers

Re: [Rd] prod(numeric(0)) surprise

2006-01-09 Thread Kjetil Halvorsen
But this thread seems to have pointed to some inconsistencies: > cumprod( numeric(0) ) numeric(0) > cumsum( numeric(0) ) numeric(0) shouldn't this give the same as prod() and sum() in this case? Same with cummin() and cummax(). Kjetil On 1/9/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > On