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

2013-04-27 Thread Kjetil Halvorsen
ue is in the > directory name. Ye, that is correct! thanks, kjetil > My understanding was that this would eventually be merged into R rather > than released as a package. > > If you really want to use it you will need to modify the R sources to > unhide PRIMFUN and SET_PRIMFUN an

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

2013-04-26 Thread Kjetil Halvorsen
s what happens: kjetil@kjetil-HP-Pavilion-dv4-Notebook-PC:~/R/src$ sudo R CMD INSTALL pnmath_0.0-4.tar.gz * installing to library ‘/usr/local/lib/R/site-library’ * installing *source* package ‘pnmath’ ... ** libs gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fopenmp -fpic -O2 -pipe -g

Re: [Rd] Eigenvalue calculation of sparse matrices

2012-03-10 Thread Kjetil Halvorsen
to wrte a function doing matrix-vector multiplication, so the arpack methods itself is independent of the implementation of your sparse matrix. Kjetil On Fri, Mar 9, 2012 at 9:09 AM, Holger Diedrich wrote: > Dear all, > > I am currently working on the calculation of eigenvalues (and -ve

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, >> >> Agree

[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

[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
> You should not run configure or make with sudo.  If you need to > install system-wide, you only need to run make install under sudo, > like > ./configure > make > sudo make install I thougt so, and did so first. But that generated other errors!, which was killed by using sudo. kjetil

[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

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

2010-09-01 Thread Kjetil Halvorsen
hics grDevices utils datasets methods base other attached packages: [1] lattice_0.18-8 gstat_0.9-69sp_0.9-66 [4] RandomFields_1.3.41 loaded via a namespace (and not attached): [1] fortunes_1.3-7 grid_2.11.1tools_2.11.1 > Kjetil ___

Re: [Rd] proposed change to 'sample'

2010-06-21 Thread Kjetil Halvorsen
x)==1 > 2. say that length(x)==1 is deprecated > 3. have length(x)==1 throw an error > 4. wait > 5. give length(x)==1 a new meaning > Please implement this sequence! Kjetil > -- > Peter Dalgaard > Center for Statistics, Copenhagen Business School > Phone: (+45)381

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 e

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 number

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

2009-10-12 Thread Kjetil Halvorsen
sure what is gained by > including "..." as a formal argument now, and not just adding it in the > future if and when it is needed.) ¿Maybe it allows for other people to write methods? Kjetil > > In general, the use of ... arguments does add flexibility, but it takes away &g

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

2009-05-12 Thread Kjetil Halvorsen
ith core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: 3 Process R exited abnormally with code 70 at Tue May 12 22:41:55 2009 Kjetil On Tue, May 12, 2009 at 9:59 PM, Dirk Eddelbuettel wrote: > > On 12 May 2009 at 19:46, Ben Bo

Re: [Rd] License status of CRAN packages

2009-04-24 Thread Kjetil Halvorsen
t; BARD,BayesDA,CoCo,ConvCalendar,FAiR,PTAk,RScaLAPACK,Rcsdp,SDDA,SGP, > BayesDA has License: GPL version 2 or any later version what is unclear about that? Kjetil > > > > alphahull,ash,asypow,caMassClass,gpclib,mapproj,matlab,mclust,mclust02, > > > m

[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

[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
on *[1, Inf)*. Note the first interval should be (-Inf, -1) not (-Inf, 1) Kjetil [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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 w

[Rd] mgcv in R-2.4.0.alpha

2006-09-19 Thread Kjetil Halvorsen
i386-pc-mingw32 locale: LC_COLLATE=Spanish_Bolivia.1252;LC_CTYPE=Spanish_Bolivia.1252;LC_MONETARY=Spanish_Bolivia.1252;LC_NUMERIC=C;LC_TIME=Spanish_Bolivia.1252 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils"

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
ices" "utils" "datasets" [7] "base" other attached packages: lattice "0.13-10" Kjetil [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[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<http://cran.r-project.org/bin/windows/base/R-2.5.0dev-win32.exe> and while clickingh on this link gives error 404, object not found.

[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

Re: [Rd] buglet in hjelp("[<-")

2006-08-17 Thread Kjetil Brinchmann Halvorsen
Prof Brian Ripley wrote: > On Sun, 13 Aug 2006, Kjetil Brinchmann Halvorsen wrote: > >> Hola! >> >> The details section of help("[<-") contains in the Details section >> >> Subsetting (except by an empty index) will drop all attributes except &

Re: [Rd] rownames() problem with 0-extent arrays (PR#9136)

2006-08-16 Thread Kjetil Brinchmann Halvorsen
> between NULL (no names) and character(0) (names). > > It appears you don't agree with my premise, and I can see how a > discussion about naming things that don't exist could get rather > metaphysical. Yes. There has been quite a lot discussion about 'god

[Rd] buglet in hjelp("[<-")

2006-08-13 Thread Kjetil Brinchmann Halvorsen
Hola! The details section of help("[<-") contains in the Details section Subsetting (except by an empty index) will drop all attributes except names, dim and dinmanes. I guess dinmanes means dimnames! Kjetil __ R-devel@r-project.org

Re: [Rd] solving nonlinear equations

2006-08-08 Thread Kjetil Brinchmann Halvorsen
mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > This is really a question for r-help not r-devel. I was about to say that this was a question for a symbolic algebra system, but first tried in MuPAD 4.0, and left the machine alone. returning after 2 hours MuPAD was still grinding a

Re: [Rd] seq improperly increments dates (PR#9120)

2006-08-04 Thread Kjetil Brinchmann Halvorsen
> >> {which, BTW, *is* reproducible code; the bug report was only >> reproducible on the day it was posted because it sillily used >> Sys.date()} > > I think the obvious solution here is to ask R Core to move the earth > slightly closer to the sun, so the year is exac

Re: [Rd] How to capture t-score and p-values from t.test

2006-03-25 Thread Kjetil Brinchmann Halvorsen
ago, I wrote a helpfile for htest, but that was rejected, since "S3 classes are not usually documented". Kjetil > > > > In the example below, the t value is -4.0441 and the p-value is 0.006771 > > How can I assign these values to two variables, let's say

Re: [Rd] Installation of gmodels package (PR#8686)

2006-03-16 Thread Kjetil Brinchmann Halvorsen
ls' > ** Removing '/usr/lib64/R/library/gmodels' > > The downloaded packages are in > /tmp/Rtmpba5986/downloaded_packages > Warning message: > installation of package 'gmodels' had non-zero exit status in: > install.packa

Re: [Rd] Minumum memory requirements to run R.

2006-01-20 Thread Kjetil Brinchmann Halvorsen
Prof Brian Ripley wrote: > Quite a while back we set the goal of running R in 16Mb RAM, as people (I > think Kjetil) had teaching labs that small. It's a while since I actually har R used on such small machines, I think 64 MB is quite acceptable now. Kjetil > > Since then R

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 PRO

[Rd] buglet in ?StructTS

2005-11-28 Thread Kjetil Brinchmann Halvorsen
eps[t] ~ ... Kjetil __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] new.packages --- wishlist (PR#8239)

2005-10-21 Thread kjetil
new.packages() misses a destdir argument as in update.packages() and install.packages(). Adding this new argument is very little work, so please do it! Kjetil -- __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Tests of gcc-4.0.1

2005-08-05 Thread Kjetil Brinchmann Halvorsen
sypow does things (noncentral chisquare distribution) which are available at the R level. If problem if with the fortran I remove it completely. Kjetil > mvtnorm, party, subselect segfault >ade4 has an LAPACK error (similar to those seen before) > > > -- Kjetil Halvorsen.

[Rd] docu buglets for ar and friends

2005-07-26 Thread Kjetil Brinchmann Halvorsen
This is R2.1.1 The documantation opened by ?ar, section for returned value, does not document all the components of the returned list. In addition to the 13 components documented, it also contains the component $frequency This also applies to the help page opened by ?ar.ols -- Kjetil

[Rd] R CMD problem on windows XP (PR#8031)

2005-07-24 Thread kjetil
src * removing junk and everyrhing runs to completion. Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in this outgoing message. Checked by AVG Anti-Virus.