search for: danielberg

Displaying 7 results from an estimated 7 matches for "danielberg".

2007 Mar 27
3
Use of 'defineVar' and 'install' in .Call
Dear all, [system and version information below] I am trying to modify a C function for finding the root of an expression. The function is to be called from R as .Call with input parameters: f: expression for which we will find the root guesses: interval for the solution stol: tolerance rho: environment The original functions I use are: SEXP mkans(double x) { SEXP ans; PROTECT(ans =
2007 Mar 27
3
Use of 'defineVar' and 'install' in .Call
Dear all, [system and version information below] I am trying to modify a C function for finding the root of an expression. The function is to be called from R as .Call with input parameters: f: expression for which we will find the root guesses: interval for the solution stol: tolerance rho: environment The original functions I use are: SEXP mkans(double x) { SEXP ans; PROTECT(ans =
2006 Dec 22
1
building R-package under windows - error - in options("deafultPackages") was not found
...he cause? .First.lib <-function (lib, pkg) { library(adapt) library(copula) library(fBasics) library(mvtnorm) runif(1) library.dynam("mypackage", package="mypackage") } Any help or comments is most welcome. Thank you. Best wishes, Daniel Berg ----- danielberg.no [[alternative HTML version deleted]]
2007 Mar 27
7
Replacement in an expression - can't use parse()
Dear all, Suppose I have a very long expression e. Lets assume, for simplicity, that it is e = expression(u1+u2+u3) Now I wish to replace u2 with x and u3 with 1. I.e. the 'new' expression, after replacement, should be: > e expression(u1+x+1) My question is how to do the replacement? I have tried using: > e = parse(text=gsub("u2","x",e)) > e =
2006 Nov 21
2
Symbolic derivation using D in package stats - how do I properly convert the returned call into a character string?
...ll get a 3-dim char vector where there is something missing at the end of the second element. #----------------------------------- I am running R 2.2.1 on windows. Any help, suggestions or comments in general will be highly appreciated. Thank you. Best wishes, Daniel Berg --------------------- danielberg.no
2007 Jan 19
2
pcre library in R (PR#9319)
...; Can you please report in greater detail how you added the files pcre_ucp_searchfuncs.c and ucptable.c Mr. Kinney? I have downloaded the files but I don't know where to put them, under /WinR/R-2.4.0/src/extra/pcre? And to which makefile, Makefilw.win? Thank you. Best wishes, Daniel Berg -- danielberg.no
2007 Jan 19
2
Cross-compile errors under R-2.4.0 and R-2.4.1
...halted Hope this is illuminating and that the 'bugs', whether it is in R or in PCRE, can be resolved for the next release, this would be highly appreciated. Meanwhile, any suggestions as to how I can cross-compile successfully under R-2.4.1 are most welcome. Best wishes, Daniel Berg -- danielberg.no