数据科学工具箱week2笔记

同样来自于著名网校coursera,本来写了第一章的笔记的,可惜不小心不见了,哎,只有从week2开始搞起了

2.1 命令行界面(就是window中的cmd.exe)

命令行界面Command Line Interface,简写:CLI)是在图形用户界得到普及之前使用最为广泛的用户界面,它通常不支持鼠标,用户通过键盘输入指令,计算机接收到指令后,予以执行。也有人称之为字符用户界面(CUI)

通常认为,命令行界面(CLI)没有图形用户界面(GUI)那么方便用户操作。因为,命令行界面的软件通常需要用户记忆操作的命令,但是,由于其本身的特点,命令行界面要较图形用户界面节约计算机系统的资源。在熟记命令的前提下,使用命令行界面往往要较使用图形用户界面的操作速度要快。所以,在现在的图形用户界面的操作系统中,通常都保留着可选的命令行界面。

directories

root::根目录,用/(slash)斜线

home:用~(tilde)

ls   list files and folders in the current directory /a lists hidden and unhidden files and folders


cd 转移目录项

mkdir  --------------stand for "make directory",just like :right click->create new folder

touch ________create a empty file

cp--------------------stands for "copy"

rm--------------------stands for"remove"

mv----------------------move 也可以用来改名,rm newname oldname

echo------------------打字 不知道是像r 还是php总之是不记得了

date-----------------显示当前时间,如Mon May 19      23:34:37       2014

clear-----------------清屏

2.2 GIT简介

说实话,以前听过真心没见过的

命令行界面,Git是一个分布式版本控制软件配置管理软件,Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

不得不吐下槽了,我校园网,你让我下这东西,哎。。。。。下个破东西用了近1小时,网站上还有本书,哎,最讨厌看书什么的了

git config-global user.name"li"

可怜的是不知道dash号咋打

2.3 GitHub简介

GitHub 是一个共享虚拟主机服务,用于存放使用Git版本控制的软件代码和内容项目。它由GitHub公司(曾称Logical Awesome)的开发者Chris Wanstrath、PJ Hyett和Tom Preston-Werner使用Ruby on Rails编写而成。




2.4创建一个github repository

使用git时无需github,git=当地(在你的电脑上),github=远程(在网上)

github允许你,同他人分享你的repositories,访问别人的repositories,在github服务器上储存你的repositories的复本,以防会在本地复本上发生事故(在你的电脑上)

创建一个当地copy

$ mkdir ~/test-repo

导航到这个新目录  $ cd ~/test-repo

initialize a local git repositroy in this directory    $ git init                 

point your local repository at the remote repository you just created on the github server

$ git remote add origin http://github.com/yourusername/test-repo.git

当你 fork 他人的repo 时,可

$ git clone  http://github.com/yourusername/reponamehere.git           this will clone the repository into your current directory.

2.5基础git命令







2.6 basic markdown

md 文件

headings

## this is a secondary heading

### this is a tertiary heading

unordered lists

* first item in list

** second item in list 

*** third item in list


2.7 installing R Packages

load 装载





2.8 Rtools

虽然暂时不知道有么用,但绝对是大有用处的吧




发布了31 篇原创文章 · 获赞 1 · 访问量 3万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章