Links
Archives
- 01/01/2003 - 02/01/2003
- 02/01/2003 - 03/01/2003
- 03/01/2003 - 04/01/2003
- 05/01/2003 - 06/01/2003
- 06/01/2003 - 07/01/2003
- 09/01/2003 - 10/01/2003
- 10/01/2003 - 11/01/2003
- 11/01/2003 - 12/01/2003
- 01/01/2004 - 02/01/2004
- 02/01/2004 - 03/01/2004
- 05/01/2004 - 06/01/2004
- 06/01/2004 - 07/01/2004
- 07/01/2004 - 08/01/2004
- 10/01/2004 - 11/01/2004
- 11/01/2004 - 12/01/2004
- 12/01/2004 - 01/01/2005
Notes on R statistics and programming language
Friday, December 17, 2004
Some important Apple tips.
X11 is located in the Applications/Utilities directory
Install XCode from developer.apple.com
Install the latest gcc update from developer.apple.com
Install fink and fink-commander from fink.sourceforge.net
Append .profile to .bashrc so that the /sw subdirectory is put in the path
Use fink-commander to install lots of good stuff
Change the focus on xwindows to no-click-to-focus with the following command (in an xterm)
"defaults write com.apple.x11 wm_ffm true"
This means that the active window (your "focus") is where the mouse is.
Install gimp from http://www.gimp.org
X11 is located in the Applications/Utilities directory
Install XCode from developer.apple.com
Install the latest gcc update from developer.apple.com
Install fink and fink-commander from fink.sourceforge.net
Append .profile to .bashrc so that the /sw subdirectory is put in the path
Use fink-commander to install lots of good stuff
Change the focus on xwindows to no-click-to-focus with the following command (in an xterm)
"defaults write com.apple.x11 wm_ffm true"
This means that the active window (your "focus") is where the mouse is.
Install gimp from http://www.gimp.org
Tuesday, November 30, 2004
Installed kernel module for ntfs (new technology file system, nothing to do with WinNT :-) from RPM.
P.S. don't forget to make shfsmount and shfsumount user executable with chmod u+s /usr/bin/shfs*
Upgraded the kernel and so had to upgrade shfs (because it is a kernel module, not just software). Had problem with insmod, because the installation instructions are wrong (for kernel 2.6?) The correct line is
insmod shfs/Linux-2.6/shfs.ko
NOT
insmod shfs/Linux-2.6/shfs.o
insmod shfs/Linux-2.6/shfs.ko
NOT
insmod shfs/Linux-2.6/shfs.o
Probably changed too much at once in PDA world. I switched from jpilot to Evolution on the linux box and from the Palm desktop to Yahoo Intellisync on the PC. I've had some problems with duplicating records. There is an excellent fix at the Evolution end at http://lists.ximian.com/archives/public/evolution/2002-November/023398.html
Monday, November 22, 2004
Finally figured out how to adjust the plotting symbol size in R to make bubble plots with the bubble proportional to some weight: the cex option in the plotting parameters. (Already too much time spent on plotting 2004 election returns).
Switched completely to gmail. Transferred more than 7,000 messages and closed out a scattering of partially duplicated email collections. So far so good. Several notes
- michaelaoash+subject AT gmail.com will get delivered to me. Can't currently search for subject with the search tools but according to Jim's Tips, can filter for subject if the filter is set up in advance. Take note when I transfer Krista over. Would be nice if could search entire header, even the gobbledygook.
- would like to have a bounce function
- would like to send "from" mash AT econs.umass.edu
- would like to have connection to UMass LDAP for address setting
Tuesday, November 02, 2004
Messy time installing GRASS-5.7 for Cygwin. Reinstalled a lot of Cygwin (teTeX failed for some reason). Probably need to set GRASS_WISH to /usr/local/bin/wish
Had to install cyggdal.dll in /usr/local/bin (not documented on the GRASS website).
Had to install cyggdal.dll in /usr/local/bin (not documented on the GRASS website).
Monday, October 04, 2004
For some reason had trouble reading files that Mike K. placed on the cppah account. I used
dd if=filename | less and was then able to see them.
dd if=filename | less and was then able to see them.
Sunday, July 11, 2004
Have had some trouble with the network from my office. The jack was turned off in my office because of what OIT said was "half-duplex loopback" from the NIC on the Dell/RedHat. After the jack was turned back on, the system seems to be ok. I show some but few "collisions" in ifconfig. I also learned about the mii-tool command which shows and can set card settings.
http://www.linuxmanagers.org/pipermail/linuxmanagers/2002-December/000860.html
http://www.linuxmanagers.org/pipermail/linuxmanagers/2002-December/000860.html
Tuesday, June 22, 2004
Finally got jpilot to work. I needed to include the paths of both where jpilot should go and where pilot-link is:
./configure --disable-private --prefix=/usr/local --with-pilot-prefix=/usr/local --disable-pl-test
./configure --disable-private --prefix=/usr/local --with-pilot-prefix=/usr/local --disable-pl-test
Just got my Zire 21.
jpilot no longer works
upgraded pilot-link and made it work.
may now require the following parameters for usbserial module:
/sbin/modprobe usbserial vendor=0x830 product=0x60
jpilot no longer works
upgraded pilot-link and made it work.
may now require the following parameters for usbserial module:
/sbin/modprobe usbserial vendor=0x830 product=0x60
Thursday, June 17, 2004
Installed bsd-games, including the network ASCII game hunt, on the old laptop. Couldn't install bsd-games on either Solaris or cygwin.
LaTeX package colortbl allows very nice shading of rows and columns in tables.
Sunday, June 06, 2004
This is a test.
Thursday, May 27, 2004
The CyberMax in Krista's 10th floor office is acting up and rejected an installation of RedHat 9.0. I suspect that the hard drive is having problems.
I will tomorrow try PowerMax, a disk-repair utility from Maxtor/Quantum, http://www.maxtor.com/en/support/downloads/powermax.htm
I will tomorrow try PowerMax, a disk-repair utility from Maxtor/Quantum, http://www.maxtor.com/en/support/downloads/powermax.htm
Wednesday, February 11, 2004
Rescuing the debian dpkg system http://www.linuxworld.com/story/32607.htm
aggregate (equivalent to collapse in Stata).
Use length to get frequencies, sum, mean, var, sd, etc. as expected.
Use length to get frequencies, sum, mean, var, sd, etc. as expected.
Sunday, February 01, 2004
To get access to the "slots" of a class (which is roughly equivalent to the parts of an object), use "@" for example
mymle@vcov, which shows the variance covariance matrix
mymle@details, which shows the list returned from optim
In particular mymle@details$hessian shows the part (hessian) of the object returned by optim.
mymle@vcov, which shows the variance covariance matrix
mymle@details, which shows the list returned from optim
In particular mymle@details$hessian shows the part (hessian) of the object returned by optim.
Monday, January 12, 2004
Some good R functions:
names(object) reports all of the elements in the object. Useful as a reminder after lm to get all of the returned stuff.
vcov(lm.object) and hccm(lm.object) give the var-covar matrix and White's var covar matrix. Need to load library(car) to get hccm.
sqrt(diag(hccm(lm.object,type=hc1))) gives the same standard errors as comma robust in Stata.
Named vectors can be accessed by index:
sqrt(diag(hccm(lm.object,type=hc1))) ["myvar"]
Sweave is cool
names(object) reports all of the elements in the object. Useful as a reminder after lm to get all of the returned stuff.
vcov(lm.object) and hccm(lm.object) give the var-covar matrix and White's var covar matrix. Need to load library(car) to get hccm.
sqrt(diag(hccm(lm.object,type=hc1))) gives the same standard errors as comma robust in Stata.
Named vectors can be accessed by index:
sqrt(diag(hccm(lm.object,type=hc1))) ["myvar"]
Sweave is cool