Displaying 5 results from an estimated 5 matches for "incorreto".
Did you mean:
incorret
2013 Dec 16
2
vectorizaciones
...n1a){
for (j in 1:n2a){
LLa = LLa - vec1a%*%matrix(abs(P1a[i,]-P2a[j,]),
nrow=length(vec1a), ncol=2*Ka, byrow=TRUE)
}
}
return(sum(LLa))
}
producto(n1a,n2a,Ka,vec1a,P1a,P2a)
vproducto <- Vectorize(producto)
vproducto(n1a,n2a,Ka,vec1a,P1a,P2a)
# Error en P1a[i, ] : número incorreto de dimensiones
#...................
Y saludos
mm~
_______________________________
J. Miguel Marin
http://www.est.uc3m.es/jmmarin
Dep. de Estadistica
Universidad Carlos III de Madrid
2004 Nov 12
1
dyn.load problem
...that directory, but when
I use it in RGui with "Change dir" set to C:/dev-cpp :
>dyn.load("teste.dll") results:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "C:/Dev-Cpp/teste":
LoadLibrary failure: Par??metro incorreto. (Incorrect Parameter)
My C code is (extracted form Writing R Extension):
#include <R.h>
#include <Rinternals.h>
SEXP convolve2(SEXP a, SEXP b)
{
R_len_t i, j, na, nb, nab;
double *xa, *xb, *xab;
SEXP ab;
PROTECT(a = coerceVector(a, REALSXP)...
2004 Nov 07
2
Problem with dyn.load()
...d in that directory, but when I use it in RGui with "Change dir" set to C:/dev-cpp :
>dyn.load("teste") results:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "C:/Dev-Cpp/teste":
LoadLibrary failure: Parâmetro incorreto. (Incorrect Parameter)
I tried find help in R-help, but none answers my questions.
My doubts are: Why does it occur? How do I fix it? How I can include directives in RCMD -SHLIB, for example, conv.def file to mangling names? It is editing Makevars.win?
If anybody have time to answer my q...
2013 Dec 16
0
vectorizaciones
...ngth(vec1a),
> ncol=2*Ka, byrow=TRUE)
>
> }
>
> }
>
> return(sum(LLa))
>
> }
>
>
> producto(n1a,n2a,Ka,vec1a,P1a,P2a)
>
>
> vproducto <- Vectorize(producto)
>
> vproducto(n1a,n2a,Ka,vec1a,P1a,P2a)
>
> # Error en P1a[i, ] : número incorreto de dimensiones
>
>
> #...................
>
> Y saludos
>
> mm~
>
> _______________________________
>
> J. Miguel Marin
>
> http://www.est.uc3m.es/jmmarin
>
> Dep. de Estadistica
> Universidad Carlos III de Madrid
>
> _________________...
2010 Jul 07
4
can't open file
I have a text file log2.log encoded Ansi in Windows.
When I execute:
out <- read.zoo(readLines(con <- file("log2.log",
encoding="UCS-2LE")),FUN = as.chron)
have errors:
Error en file(file, "rt") : no se puede abrir la conexi?n
Adem?s: Mensajes de aviso perdidos
1: In file(file, "rt") :
s?lo fue usado el primer elemento del argumento