Displaying 20 results from an estimated 100 matches similar to: "How to read SPSS file in R"
2012 Jul 10
3
Need HELP: how find and use a csv file?
Hey,
I am having some problems with importing a csv file into R and then saving it for analyzing.
I got a csv file ( skater.csv) which i could read by typing: read.csv(file="/Users/kama/Desktop/skatter.csv", header=TRUE, sep=";")
However, when i enter: skatter.csv<-read.csv("skatter.csv", header=TRUE) i get this message:
Error in file(file,
2012 Jul 10
3
HELP me please with import of csv to R
Hey,
I am having problems with importing a csv file to R.
I could read the file by typing:
read.csv(file="/Users/kama/Desktop/skatter.csv", header=TRUE, sep=";")
However, i can not analyze the "skatter" - for ex, when i type: skatter
= read.csv("skatter.csv")
i get this message:
Error in file(file, "rt") : cannot open the connection
2012 Dec 02
6
Warning message: In scan(file, what, nmax...)
Dear R-users,
When i try -
Data1<-read.table("/Users/kama/Analysis/GDP10.csv",header=TRUE,sep=";") i
am getting this error: Warning message: In scan(file, what, nmax, sep, dec,
quote, skip, nlines, na.strings, :
number of items read is not a multiple of the number of columns
I wonder what Iam doing wrong. i guess it is something simple, however, i do
not understand
2018 May 29
1
How to generate a conditional dummy in R?
Dear Jim,
wow! It worked! Thanks a lot.
I did as you suggested and it worked well with the real data. Although it gave me this error: Error in if (!is.na(x$Y[i])) { : argument is of length zero. For some reason the X1 produced less observations than it is in the data. But it's not a big deal - I identified those cases and simply deleted from the data (it was countries that only appeared
2018 May 28
3
How to generate a conditional dummy in R?
Hi everyone,
I am trying to generate a conditional dummy variable ?X" with the following rules
set X=1 if Y is =1, two years prior to the NA. [0,0,NA].
For example, if the pattern for Y is 0,0,NA then the X variable is =0 for all the two years prior to the NA. If the pattern for Y is 0,1,NA or 1,0,NA then the X =1 . To be clear, if 1,1,NA then the X=1 that first specific year, it
2008 Jul 03
3
[PATCH 2/4] pvSCSI : Fix many points of backend/frontend driver
Please refer following Mr. Steven''s mail posted on June 24th.
Message-ID: <20080624131313.GB18379@weybridge.uk.xensource.com>
Message-ID: <20080624131256.GA18379@weybridge.uk.xensource.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
-----
Jun Kamada
2018 May 29
0
How to generate a conditional dummy in R?
Hi Faradj,
What a problem! I think I have worked it out, but only because the
result is the one you said you wanted.
# the sample data frame is named fkdf
Y2Xby3<-function(x) {
nrows<-dim(x)[1]
X<-rep(0,nrows)
for(i in 1:(nrows-2)) {
if(!is.na(x$Y[i])) {
if(x$Y[i] == 1 && any(is.na(x$Y[(i+1):(i+2)]))) X[i]<-1
if(i > 1) {
if(X[i-1] == 1) X[i]<-0
}
}
2008 Feb 18
14
[Patch 3/7] pvSCSI driver
Add vscsiif.h
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
Signed-off-by: Akira Hayakawa <hayakawa.akira@jp.fujitsu.com>
-----
Jun Kamada
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Nov 23
7
Why do i get "Error: unexpected input in "A<-lm(GandW ~ Authocracy, Data)"
Every time i insert : A<-lm(GandW ~ Authocracy;Data) i get this Error.
Iam using Mac. And i have checked that "Data" has been read correctly. The
same command with the same Data has been used by a friend who is using
Linux.
Thanks for help!
Stockholm university
Faradj
--
View this message in context:
2007 Oct 19
0
[PATCH 5/5] pvSCSI (SCSI pass through) driver
This patch is for modifying xend in order to use pvscsi driver.
(attach/detach HBA, etc.)
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
Signed-off-by: Akira Hayakawa <hayakawa.akira@jp.fujitsu.com>
-----
Jun Kamada
2008 Feb 18
0
[Patch 2/7] pvSCSI driver
Patch in order to make pvSCSI work on HVM.
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
Signed-off-by: Akira Hayakawa <hayakawa.akira@jp.fujitsu.com>
-----
Jun Kamada
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Oct 19
0
[PATCH 2/5] pvSCSI (SCSI pass through) driver
This patch is for backend driver.
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
Signed-off-by: Akira Hayakawa <hayakawa.akira@jp.fujitsu.com>
-----
Jun Kamada
_______________________________________________
Xen-devel mailing list
2007 Oct 19
0
[PATCH 3/5] pvSCSI (SCSI pass through) driver
This patch is for Makefile and Kconfig file for scsifront and scsiback
driver.
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
Signed-off-by: Akira Hayakawa <hayakawa.akira@jp.fujitsu.com>
-----
Jun Kamada
2014 Apr 25
3
Proper way to make Asterisk recognize SIP trunk of incoming INVITE when IP is not available
I am currently preparing a kamailio-asterisk combination. The asterisk installation uses realtime for SIP. The kamailio configuration was based on the reference at http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb but has been
heavily modified. Currently asterisk runs on localhost and only listens on SIP/RTP at 127.0.0.1 . Therefore, all of the SIP traffic appears to
2008 Jul 10
2
Minor synchronisation quibble in scsifront
I''ve been having a look through scsifront again, and I saw this bit:
ring_req->timeout_per_command = (sc->timeout_per_command / HZ);
ring_req->nr_segments = 0;
spin_unlock_irq(host->host_lock);
scsifront_do_request(info);
wait_event_interruptible(info->shadow[ring_req->rqid].wq_reset,
info->shadow[ring_req->rqid].wait_reset);
in
2008 Jul 03
3
[PATCH 1/4] pvSCSI : Add white list to SCSI command emulation
Add "white list" control to SCSI command emulation. Current setting
allows following mandatory and safe commands.
TEST UNIT READY
REZERO UNIT
REQUEST SENSE
FORMAT UNIT
READ BLOCK LIMITS
READ(06)
WRITE(06)
WRITE FILEMARKS
SPACE
INQUIRY
ERASE
MODE SENSE(06)
SEND DIAGNOSTIC
READ CAPACITY
READ(10)
WRITE(10)
REPORT LUN
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2010 Jul 30
0
ANNOUNCE: cifs-utils release 4.6 available for download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It has been a while since I've cut a new release for cifs-utils. This
one has more visible changes than were in the last few releases. Major
highlights:
- - documentation additions for the fsc option
- - mount.cifs deals with _netdev, mand and nomand options correctly now
- - a change in how mount.cifs handles the MS_MANDLOCK flag. It used to
2016 Apr 28
0
Robust clustered errors for probit ordinal regression analysis
Dear all,
I?ll need your help with obtaining robust clustered errors. I use polr command in MASS package m<?porl(y~x1+x2,data=mydata, method=probit). In the rms package, this is as simple as: clusterSE<?robcov(m, mydata$id). Is it possible to do something similar for polr object as well? Thank you very much
Best,
Faradj
[[alternative HTML version deleted]]
2009 Aug 05
0
dofus : Enripsa Soloing Guide
Most people (even Eniripsa players) see Eniripsa solely as support characters. They are support characters, but to limit an Eniripsa to purely support status, one never realises an Eniripsa's true power. Alot of guides will tell you that Eniripsa are "leech fairies" for most levels, that is not the case if built properly. The important thing to remember when building a solo Eniripsa
2008 May 30
5
[PATCH 1/4] pvSCSI driver
pvSCSI backend driver
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
-----
Jun Kamada
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel