Finally we come to the deadline of data science course project on coursera. In fact, most of the questions are very easy to answer or cope with, except one aiming at try the git push. I got some problems when test this:
As the question requests, I created a file named “HelloWorld.md” and write something in it. When I type the command
>git push
Waiting for about 1 min, an error occors:
error:src refspec master does not match any
Then I found this was because no file in the dir yet. The solution is as follow:
touch README git add README git commit -m 'first commit' git push origin master |
Of course, we don’t need README, then I trid git add, commit and push commands, it works!
Through, I am not really understand the exact reason.
Referrence:
http://www.open-open.com/lib/view/open1366080269265.html#_label0
fracking wells 水力压裂井
volatile organic compounds VOC
cheating spouses webstie 已婚人士偷情网站
follow through on 完成
sprout up 涌现
Finished installing R and Rstudio, we come to the installation of Rtools. (Please check the tutorial vedio in coursera) It seems all went fine before installing devtools. However, typing
>install.packages("devtools")
really took a long time to download a series of packages. When finished, a pop-up info indicated an error: “https://class.coursera.org/datascitoolbox-031/lecture/55”
google it, and we found this would work:
Sys.setlocale('LC_ALL','C')
Reasons are complex, here post the reference: http://cos.name/cn/topic/157794/