[R] Getting an older version of a package

2009-05-24 Thread Le Wang
Hi there, Thanks for your time in advance. I am using an add-on package from Cran. After I updated this package, some of my programs don't work any more. I was wondering if there is anything like version control so that I could use the older version of that package; or if I could manually install

[R] Getting an older version of a package

2009-05-24 Thread Le Wang
ually install the previous version and how I could acheive it? I am not a regular R user; although it is supposed to be very easy, after spending many hours on this, I still haven't figured out how to proceed. Your help will be greatly appreciated. Thanks. Le -- ~~~~~~ Le

Re: [R] Getting an older version of a package

2009-05-24 Thread Le Wang
ng msg > utils:::menuInstallLocal() updating HTML package descriptions On Sun, May 24, 2009 at 4:36 PM, Duncan Murdoch wrote: > On 24/05/2009 4:00 PM, Le Wang wrote: >> >> Hi there, >> >> Thanks for your time in advance. >> >> I am using an add-on package from C

[R] How to obtain the graph of fitted values against one variable after estimation?

2010-08-25 Thread Le Wang
Hi there, I have a question regarding the "plot" command after estimation. Specifically, I estimate a model, say regressing y on x and z. And after estimation, I would like to plot the fitted values against x, but I don't need that for z. The following command always gives two graphs, for both va

Re: [R] How to obtain the graph of fitted values against one variable after estimation?

2010-08-26 Thread Le Wang
0 at 11:15 PM, David Winsemius wrote: > > On Aug 25, 2010, at 10:46 PM, Le Wang wrote: > >> Hi there, >> >> I have a question regarding the "plot" command after estimation. >> >> Specifically, I estimate a model, say regressing y on x and z. And

[R] macro in a loop

2009-03-21 Thread Le Wang
Hi there, Thanks for your time in advance. I am trying to read in multiple files. For example, data.1940 <- read.table("c:/data/1940.csv",header=TRUE,sep=",") data.1950 <- read.table("c:/data/1950.csv",header=TRUE,sep=",") data.1960 <- read.table("c:/data/1960.csv",header=TRUE

Re: [R] macro in a loop

2009-03-21 Thread Le Wang
Thank you all for the help! Le On Sat, Mar 21, 2009 at 4:23 PM, Pankaj Chopra wrote: > data.year[j] <- > read.table(paste("c:/data/",year[j],".csv",sep=''),header=T,sep=",") > > > should do it. > > > > Le Wang wrote: >&