Displaying 20 results from an estimated 5000 matches similar to: "seemingly simple read.table question"
2005 Jul 22
1
could anyone help me out
Hello
I am a rookie ,I have got a silly question,I download
xen-2.0.6-src.tgz ,and put it in /tgh, and tar zxvf it ,got xen-2.0
in /tgh ,then cd /tgh/xen-2.0 ,and make dist ,then I got some
directories : xen ,linux-2.6.11-xenO,linux-2.6.11-xenU and so on ,but I
don`t get vmlinuz-2.6.11-xen0 or xenU ,
I don`t kown much about how to compile kernel , and I must have made
some silly mistakes ,any
2005 Jun 30
2
Question xm is xend running ??
thanks for help,
xend start is OK
but xm list failed as follows
How to fix it ??
I am look forward to your directions
[root@tgh Twisted-1.3.0]# xend start
[root@tgh Twisted-1.3.0]# xm list
(111, ''Connection refused'')
Error: Error connecting to xend, is xend running?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2010 Jun 02
6
How do you hangup a call without terminating your session?
Asterisk 1.6
CentOS 5.0
All -
I'd like to offer my users the ability to hangup a call by pressing **. I'm
using an attendant, so when ** is dialled I'd like processing to return to
the attendant so the user can place a subsequent call. I have setup
features.conf to include:
[featuremap]
disconnect => **
My Dial command looks like this:
2005 Dec 30
1
HABTM Dependency Question
I have a habtm relationship like the following:
Automobile <--> Options
What I want to do is when an option is deleted, make sure that there
are no Automobiles that still have that option. It seems simple
enough, but I am having a tough time with it. I believe Rails
automagically deletes the relationships when the automobile is
deleted, but not the other way around.
Any help would
2005 Jul 05
1
config file
Hi
I try to setup a domain ,but I don`t what to edit in config file,such
as [disk], I have read manual online ,but can anyone give me an example
anyone help me ?
[root@tgh grub]# xm create ttyconfig -c
Using config file "/etc/xen/ttyconfig".
Error: Error creating domain: vbd: Segment not found:
uname=file:/xen/ttylinux/rootfs
_______________________________________________
2009 Feb 05
4
eval and as.name
I'm sure there is a more general way to ask this question but how do
you use the elements of a character vector as names of objects in an
expression?
For example, say you have:
a = c(1,3,5,7)
b = c(2,4,6,8)
n=c("a","b")
and you want to use the names a and b in a function (e.g. sum)
sum(eval(as.name(n[1])),eval(as.name(n[2])))
works but
what is a simpler way to
2017 Jan 30
4
winbind -u works, getent passwd dont't work
Hello,
I have upgrade my Samba PDC to Samba AD and join a linux box to the AD.
Using short domain name -- FOO
Joined 'RTR-01' to realm 'foo'
Wbinfo get users
root at rtr-01:~# wbinfo -u | tail -1
FOO\user
getent passwd do not
getent passwd | tail -1
fetchmail:x:108:65534::/var/lib/fetchmail:/bin/false
root at rtr-01:~# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example
2000 Mar 15
3
1.2.3pre2 works great on Solaris 2.7 except man
Right out of the box (after I made Damien's LDFLAGS fix in configure) using
gcc-2.95.2. The only problem I have now is the man pages. I still can't
read them using Solaris nroff, and when I tried to build with
--with-catman=cat, I got the following during a make install:
/rtr/bin/install -c -m 644 ssh.[01].out /usr/local/man/cat1/ssh.1
Try `/rtr/bin/install --help' for more
2002 Dec 18
6
Can I build an array of regrssion model?
Hi,
I am trying to use piecewise linear regression to approximate a
nonlinear function. Actually, I don't know how many linear functions I
need, therefore, I want build an array of regression models to automate
the approximation job. Could you please give me any clue?
Attached is ongoing code:
rawData = scan("c:/zyang/mass/data/A01/1.PRN",
what=list(numeric(),numeric()));
len =
2010 Oct 18
1
Basic structure operations doubt
I'm doing these manipulations on the data frame and wondering why does R
have to remember historical data on my operation and not just keep the
needed info.
Probably a basic fundamentals of the way R handles data .. Pls point me to
the manual if possible ..
I have this Index data:
> head(NIFTY_INDX)
Constituents.list.of.S.P.CNX.Nifty X X.1
X.2 X.3
2011 May 17
1
simprof test using jaccard distance
Dear All,
I would like to use the simprof function (clustsig package) but the available distances do not include Jaccard distance, which is the most appropriate for pres/abs community data. Here is the core of the function:
> simprof
function (data, num.expected = 1000, num.simulated = 999, method.cluster = "average",
method.distance = "euclidean", method.transform =
2012 Dec 10
1
Can somebody suggest how to achieve following data manipulation?
Dear all,
Let say I have following data:
RawData <- matrix(1:101, nr = 1); colnames(RawData) <- c("ASD",
as.character(as.yearmon(seq(as.Date("2012-03-01"), length.out = 100, by
= "1 month")))); rownames(RawData) <- "XYZ"
CutOffDate <- as.Date("2012-09-01")
NewDateSeries <- as.character(as.yearmon(seq(CutOffDate, to =
2011 Sep 08
2
pie chart
Hi All,
I have txt file like :
$ cat data.txt
US 10
UK 12
Ind 4
Germany 14
France 8
> rawdata <- read.table(file='data.txt',sep='\t' , header=FALSE)
> rawdata
V1 V2
1 US 10
2 UK 12
3 Ind 4
4 Germany 14
5 France 8
I want to draw pie chart for the above data.
How to split rawdata into :
con <-
2005 Aug 04
2
Avoiding for loop
I understand that in R, for loops are not used as often as other
languages, and am trying to learn how to avoid them. I am wondering
if there is a more efficient way to write a certain piece of code,
which right now I can only envision as a for loop. I have a data file
that basically looks like:
1,55
1,23
2,12
...
that defines a matrix. Each row of the data file corresponds to a row
of the
2009 Jul 14
2
How to provide list as an argument for the data.frame()
Hi R -users,
i've a table as describe below. I'm reading the numeric value presented in this table to populate a list.
#table
#============
#X A B C
#x1 2 3 4
#x2 5 7 10
#x4 2 3 5
#============
rawData <- read.table("raw_data.txt",header=T, sep="\t")
myList=list()
counter=0
for (i in c(1:length(rawData$X)))
{
print (i)
2005 Feb 01
2
samba 2 smbpasswd + ldap - not binding properly
I've been having difficulty getting smbpasswd -a working as follows.
wiggum:/etc# smbpasswd -D 10 -a rtr
New SMB password:
Retype new SMB password:
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as "cn=manager,dc=test,dc=net"
Bind failed: Can't contact LDAP server
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap
2008 Mar 23
1
mapply
In an earlier post, a person wanted to divide each of the rows of
rawdata by the row vector sens so he did below but didn't like it and
asked if there was a better solution.
rawdata <- data.frame(rbind(c(1,2,2), c(4,5,6))) sens <- c(2,4,6)
temp <- t(rawdata)/sens
temp <- t(temp)
print(temp)
Gabor sent three other solutions and I understood 2 of them but not the
2006 Jul 12
4
Keep value lables with data frame manipulation
Dear R,
I import data from spss into a R data.frame. On this rawdata I do some
data processing (selection of observations, normalization, recoding of
variables etc..). The result is stored in a new data.frame, however, in
this new data.frame the value labels are lost.
Example of what I do in code:
# read raw data from spss
rawdata <- read.spss("./data/T50937.SAV",
2012 Jan 20
2
rbind()
Hello there,
Much thanks in advance for any help. I have a few questions:
1) Why do I keep getting the following error:
File1 <- read.csv("../RawData/File1.csv",as.is=TRUE,row.names=1)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file '../RawData/File1.csv': No such file or
2006 Oct 04
1
extracting nested variances from lme4 model
I have a model:
mod1<-lmer( x ~ (1|rtr)+ trth/(1|cs) , data=dtf) #
Here, cs and rtr are crossed random effects.
cs 1-5 are of type TRUE, cs 6-10 are of type FALSE,
so cs is nested in trth, which is fixed.
So for cs I should get a fit for 1-5 and 6-10.
This appears to be the case from the random effects:
> mean( ranef(mod1)$cs[[1]][1:5] )
[1] -2.498002e-16
> var(