search for: koni

Displaying 11 results from an estimated 11 matches for "koni".

Did you mean: koji
2009 Jul 21
1
strange bug? with R CMD check
...the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. Here is the contents of the DESCRIPTION: Package: safeBinaryRegression Version: 0.1-2 Date: 2009-07-01 Title: Safe Binary Regression Author: Kjell Konis <kjell.konis at epfl.ch> Maintainer: Kjell Konis <kjell.konis at epfl.ch> Depends: R (>= 2.9.1), lpSolveAPI (>= 5.5.0.14) LinkingTo: lpSolveAPI Description: Overloads the stats::glm function so that a test for the existence of the maximum likelihood estimate is computed as p...
2009 Jun 30
3
Matrix with random number
Hello! I have a program in Fortran and would like to build a matrix with random numbers, I have a function in C. However, I have problems with the use of function in R. Code to compile: R CMD SHLIB mat.f myrbeta.c -o func.so Code in C. #include <R.h> #include <Rmath.h> void F77_SUB(fseedi)(void){   GetRNGstate(); } void F77_SUB(fseedo)(void){   PutRNGstate(); } void
2010 Sep 29
1
location of Rconfig.h when using architecture-dependent subdirs
Hello, I just tried configuring R to use architecture-dependent subdirs $ r_arch=x86_64 ./configure --prefix=/u/smat/konis/testdir on a Debain Squeeze box $ uname -a Linux smapc007 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686 GNU/Linux After building and installing, the Rconfig.h ended up in .../lib/R/include/x86_64 but R.h still includes it as #include <Rconfig.h> I noticed that the CRAN b...
2008 Sep 02
1
the %ProgramFiles% variable
Hello, I want to use the %ProgramFiles% variable in a Sys.setenv (R 2.7.2, Windows) but it always seems to get handled literally. For instance, in cmd.exe I get what I want C:\Documents and Settings\user>echo %ProgramFiles% C:\Program Files but in R > system("echo %ProgramFiles%") %ProgramFiles% nope. Is there a way to use %ProgramFIles% or get the corresponding
2005 Jun 18
1
how 'stepAIC' selects?
> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of B??kony Veronika > Sent: 18 June 2005 14:00 > To: r-help at stat.math.ethz.ch > Subject: [R] how 'stepAIC' selects? > > > Dear all, > Could anyone please tell me how 'step' or 'stepAIC' works? Does it >
2005 Jul 03
1
code for model-averaging by Akaike weights
Dear all, does anyone have r code to perform model-averaging of regression parameters by Akaike weights, and/or to do all-possible-subsets lm modelling that reports parameter estimates, AICc and number of parameters for each model? I have been looking for these in the archive but found none. (I am aware that many of you would warn me against these methods advocated by Burnham and Anderson
2006 Aug 07
1
failed to load gplots
Hi everyone! I get the following message anyhow I try to load the package gplots: Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : ReadItem: unknown type 241 Error in library(pkg, character.only = TRUE) : package/namespace load failed for 'gplots' Could any of you tell me what goes wrong? (I am using R 2.0.1. on Windows) Thanks a lot: ----------
2011 Aug 11
1
matrix correlations with different packages
Dear all, I'm calculating matrix correlations with permutation tests and I got this funny result. All correlation coefficients are the same with mantel.test {ncf} and pcol {simba} but the two functions yield dramatically different p-values (using the same number of permutations). Could anyone please enlighten me what is causing the difference and which result I can trust? (My matrices
2008 Aug 07
1
string comparison
Hi, I have a package where I do things like this a lot: if(strncmp(CHAR(asChar(Scategory)), "chance", 6) == 0) category = h_category_chance; else if(strncmp(CHAR(asChar(Scategory)), "utility", 7) == 0) category = h_category_utility; else if(strncmp(CHAR(asChar(Scategory)), "decision", 8) == 0) category = h_category_decision; else
2009 Feb 16
1
demo enhancement
Hello, I have a package for working with Bayesian networks (RHugin - on R- Forge for those interested). It contains a function RHExample that does the same thing as the demo function in the utils package except that it does not display any output in the R console. I use it to build simple networks in the examples section of my .Rd documentation files. Anyway, I thought it would be useful
2012 Apr 10
0
Revolutions Blog: March Roundup
I write about R every weekday at the Revolutions blog: http://blog.revolutionanalytics.com and every month I post a summary of articles from the previous month of particular interest to readers of r-help. In case you missed them, here are some articles related to R from the month of March: New features in the latest version of ggplot2 include choropleths, violin plots, and improved annotations: