Displaying 20 results from an estimated 4000 matches similar to: "simple question about variables...."
2006 Oct 16
4
grep function with patterns list...
Dear R-users,
is there a way to pass a list of patterns to the grep function? I
vaguely remember something with %in% operator...
Thanks,
St?phane.
--
"La science a certes quelques magnifiques r?ussites ? son actif mais
? tout prendre, je pr?f?re de loin ?tre heureux plut?t qu'avoir raison."
D. Adams
--
AGC website <http://www.genoscope.cns.fr/agc>
St?phane
2006 Mar 29
2
aggregate function....
Dear R users,
I have some trouble with the aggregate function. Here are my data
> daf
S_id AF_Class count... R_gc_percent S_length
5 8264497 1 30 0.48 35678
6 8264497 3 7 0.48 35678
8 8264554 1 31 0.51 38894
9 8264554 2 11 0.51 38894
10 8264554 3 1 0.51 38894
2007 Dec 04
2
Multiple stacked barplots on the same graph?
Dear R-Users,
I would like to know whether it is possible to draw several
stacked barplots (i.e. side by side on the same sheet)...
my data look like :
Cond1 Cond1' Cond2 Cond2'
Compartment 1 11,81 2,05 12,49 0,70
Compartment 2 10,51 1,98 13,56 0,85
Compartment 3 1,95 0,63 2,81 0,22
Compartment 4 2,08 0,17
2006 Jun 27
2
RMySQL...Can't initialize driver???
Dear R users,
I would like to query a MySQL database through R. I have installed
the latest required packages (RMySQL and DBI) in R (v2.3.1). A MySQL
server (v5.0.22) is running on my local machine but I can't initialize MYSQL
driver:
------------------------------------------------------------------------------------
> library("RMySQL")
Loading required package: DBI
>
2007 Jul 03
1
possible bug in ggplot2 v0.5.2???
Dear R-Users,
I recently gave a try to the nice package ggplot2. Everything went
well until I tried to add a smoother (using lm method for instance).
On the graphic device the regression line is displayed but not confidence
intervals as it should be (at least on ggplot website). I tried to do
the job on
both MS winXP and Linux i586: same result. Did anyone encountered this
problem? Did I miss
2007 Apr 16
1
2 samples KS-test...
Dear R-users,
I have some trouble to perform a 2-samples KS test.
Apparently my 2 samples are numerical (see below) but R
complains that the "y" term is not....
-------------------------------------------------------------------------------------
> str(subset(mydata,Identified=="NO",select=KD))
'data.frame': 2889 obs. of 1 variable:
$ KD: num -0.272 -0.080
2006 Mar 30
2
kmeans: "did not converge in 10 iterations"
Hi All,
I run function "kmeans" to cluster a matrix. But when the matrix size is
big enough, it keeps saying "did not converge in 10 iterations". Could
you explain what it means and if the result is wrong?
And the interesting thing is sometimes this warning happens when the
sample size is around 51200 x 6, sometimes it happens around 30000 x 6.
Does the warning related
2005 Feb 01
2
forcing a file to have the same uid from parent directory
Hi,
I have a little problem, sometimes the administrator must put a file in a
home directory. But the owner of this file is root, not the user which
have the home directory.
Example :
/rsrv/data1/home/toto toto Utilisateurs 0700
+ toto.id root Administrateurs 0700
+ fichier.xls toto Utilisateurs 0700
I would like to kown how I set up my
2003 Oct 07
1
userGroupRid and groupmapping
Hi !
When I create a user with samba-ldap tools, the userRid is calculated if
the -x option is set.
The userGroupRid is calculated too. But is the groumapping is enabled, the
SambaPrimaryGroupSID not correspond with SambaSID of groupmapping
Example :
Groupe "Domain Users" :
gidNumber 100
displayName Domain Users
objectClass sambaGroupMapping
sambaSID
2020 Jul 07
3
libssh2 is hanging during a file transfert
I'm trying to send data to a server with openssh 7.9p1, but it's hanging
somewhere.
the client stop at the line :
Jul 7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
after close
and after 5 minutes the client closes the connection, why ?
This is the trace of the server openssh : ( DEBUG3 level)
Jul 7 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_NONBLOCK
Jul
2005 Nov 11
1
A 'sweave' strange problem !!!
Hello list,
I have found a problem (bug?) with Sweave. I hope that someone could
help me.
Try this little example :
\documentclass[a4paper]{article}
\title{toto}
\author{toto}
\begin{document}
\maketitle
<<ni1, fig=T, eval=TRUE, echo=TRUE, debug=TRUE, results=verbatim,
include =FALSE, width=7, height=7>>=
a<-rnorm(1)+1
a
plot(1:10)
@
patati
<<ni2, fig=F, eval=TRUE,
2008 Jul 30
1
model mix problem. FALSE CONVERGENCE
Hi R users
I try to use the lme but I can?t!!!!!
My script is (some words in french, sorry!!):
rm(list=ls(all=TRUE)) #Efface tous les objets en m?moire pour ?viter des
erreurs
library(MASS) #Chargement des Librairies
library(car)
library(Hmisc)
library(tkWidgets)
library(svDialogs)
library(multtest)
library(nlme)
#Rep <- "C:/Documents and Settings/U3M/Bureau/steph/Scripts
2003 Jul 15
3
How to read in data
Hello,
I'm new to R and in the process of testing it
My first question: I fail to read in my data (ANSI toto.txt file, tab separated)
> test <-read.table("toto.txt")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `toto.txt'
> test <-
2010 May 25
1
using the name of an argument in a function
Hi all,
In a function, I need to get the name of a variable that has been used to
call the function.
For example, I want:
--- 8< ------
toto <- 3
fun <- function(y){
nameOfY <-deparse(substitute(y))
cat("name is ",nameOfY)
}
fun(toto)
# [1] name is toto
--- 8< ----
But deparse(substitute(y)) does not work all the time, especially when we
use generic function.
2014 May 09
1
samba4 : [kerberos part kinit work but no kpasswd
hi,
?
i have recently installed a samba 4 in a DC role.
The distribution is a debian jessie/sid, the version of samba is 4.1.7.
The server is globally working but there is some litle trouble.
on the server itself, i can do a kinit without probleme but if i try a kpasswsd, i obtain the following
?
root at station:/var/log/samba# kinit
Password for administrator at TOTO.FR:
root at
2008 Oct 12
1
Conditionally skip over "for(..){" and "}"??
Hi Folks,
I'm wondering if there's a secret trick to achieve the following.
I have some big code for analysis related to a named variable,
which will be one of several in the columns of a dataframe, and
I would like to be able to choose between a run for just one of
these variables, or a run which loops over them all.
So, for a single run, I could have the following kind of thing
in a
2008 Oct 29
2
Problem using samba with ldap
Hello,
I've just installed samba with ldap on a debian etch.
I have a problem when i attempt to create a user with the command
smbldap-useradd -a -P -c "toto DUPONT" -u 1001 toto and to log in with it
after.
I obtain this error :
[2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
pdb_get_group_sid: Failed to find Unix account for toto
[2008/10/29 17:35:26, 1]
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Here's a dummy example that I think illustrates the problem:
toto <- function() {
if (runif(1) < 0.5)
function(a) a
else
function(a,b) a+b
}
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
Error in fcn(1, 2) : unused argument (2)
How can you use the returned function, if you get different arguments?
2004 Aug 30
1
Pb when moved AD from win2000 to win2003 server
Hello,
I've a samba 3.0.2a on a mandrake 9.2 with double authentification. A
local authentification for users not on my domain and AD
authentification for users on my domain.
AD where on two win 2k servers.
One of these server was moved on win 2003 server and then the AD
authentification don't work any more.
Here is my smb.conf file.
getent passwd give only local users
[global]
2005 Sep 19
2
File access rights on a NFS share: please help !
Hello,
As I didn't get any answer, I'm posting my question again.
Sorry to insist but I'm very embarrassed...
I'm having troubles with access rights on files located on a NFS server
(Solaris 8).
The client machine is a Linux SuSe E9.0 and the samba suite version is
samba-3.0.20, directly installed from a Linux package.
The users connect to the Linux server without any Pb using