Same behavior was noted on R 2.9.0 OS X and WIndows.
t(sapply(seq(0.01, .99, length=20), function(x) c(x,
length(agrep(Staatssekretar im
Bundeskanzleramt,Bundeskanzler,max.distance=x)
[1,] 0.01000
[2,] 0.061578950
[3,] 0.113157890
[4,] 0.164736840
[5,] 0.21631579
Full_Name: Maurice Berk
Version: 2.8.1
OS: RedHat Linux 64bit
Submission from: (NULL) (155.198.195.25)
The offending line in all 4 functions is:
width - switch(units, `in` = res, cm = res/2.54, mm = 1/25.4,
px = 1) * width
The case for mm is clearly incorrect
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){
Spencer,
see ?R_LIBS_USER
once R created C:\\Users\\sgraves\\Documents/R/win-library/2.9 for
you it is used as a library (since it is the default for R_LIBS_USER if
the latter is unset otherwise). Just delete the whole directory and it
won't be used further on.
Best,
Uwe
spencerg
Hi Fabio,
Your function myrbeta returns void so assigning the output isn't going
to work. Instead you need to call it like a FORTRAN subroutine.
Also, I added arguments for the parameters of the beta and moved the
fseedi and fseedo calls outside of the loop.
This is a pretty basic
I use a different editor so I only have general comments but
regardless of editor it
would be best to keep and use the library in your user space to avoid
any problems
with permissions on Vista.
Note that this is the same problem as on UNIX where you need root permissions
to modify the R library
Hello,
I want to wrote a R function which build an oblique decision tree. The
returned tree mix node providing from spliting variables as CART does, with
spatial line split. I'm a beginner in R but I have seen that the rpart
package provide a method = usersplits. I think that I can't use it
Hi Jon,
* On 2009-06-30 at 15:27 +0200 Jon Olav Skoien wrote:
I work on two packages, pkg1 and pkg2 (in two different projects). pkg1 is
quite generic, pkg2 tries to solve a particular problem within same field
(geostatistics). Therefore, there might be users who want to use pkg2 as an
Well...
My performance problems were in the pass-by-value semantics of R.
I have just changed my classes to inherit from .environment and then moved data
members from S4 slots to the .xData objects as Martin suggested.
That meant I could remove all my returns and assignments on all method