Displaying 20 results from an estimated 3000 matches similar to: "Samba Migration"
2008 Jul 03
1
randomForest.error: length of response must be the same as predictors
My data looks like:
A,B,C,D,Class
1,2,0,2,cl1
1,5,1,9,cl1
3,2,1,2,cl2
7,2,1,2,cl2
2,2,1,2,cl2
1,2,1,5,cl2
0,2,1,2,cl2
4,2,1,2,cl2
3,5,1,2,cl2
3,2,12,3,cl2
3,2,4,2,cl2
**The steps followed are:
trainfile <- read.csv("TrainFile",head=TRUE)
datatrain <- subset(trainfile,select=c(-Class))
classtrain <- (subset(trainfile,select=Class))
rf <- randomForest(datatrain, classtrain)
2008 Jul 02
1
randomForest training error
While trying to train randomForest with my dataset, I am ending up with the
following error
Error in randomForest.default(datatrain, classtrain) :
length of response must be the same as predictors
My data looks like:
A,B,C,D,Class
1,2,1,2,cl1
1,2,1,2,cl1
3,2,1,2,cl2
3,2,1,2,cl2
3,2,1,2,cl2
3,2,1,2,cl2
3,2,1,2,cl2
3,2,1,2,cl2
3,2,1,2,cl2
3,2,12,3,cl2
3,2,1,2,cl2
Actual dataset has around 4000
2005 Jul 06
1
Error message NA/NaN/Inf in foreign function call (arg 6) when using knn()
I am trying to use knn to do a nearest neighbor classification. I tried using my dataset and got an error message so I used a simple example to try and understand what I was doing wrong and got the same message. Here is what I typed into R:
try
[,1] [,2] [,3] [,4]
r "A" "A" "T" "G"
r "A" "A" "T" "G"
f
2011 Sep 14
1
S4 method dispatch
List,
In order to get rid of some old, unreadable S3 code in package sp, I'm
trying to rewrite things using S4 methods. Somewhere I fail, and I
cannot sort out why. In order to isolate the problem, I created two
functions, doNothing<- and dosth, and both should do nothing. The issue
is that in most cases they do nothing, but in some cases dosth(obj)
changes the class of obj and breaks with
2000 Mar 31
1
R: one bananna aov() question
Hello world,
I'm trying to do an
anova on data in data.set, dependent variable is a column
named "dep.var", grouping variable is in a column called "indep.var", and
is.factor(indep.var) is TRUE...
why can't I just do aov(dep.var ~ indep.var, data = data.set)?
What have I done to deserve this?! What gives? Am I missing something
totlly obvious?
R-base-1.0.0-1,
2011 Jun 21
1
plot error bars on skyline plot
Hi,
I have generated a skyline plot of a tree in newick format using "ape".
How can I plot the error bars for this graph?
I only have the the tree data.
un<-"((((8.1:0, 20.1:0):0, 6.1:3):123, (((((35.1:0, (22.1:0, (43.1:1,
29.1:0):0):0):4, 25.1:6):0, ((42.1:0, 21.1:0):3, (39.1:0, 2.1:0):3):1):8,
(3.1:0, 7.1:0):8):48, (((((15.1:0, 14.1:0):0, 11.1:0):0, 37.1:0):0,
2004 May 05
1
Segfault from knn.cv in class package (PR#6856)
The function knn.cv in the class package doesn't have error checking to
ensure that the length of the classlabel argument is equal to the number
of rows in the test set. If the classlabel is short, the result is often
a segfault.
> library(class)
> dat <- matrix(rnorm(1000), nrow=10)
> cl <- c(rep(1,5), rep(2,5))
> cl2 <- c(rep(1,5), rep(2,4))
> knn.cv(dat, cl)
[1] 2
2008 Mar 18
3
Partition data into clusters
Greetings R-users,
I have been using the fpc package in R to cluster my data. Speficically I am
using kmeansruns clustering.
I would like to know how I use R to partition data into clusters. What I am
doing is as follows.
# Use csv file as input
#####################
wholeset = read.csv("Spellman800genesImputed.csv")
# exclude first col (gene names)
##########################
2005 Jun 10
4
data.frame to character
Hi,
Excuse me for this simple question.
How to convert as.data.frame to as.character?
?data.frame
> L3 <- LETTERS[1:3]
> L10 <- LETTERS[1:10]
> d <- data.frame(cbind(x=c("XYZ"), y=L10), fac=sample(L3, 10, repl=TRUE))
> d
x y fac
1 XYZ A A
2 XYZ B A
3 XYZ C A
4 XYZ D A
5 XYZ E B
6 XYZ F C
7 XYZ G A
8 XYZ H C
9 XYZ I B
10 XYZ
2006 Apr 22
1
Setup tinc for "Road warrior"?
Hi:
I'm having some trouble connecting to the tinc VPN I've setup for my client.
Basically I would like to connect to the LAN of my client (as I'm currently
thousands of miles away and won't be back for a month and a half) to continue
with the development of an in-house ERP.
I've setup the router (a Linksys router running the stock firmware) to forward
both TCP and UDP
1999 Dec 16
2
R question
I have the following question, which is elementary but I am unable to
answer.
In a for(i=10) loop, I am trying to represent the 10 1-dimensional vectors
l1, l2,... l10 by some expression that will run through these values.
ie. soppose I want to add l1 + ... + l10
I could go
x <- 0
for(i in 1:10){ x <- x+ l(i)}
This should return x to be the sum of the 10 li's for i from 1 to 10
2010 Aug 01
0
How to connect R with SAP/ERP
>
> Anyone knows if there is a way to connect R with the ERP SAP?
Very big question.
An ERP is an accounting system typically for a large business or
governmental entity (ERP = "Enterprise Resource Planning" system). Modern
ERPs are typically built on top of (multi-user) relational data base
management systems (RDBMS).
R has many ways to connect to relational databases -- see
2006 Apr 06
3
convert a data frame to matrix - changed column name
I have a question, which very easy to solve, but I can't find a solution.
I want to convert a data frame to matrix. Here my toy example:
> L3 <- c(1:3)
> L10 <- c(1:6)
> d <- data.frame(cbind(x=c(10,20), y=L10), fac=sample(L3, + 6, repl=TRUE))
> d
x y fac
1 10 1 1
2 20 2 1
3 10 3 1
4 20 4 3
5 10 5 2
6 20 6 2
> is.data.frame(d)
[1] TRUE
> sapply(d,
2011 Apr 08
0
Fedena installation: Error
am getting error:
rake db:migrate
(in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0)
rake aborted!
can''t activate , already activated prawn-0.11.1
Where is problem?
Fedena is Ruby on Rails (RoR) application.
My installation log is below signature.
mkdir ERP
cd ERP
wget http://202.164.53.122/ERP/ERP_Campus.tar.gz
tar -zxvf ERP_Campus.tar.gz
cd
2006 Jan 06
1
DHCP and browsing problem
Hi all,
I have got some problem with samba and the browsing.
I've got a small network with 4-5 computers wich are using windows xp home and pro.
There isn't domain, just a workgroup.
The samba serves the master browser and wins functions.
The problem came forward when the clinents get ip address via dhcp. The
situation is the following: the clients are dissapearing slowly from the browse
2005 Mar 16
0
Installing Microsoft Agent on Linux thru wine???
Hi,
Another query. I have a VB Based ERP that my company has developed. I need to install that and run that thru wine. The ERP uses Microsoft Agent to display an animation on the Login Screen. I was able to install the ERP on Linux thru wine without any problems. After that, when I tried to install the Microsoft Agent from the same setup CD, it failed to install. Further, since the login screen
2011 Apr 16
2
ERP Application working slow & toolbar missing in applicatio
Hi,
i installed dotnet framework & Oracle 11g Runtime client,
My ERP Applicaton working good in wine but two issue is there
One is, its access database from oracle server, listed database i can not
see when i scroll it, its take 5 to 6 minutes, and I cann't see tool bars in ERP application.
please help
2008 Jan 19
1
How do we get two-tailed p-values for rlm?
How do we get 2-tailed p-values for the rlm summary?
I'm using the following:
> fit <- rlm(oatRT ~ oatoacData$erp, psi=psi.bisquare, maxit=100,
na.action='na.omit')
> fitsum <- summary(fit, cor=F)
> print(fitsum)
Call: rlm(formula = oatRT ~ oatoacData$erp, psi = psi.bisquare, maxit = 100,
na.action = "na.omit")
Residuals:
Min 1Q Median
2006 May 22
1
Samba client file locking
Hello,
I am trying to work out the file locking mechanism on our Samba server when
connecting from Linux clients. I am getting some strange behaviour in a
mixed Linux/Windows environment when multiple clients open/lock the same
file for writing. Everything seems fine when a Windows client creates the
lock, but if a Linux client creates the lock, we get either two or more
Linux clients being able
2004 Jan 11
3
newbie question on contrasts and aov
I try to move from SPSS to R/S and am trying to reproduce the results of SPSS
in R. I calculated a one-way anova with "spk" as experimental factor and erp
as depended variable.
The result of the Anova are the same concearning the mean square, F and p
values. But I also wanted to caculate the contr.sdif(4) contrast on spk. The
results are completely different now. I hope anybody can