Re: [R] RSQLite to input dataframe

2011-01-04 Thread Amy Milano
to circulate your mail through my office so that all will be benefited. Thanks a lot sir once again. Must say that was "The Guidnace". Regards Amy   --- On Tue, 1/4/11, Michael Bedward wrote: From: Michael Bedward Subject: Re: [R] RSQLite to input dataframe To: "Amy M

[R] RSQLite to input dataframe

2011-01-04 Thread Amy Milano
Dear r helpers, At first, I apologize for raising a query which seems to be a stupid interpretation on my part. I am trying to learn SQLite. Following is an example given in the RSQLite.zip file (Page # 4) drv <- dbDriver("SQLite") tfile <- tempfile() con <- dbConnect(drv, dbname = tfile) dat

[R] Fw: Re: Default Working directory on windows 7?

2011-01-04 Thread Amy Milano
Suppose your working "R" directory is C:\My Working Directory I hope now that you have installed the R, you must be having "R ICON" on your desktop. Right click on this icon, then click on Properties. Once that box is opened, you will find a tab called "Start in". There within the " " type C:

Re: [R] Changing column names

2010-12-31 Thread Amy Milano
Please read - http://127.0.0.1:24408/library/base/html/colnames.html I am trying to give an example. I am not a programmer and I am sure the R stalwarts will have better ways to do it. # Suppose df1 = read.csv('result.csv') where (say e.g.) result.csv is as follows result.csv var1   var

Re: [R] Writing a single output file

2010-12-29 Thread Amy Milano
n data: date.yield_rate Sir, it will be a great help if you can guide me and once again sinserely apologize for reverting so late. Regards Amy --- On Thu, 12/23/10, jim holtman wrote: From: jim holtman Subject: Re: [R] Writing a single output file To: "Amy Milano" Cc: r-hel

[R] Writing a single output file

2010-12-23 Thread Amy Milano
Dear R helpers! Let me first wish all of you "Merry Christmas and Very Happy New year 2011" "Christmas day is a day of Joy and Charity, May God make you rich in both" - Phillips Brooks ## ---

[R] How to arrange the data

2010-12-17 Thread Amy Milano
-2010  value1    11 14-Sep-2010  value2 180 14-Sep-2010      value3      56 I have presented here a small part of large data. I tried to convert the data into matrix, then transpose etc. but things are not working for me. Please guide Thanking in advance Amy Milano

Re: [R] Finding root of quadratic equation

2010-11-28 Thread Amy Milano
Dear Jorge Ivan Velez sir, Thanks a million for your great solution. You have made my Sunday. Thanks again. Regards Amy --- On Sun, 11/28/10, Jorge Ivan Velez wrote: From: Jorge Ivan Velez Subject: Re: [R] Finding root of quadratic equation To: "Amy Milano" Cc: "R mail

[R] Finding root of quadratic equation

2010-11-28 Thread Amy Milano
Dear R Helpers, I need to find the root of following equation. 0.0016^2 = (0.001*x)^2 + (0.002 * (1-x))^2 + 2 * 0.7 *0.001*0.002 * x * (1-x). I had tried using "animation " package as follows. # My Code library(animation) ani.options(nmax = 500) solu = newton.method(function(x) 0.0016^2

Re: [R] Using tapply?

2010-10-25 Thread Amy Milano
. Thanks in advance Sir. Regards Amy --- On Mon, 10/25/10, Dennis Murphy wrote: From: Dennis Murphy Subject: Re: [R] Using tapply? To: "Amy Milano" Cc: r-help@r-project.org Date: Monday, October 25, 2010, 10:47 AM Hi: I'm pretty sure that newton.method in the animation pack

[R] Using tapply?

2010-10-25 Thread Amy Milano
Dear R helpers, I am trying to calculate the Annualized Percent Rate using following R - Code. # ## R Code library(animation) # INPUT C = 25    # Loan Amount E = 2500  # Other Cost R = 6 # Interest rate r = R