I have solve the problem, the problem is that when r studio first start to make a directory and create a log file in .local and have not enough permission, so it would shut down. Open the r studio in terminal can see the complete error information.