Displaying 20 results from an estimated 1000 matches similar to: "Change directory to implement same programes"
2009 Oct 02
1
Please Help me!
Hi, R-users,
I have a problem: Because there are few files which can't be readed
into R completely, so on the following subsequence programme, I use
write.table, which creates the "NA" files for those incomplete files
autimatically.
I don't want those NA files.
My programes formats looks like:
name_c<-Sys.glob("C:/Documents and Settings/lma/My
2009 Oct 01
2
The problem of readLines
Dear R-users,
I use "readLines" to read data, but when processing the large data set, there are few files which can not be readed in:
48: In readLines(name_c[i]) ... :
incomplete final line found on 'C:/Documents and Settings/lma/My Documents/habitdata/244052900243997/calllog/calllog_log-20050505T121611.txt'
...
Whats the problem about this?
Regards,
Tammy
2009 Sep 29
1
How to parsing data like this in R
Hi, R-users,
I met a problem:
Items:[Anna 'moi =) akku loppu joskus 4ltä. Kestää kauan nää..'\tAmer, Tuusula (0:20)\t20\t12\t16\t00\t00\t11]/Anne 'Ei jakoa,uus päivä muistio et 4n niin peruin. Hups'\t (0:16)\t0\t12\t18\t00\t00\t11/Elina 'Konsertissa. En tod. vastaa teille'\tEtu-Töölö, Helsinki (2:40)\t24\t12\t18\t00\t00\t11
I want to parsing the above data into the
2013 Mar 15
3
How to list the all products' information of the latest month?
Hi,
I have data frame like this:
Product Price Year_Month PE
A 100 201012 -2
A 98 201101 -3
A 97 201102 -2.5
B 110 201101 -1
B 100 201102 -2
B 90 201103 -4
How can I achieve the following result
2009 Sep 22
2
Manipulate directory-help
Dear R-users,
I have a problem:
I have many files in the directory:"C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha"
I want to copy those files into the new directory: "C:/Documents and Settings/lma/My Documents/Juha/book" (<-use "paste"), I first create the directory using dir.create, but it looks doesnt work.
How do I implement
2009 Sep 21
3
Create directory and copy files in R
HI, All R users,
My problem is:
> fn
[1] "C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha/book_log-20041210T095019.txt"
> dpath
[1] "C:/Documents and Settings/lma/My Documents/Juha/book"
I want to make a function "cyfun" to copy all files in "dir" to "deskdir" but I always got the following problem:
Error
2013 Mar 28
2
How to search in each excel in my working dir and extract part information of one product in each country?
Hello,
I have created many excel files in my working dir. each excel file contain one country's data. In the excel, I have dataframe in sheet1, where each product and its relative information is
in each row as following:
Product PE Retail_price_Band Country Model_Fit
A -2.5 0-50 CN 84%
B -2.1 51-100
2013 Jan 22
3
How to align group based on the common values of two columns in r
HI,
I met this problem:
I have the feature data frame:
Feature OS
4 2
4 1
4 3
1 2
4 1
what I want to do is to autimatically create one more column called "group":
Feature OS Group
4 2 1
4 1 2
4 3
2013 Mar 04
3
Excel User interface for R
HI,
Assume I have the data frame generated from R as the following:
Product Price market_share
A 100 10%
B 110 9%
C 120 20%
D 90 61%
What I want to do is to have this kind of excel user interface by changing price of certain products, to get the impact of market share generated from R:
if I change A
2012 Dec 13
2
How to create multiple country's data into multiple sheets of one excel
HI,
I have large dataset of many countries. I have written the program to run through each country to generate one output for each country. I want to put the output like this:
one sheet has output for one country. How do I achieve it by r.
I have tried this:
library(xlsx)
write.xlsx(nnn, "vn.xlsx", sheetName="Sheet1") [1]
but when I change sheetName="Sheet2"
2012 Sep 26
3
map two names into one
Dear R user:
I have got the following problem:
I have imported two data sets into R: one set includes price information, another one includes volume information. but I noticed the wrong data order problem in the product name,
for instance,
in one data set,
"GALAXY ACE S 5830"
in another one,
it is "S 5830 GALAXY ACE"
both represent same product. how do i map two name
2009 Mar 05
2
File checking
Hello,
How can I check if file is empty in R, if it is, then jump out and read next file; if it isn't, then read through?
Thanks a lot for any help.
Tammy
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
[[alternative HTML version deleted]]
2009 Mar 17
4
Merging
Hi, All.
I have a data frame with the part as :
.....
142 2006-02-22 16:28:18 useractivity_act 8 0
143 2006-02-22 16:28:26 4 2 0
144 2006-02-22 16:28:28 3 3 0
145 2006-02-22 16:28:31 4 4 1
146 2006-02-22 16:28:35 3 159 0
147
2009 Sep 01
3
data frame
HI, R user,
I generate the vectors with the same length. I want to put each vector into each column of data frame. Why it doesnt work`?
rm<-data.frame()
for(a in 1:6){
rm[,a]<-getmeasure(p1,a,speech)
}
thanks a lot
Tammy
_________________________________________________________________
Share your memories online with anyone you want.
2009 Aug 24
2
Generate random sample interval
Hi, R users,
I have a problem about how to generate random sample interval from a duration.
For example, during a time duration 0-70s, I want to generate a sample which last 10s.
the sample could be 0-10 or 30-40s or 25-35s etc
How could I do it in R`??
Thanks a lot.
Tammy
_________________________________________________________________
Share your memories online with anyone you want.
2009 Jun 03
1
Bug xen-utils-unstable
FOlks,
It's missing the following binary: /usr/lib/xen-unstable/bin/blktapctrl
Att,
Adolfo
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML
2009 Jun 12
2
Restrict port forwarding on server
Hi,
Is there a way to restrict port forwarding on the server?
I want only port 8080 on the server to be available to clients.
Example when i give this command clients should be able to connect:
ssh -L 30300:localhost:8080 ....
When i give this for example clients should not be able to connect:
ssh -L 30300:localhost:4040 ....
I tried this option in config file of server:
PermitOpen
2009 Mar 12
4
who can give me some hint?
Hi All,
> act_2
Date Dtime Hour Min Second Rep
51 2006-02-22 14:52:18 14 52 18 useractivity_act
52 2006-02-22 14:52:18 14 52 18 4
55 2006-02-22 14:52:49 14 52 49 4
57 2006-02-22 14:52:51 14 52 51 4
58 2006-02-22 14:52:52 14 52 52 3
60 2006-02-22 14:54:42 14 54
2009 Mar 11
1
Date frame
Hi, All,
How to make a data frame, each row of data frame store the different length of vector?
Thanks.
Tammy
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
[[alternative HTML version deleted]]
2009 Sep 27
0
FW: New in asterisk
With best regards
Abdul Ahad Anwer Khan, M.Sc(CME, in progress)
University of Applied Sciences Offenburg Germany
Phone:+497814748226
Mobile:+4917623468462
From: abdulahadanwer at hotmail.com
To: asterisk-users-bounces at lists.digium.com
Subject: New in asterisk
Date: Sun, 27 Sep 2009 14:50:59 +0600
Hello All
I am a student and doing my thesis which is related to asterisk. I am new in