Folks:
If you wanted to find out about what are the contributed packages and classify
them, how would you go about it? For someone new like me, I would like to know
what the possibilities are. When I click on "install packages" on my Windows
version of R, it gives me a list but it is hard to fig
MIS Cleveland Laboratories
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Sunday, February 07, 2010 8:51 PM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org help
Subject: Re: [R] dataframe question
On Feb 7, 2010, at 8:14 PM, David Winsemius wrote:
>
Folks:
Good day. Please see the code below. three_wk_out is a dataframe with columns
wk1 through wk209. I want to change the format of the columns. I am trying the
code below but it does not work. I need $week in the for loop interpreted as
wk1, wk2, etc. Could you please help? Thanks.
Satish
bruary 06, 2010 4:58 PM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org
Subject: Re: [R] Reading large files
I have uploaded another version which suppresses display of the error
message but otherwise works the same. Omitting the redundant
arguments we have:
ibrary(sqldf)
# next line
closing unused connection 3 (3wkoutstatfcst_small.dat)
> test_df
allgeo area1 zone dist ccust1 whse bindc ccust2 account area2 ccust3
1 A 41 37 99 4925 4925 99 99 4 99
2 A 41 37 99 4925 4925 99 99 4 99
-Original
tish
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Saturday, February 06, 2010 3:02 PM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org
Subject: Re: [R] Reading large files
Note that you can shorten #1 to read.csv.sql("out.txt") since your
other
tatfcst_small.dat)
> test_df <- read.csv2.sql(file="3wkoutstatfcst_small.dat", sql = "select *
> from file", header = TRUE, sep = ",", filter="perl parse_3wkout.pl", dbname =
> tempfile())
Error in readRegistry(key, maxdepth = 3) :
Registry key 'SOFT
Gabor:
Can I pass colClasses as a vector to read.csv.sql? Thanks.
Satish
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Saturday, February 06, 2010 9:41 AM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org
Subject: Re: [R] Reading large files
again.
Saitsh
-Original Message-
From: jim holtman [mailto:jholt...@gmail.com]
Sent: Saturday, February 06, 2010 6:16 AM
To: Gabor Grothendieck
Cc: Vadlamani, Satish {FLNA}; r-help@r-project.org
Subject: Re: [R] Reading large files
In perl the 'unpack' command makes it very eas
know your thoughts
on the approach?
Satish
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Friday, February 05, 2010 5:16 PM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org
Subject: Re: [R] Reading large files
If your problem is just how long it
Folks:
I am trying to read in a large file. Definition of large is:
Number of lines: 333, 250
Size: 850 MB
The maching is a dual core intel, with 4 GB RAM and nothing else running on it.
I read the previous threads on read.fwf and did not see any conclusive
statements on how to read fast. Exampl
Hi:
I have a question about installing R (and modules) on a Unix system (AIX).
Can I just gunzip (or the equivalent) the installation files into my home
directory or will I need someone with root access to install R? I am hoping
that the answer is the former (I can unzip all files to a directory
Hi:
If I want to read a file with read.table. I want x1 and x2 to be read as
character and x3 as numeric. How to do this? Thanks.
Satish
x1 ,x2,x3
10,20,30
11 ,22,35
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
Hi:
Suppose that I have a data frame as below
x1 x2 x3 ... x10 wk1 wk2 ... Wk208 (these are the column names)
For each record, x1, x2, x3 ... x10 are attributes. and wk1, wk2, ..., wk208
are the sales recoreded for this attribute combination. Suppose that now, that
I want to do the following
Now df1$new should be
ab
ef
Thanks.
Satish
_
From: Vadlamani, Satish {FLNA}
Sent: Friday, October 30, 2009 8:40 AM
To: R-help@r-project.org
Subject:Help with creating some loops
Hi All:
I have a data frame called all_corn. This has
Hi All:
I have a data frame called all_corn. This has 31 columns. The first column is a
character key. The next 15 columns (stat1,stat2,...,stat15) are the statistical
forecast. The last 15 columns (sls1,sls2,...,sls5) are actual sales.
I want to calculate textbook tracking signal and cuulative
Hi All:
I am trying to use read.fwf and encountering the following error below. Any
ideas on what I can do?
I tried to use read.table (and the default for read.table is space) and it
works. I am not sure why read.fwf is not working
test_data_frame = read.fwf(file="small.txt",widths=width_vec,he
Hi All:
Bear with me on this longer e-mail.
Questions:
1) Can you share with me on any example code that you may have that calculates
bias of a statistical forecast in a time series?
2) Supposed I have the file in the fixed width format (details below).
1-62 character key
63-76 sales data point
Thanks. Please expect more newbie questions!!
Satish
-Original Message-
From: jim holtman [mailto:jholt...@gmail.com]
Sent: Wednesday, October 28, 2009 7:05 AM
To: Vadlamani, Satish {FLNA}
Cc: R-help@r-project.org
Subject: Re: [R] Generating sequence of dates
try this:
> curr
Hello All:
I have the following question
# instantiate a date
current = as.Date("2009/10/25")
#generate a sequence of dates in the future
future_dates = seq(current,by='1 week',length=53)
Question: How to generate a sequence of past dates starting one week in the
past relative to the current da
Hi:
For those of you who are adept at both SAS and R, I have the following
questions:
a) What are some reasons / tasks for which you would use R over SAS and vice
versa?
b) What are some things for which R is a must have that SAS cannot fulfill the
requirements?
I am on the ramp up on both of
Hi:
1) Does anyone have experience with 64 bit compiled version of R on windows? Is
this available or one has to compile it oneself?
2) If we do compile the source in 64 bit, would we then need to compile any
additional modules also in 64 bit?
I am just trying to prepare for the time when I will
Hi:
Sorry if this is a double post. I posted the same thing this morning and did
not see it.
I just started using R and am asking the following questions so that I can plan
for the future when I may have to analyze volume data.
1) What are the limitations of R when it comes to handling large da
Hi:
This is a test mail. Thanks.
Satish
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reprodu
24 matches
Mail list logo