Category Archives: Tips

Generate a Windows command file and execute it in R

R is a powerful language. It can be used to process data and communicate with database and so on. The following functions are used to automatically download historical data of a list of stocks. The argument of the generateCMD function … Continue reading

Share
Posted in Tips | Leave a comment

Data Analysis of Field Experiments in Agriculture with R

I wrote a series of lectures about analyzing data from agricultural experiments with Minitab long time ago. Since then I learned using SAS and R to analyzing experimental data. In order to share my experiences in data management and analysis … Continue reading

Share
Posted in R/S-Plus, Tips, Tutorial | Tagged , , , , , | Leave a comment

R import MySQL data tables

R language is free. Its functions are very powerful. It can be used to do all kinds of data analysis and plot drawing. I always use MySQL database to manage my data. R has the capability to read data from … Continue reading

Share
Posted in R/S-Plus, Tips | Tagged , | Leave a comment

fix dovecot namespace error

OS: Ubuntu 14.04 LTS Dovecot: v2.2.9 Problem: after I ran a “apt-get upgrade” command, imap server refused to work. It was noticed by logging in to mail server using roundcubemail interface. It said that imap server cannot be connected. Checking … Continue reading

Share
Posted in Tips | Tagged , | Leave a comment

Clean the boot partition of ubuntu OS

Every time you installed a new Linux kernel, it left a footprint in the grub_config, making the boot menu longer each time. Furthermore, it clogs the boot partition of the Ubuntu system. When the boot partition is full, you will … Continue reading

Share
Posted in Software, Tips | Tagged , , , | Leave a comment