Displaying 20 results from an estimated 5000 matches similar to: "Need HELP: how find and use a csv 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 03
2
How to read SPSS file in R
Dear R-users,
I have som troubles with .sav file. How is it possible for us R-users to
read SPSS files. I know that is possible,
I tried the following:
> library(foreign)
> Corp<-read.spss("/Users/kama/Analysis/Corporation.sav", header=TRUE,
> sep=",")
Error in read.spss("/Users/kama/Analysis/Corporation.sav", header = TRUE, :
unused
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
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
}
}
2009 Mar 10
0
Tony Hawk 3 crashes on start
Installation is slow but works configuration also seems to work but CD check doesn't so I did what was necessary (to avoid saying something else...) but, when I start the game, I have the same problem than this german guy had :
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
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
2010 Dec 10
2
spatial clusters
Dear all,
I am looking for a clustering method usefull to classify the countries in
some clusters taking account of: a) the geographical distance (in km)
between countries and b) of some macroeconomic indicators (gdp, life
expectancy...).
Are there some packages in R usefull for this?
Thanks a lot for your help,
Dorina
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>
2011 Apr 14
1
Tony Hawk's Pro Skater 2 - keyboard input seems to hang?
Hello,
I installed wine from the Ubuntu Lucid repositories (wine-1.2.2) and successfully installed THPS2.
But after I launch the game, I cannot navigate leftwards in the menu. In other menus the selected item scrolls down (like when a button on a console controller is stuck).
With some trouble I can get into a skate session, which runs perfectly, but my skate character keeps on turning left
2010 Oct 29
1
Updating asteriskcdrdb with uniqueid field from Master.csv, Master.csv.1....Master.csv.5 - Must I bring all files together first?
Hi Everyone,
Just noted that PBXinaFLASH failed me again on yet something else. The
uniqueid field didn't update on the asteriskcdrdb in the past few months but
it is available in the .csv files in /var/log/asterisk/cdr-csv/*.csv
I have already re-did the asterisk-addons install with correct parameters to
include future calls "uniqueid" in the table (I have no clue why these