Displaying 20 results from an estimated 200 matches similar to: "Logit Estimation with Panel Data"
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
2013 Aug 25
3
POSIXct bug for conversion of specific combinations of date and time
Hello everyone,
I'm having a big trouble with which seems to be a bug in as.POSIXct()
date-time conversion. I have massive GPS datasets in which each location
has it's own date and time attribute. As I convert them to POSIXct format,
1300 cases (of about half a million locations) simply return NA values.
I picked up a small sample of failed cases and normal cases to demonstrate
the
2023 Dec 08
2
regarding CCA plot
Hii rstudio members
I am learning rstudio, For my manuscript I am trying to plot CCA using
species and environmental data. But I am getting error like
Error in cca.default(sptrans, envtrans) :
all row sums must be >0 in the community data matrix
*My code is like *
library(vegan)
library(ggplot2)
library(dplyr)
rassspec<-read.csv("C:/Users/hp/Desktop/R_data/rassspec.csv",
2017 Feb 03
1
LDAP problem
Hello Vinicius,
I did it and this was the answer:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636" -w '*********' -D "cn=administrator,cn=users,dc=lucas,dc=ufes,dc=br" -x -b "dc=lucas,dc=ufes,dc=br" -d1
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636)
ldap_create
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636/??base)
ldap_sasl_bind
2017 Feb 03
2
LDAP problem
Hello everyone,
I'm using Samba4 in my CentOS server, and it was just fine. I could always use ldap commands like 'ldapsearch' and 'ldapadd' and I had no problem.
But one day, I don't know why, I couldn't use more ldapsearch or ldapadd. They return this:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
I'm using the same command as always, like:
2011 Dec 22
3
delete all columns with all values equal to zero
Hello all:
I'm sure this is quite simple, but I tried several options and I still can't
get I right.
I've got a data.frame and I want to delete all columns of which the sum is
zero.
Any ideas? Thanks,
Frederico Mestre
[[alternative HTML version deleted]]
2017 Feb 13
1
LDAP problem
Hello Rowland,
You shouldn't use 'ldaps' and ':636', in fact you shouldn't use ':636'
at all.
OK, mini-howto coming up ;-)
The DC is dc1.samdom.example.com
The AD domain DN is dc=samdom,dc=example,dc=com
There is this line in the DC smb.conf: tls certfile = tls/cert.pem
The reverse dns zone has been created and operational
The client is
2012 Apr 10
2
Error: cannot allocate vector of size...
Hello:
While running R doing the analysis of my data I (using packages such as
BIOMOD or e1071) get the following error as a result of several of my
analysis:
Error: cannot allocate vector of size 998.5 Mb
In addition: Warning messages:
1: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) :
Reached total allocation of 4095Mb: see help(memory.size)
2: In array(c(rep.int(c(1,
2017 Feb 13
1
LDAP problem
Hello Brian,
Sorry to my late answer, I did what you suggest previously
This error suggests a problem with your certificate. If it used to work
previously, then check it hasn't expired.
openssl s_client -connect devsamba.lucas.ufes.br:636
copy-paste the certificate into a pem file, including begin/end lines
openssl x509 -in mycert.pem -noout -enddate
And check your root CA
2017 Jan 05
1
Samba4 + Winbind
Hello Marc,
Thanks for your documentation.
Well I followed what you wrote, perhaps my wbinfo command fails when I try to test the connectivity.
# wbinfo --ping-dc
checking the NETLOGON dc connection failed
failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not ping our DC
My smb.conf is now this:
# Global parameters
[global]
netbios name = DEVLUCAS1
realm =
2017 Jan 04
3
Samba4 + Winbind
Rowland,
I looked at Samba wiki, but it doesn't helped me as I wanted, maybe I'm doing something wrong.
This is what I tried to do:
yum install pam*
./configure.developer --with-pam
make && make install
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so
ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2
modified my nsswitch.conf
passwd:
2015 Sep 29
1
Error possibly related with environments/namespace
Hello all,
I've got a problem with a function in a R package I've developed
(MetaLandSim).
One of the outputs of my function is the plotting of four images (combining
a graph and a map). This plotting is made in a graphical device, with the
graph in one side and the map in the other.
My function works perfectly fine until it has to plot the map. Then it
stops and I get an error.
2009 Jun 15
3
MS-VAR Introduction
Dear R community,
I'm starting to learn the MS-VAR methodology and I would like to know what I
need to download (e.g. packages) to make MS-VAR estimations using R.
Best,
Henrique C. de Andrade
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge
[[alternative HTML version deleted]]
2008 Oct 21
4
subscripting a one column matrix drops dimension
Hi all,
Why subscripting a one column matrix drops one dimension?
> x<- matrix(rnorm(100), ncol=1)
> str(x)
num [1:100, 1] -0.413 -0.845 -1.625 -1.393 0.507 ...
> str(x[20:30,])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
> str(x[20:30])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
This breaks:
> cov(x)
[,1]
[1,] 0.9600812
>
2012 Sep 03
2
adding points to a point pattern
Hello all:
Is there any way to add points to a point pattern, while keeping a given
minimum distance amongst this new points and the pre-existing points?
Thanks,
Frederico
[[alternative HTML version deleted]]
2014 Jan 31
2
manipulación de caracteres
lo que necesito es
"98989","121212"
y no :
paste(unlist(strsplit(char,",")),collapse=",")
[1] "98989,121212"
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1, P.O. Box 3051
FO-110 Tórshavn
Faroe Islands
Tel : (+298) 353900
Fax: : (+298) 353901
e-mail: luisr@hav.fo
2009 Aug 31
2
Problem in matrix definition?
I'm implementing a function to compute the moore-penrose inverse, using a code from the article: Fast Computation of Moore-Penrose Inverse Matrices. Neural Information Processing - Letters and Reviews. Vol.8, No.2, August 2005
However, the R presents an error message when I use the geninv.
The odd thing is that the error occurs for some arrays, however they have the same size. And the R
2009 May 16
1
I can't update
To whom it concenrt
I am trying to update the R program 2.9
This is the message that the program give is:
> update.packages(ask='graphics')
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
'lib = "C:/PROGRA~1/R/R-29~1.0/library"' is not writable
Erro em install.packages(update[instlib == l, "Package"],
2011 Sep 03
1
about raw type
Dears
I am searching information about how to use raw data, when it is used,
didn't find to much information on R help. Any suggestion on links about
this theme?
atte
--
Luis Iván Ortiz Valencia
Doutorando Saúde Pública - Epidemiologia, IESC, UFRJ
Estatístico Msc.
Spatial Analyst Msc.
[[alternative HTML version deleted]]
2012 Jul 30
1
cluster of points
Hello:
What I want to do is quite simple, but I can't find a way.
I have a data frame with several points (x and y coords). I want to add
another column with cluster membership. For example aggregate all the points
that stand within a distance of 40 from each other.
I've tried using "nncluster" from the package nnclust, but the results are
not correct, for some