does anyone remember what command you need to use in latex so that you can
put your R code in there properly formatted...was it something\verbatim or
verbatim/something...
On Sat, Feb 7, 2009 at 2:24 PM, Patrick Lam <plam at fas.harvard.edu> wrote:
Hi Ron,
The Zelig installation you did was successful. Zelig uses functions from
many other packages, so you may not be able to use those specific functions
without installing those particularly packages. You can install those
packages by typing
source("http://gking.harvard.edu/zelig/install.R")
or by installing each of the packages separately via the install.packages()
command. Zelig automatically tries to load all of those packages, which is
why you are getting those warning messages.
On Sat, Feb 7, 2009 at 5:13 PM, Lai, Ronald <rolai at hbs.edu> wrote:
Hello,
I suppose this is a question for our section leaders.. but maybe others
would find it useful?
Today, i attempted to install Zelig (which I don't think is necessary for
the PS1, but will be used in the future)
I found a "Zelig for R Cheat Sheet" through the course platform:
http://isites.harvard.edu/fs/docs/icb.topic507101.files/Using_R_and_Zelig/z…
It states the following:
* Installing Zelig Within R, type: source("
http://gking.harvard.edu/zelig/install.R")
* Loading Zelig Within R, type: library(Zelig)
The source fx seems to be successful in downloading Zelig-3.3-1, but I
receive several warning msgs. I am able to load Zelig, but I wonder if it
loaded correctly. Any insights would be valuable!
Cheers,
Ron Lai
-----------------------------------------------------
trying URL '
http://gking.harvard.edu/bin/windows/contrib/2.7/Zelig_3.3-1.zip'
Content type 'application/zip' length 14779168 bytes (14.1 Mb)
opened URL
downloaded 14.1 Mb
The downloaded packages are in
C:\Documents and Settings\hbsuser\Local
Settings\Temp\RtmpOBBkpb\downloaded_packages
updating HTML package descriptions
Warning: unable to access index for repository
http://cran.cnr.berkeley.edu/bin/windows/contrib/2.7
Warning messages:
1: package 'zoo' is not available
2: package 'sandwich' is not available
3: package 'MCMCpack' is not available
4: package 'coda' is not available
library(Zelig)
Loading required package:
MASS
Loading required package: boot
##
## Zelig (Version 3.3-1, built: 2008-06-13)
## Please refer to
http://gking.harvard.edu/zelig for full documentation
## or help.zelig() for help with commands and models supported by Zelig.
##
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
--
Patrick Lam
Department of Government and Institute for Quantitative Social Science,
Harvard University
http://www.people.fas.harvard.edu/~plam<http://www.people.fas.harvard.ed…
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l