블로그 이미지
안녕하세요. ^______^
laputa12312

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
  • total
  • today
  • yesterday
2015. 5. 12. 14:13 Big Data

빅데이터분석에 대한 관심으로 점점 수요가 높아지는 통계패키지R, 무료 오픈소스인 통계패키지 R의 기본적인 설치 방법 입니다.

 

 

 

다음의 사이트에서 진행: www.r-project.org

 

Download R 클릭 Korea 클릭  다음의 두 미러사이트에서 다운로드

  - http://cran.nexr.com

  - http://biostat.cau.ac.kr/CRAN/

 

OS별 다운로드

   - Linux, Windows, MacOS X

 

 

R 설치 디렉토리

 

설치 후: bin, doc, etc, include, library, modeules, share, src, Tcl, tests

  - doc 디렉토리에 매뉴얼 첨부
  - library에 패키지 설치 및 향후 설치되는 패키지도 이 디렉토리 사용

 

메뉴 이해
  - 파일, 편집, 보기, 기타, 패키지, 윈도우즈, 도움말

 

 

 

 

 

 

posted by laputa12312
2015. 5. 1. 16:16 기타 프로그래밍

 

2015년 현재, 가장 인기있는 프로그래밍언어는 뭘까요..??

해외기준으로 현재 집계되는 프로그래밍 언어 인기 순위 입니다.

 

 

 

 

2015년 현재, 프로그래밍언어 인기순위 1위는 역시나 JAVA 프로그래밍 입니다.

안드로이드 앱개발언어, 하둡의 맵리듀스 등의 기술적 요구가  더해져 수요와 관심도가 더욱 높아진 이유이지 않을까,, 합니다.

거업의 개발 생태계를 바꿔버리지 않는 이상 앞으로도 프로그래밍언어의 상위랭크는 JAVA 또는 C언어가 계속 유지되리라는 전망 입니다.

 

눈에 띄는건 20141년 - 31위에 기록되었던 SAP ERP개발 언어인 ABAP15위로 올라왔다는 부분과, 40위에 기록되었던 통계패키지 언어인 R19위로 꽤 많은 단계를 훌쩍 뛰어넘었다는 부분입니다.

(아무래도 빅데이터 분석의 이슈로 R프로그래밍 언어는 계속 인기가 올라가리라는 전망,,)

 

 

21위 부터 50위까지 집계된 프로그래밍 언어로는,,

 

21위   SAS
22위   PostScript
23위   ML
24위   Swift
25위   Scala 
26위   Logo 
27위   COBOL
28위   J
29위   Assembly
30위   Fortran 
31위   Scratch
32위   OpenEdge ABL
33위   Lisp
34위   Ada
35위   ActionScript
36위   Max/MSP
37위   Lua
38위   D 0.
39위   Prolog
40위   RPG (OS/400) 
41위   Inform 
42위   Go 
43위   Groovy
44위   PL/I
45위   Scheme
46위   Q
47위   LabVIEW
48위   C shell 
49위   VBScript 
50위   Erlang

 

 

 

 

 

 

이상,, 2015년의 프로그래밍 언어 인기 순위였습니다. ^^

 

 

 

내용참조 : http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

 

 

 

 

 

 

'기타 프로그래밍' 카테고리의 다른 글

오브젝티브C의 대체 - 스위프트언어란?  (0) 2014.12.11
C#프로그래밍 이란?  (0) 2014.02.12
posted by laputa12312
2015. 4. 29. 17:04 파이썬 Pro그래밍

Python Mac, Li눅스, Win도우 등에서 설치가 가능합니다. 그럼 Win도우에서 Python을 설치하는 방법은?

 

 

Windows에서 Python 2.x 설치 방법

Linux와 Mac OS에서 Python은 기본적으로 설치되어있습니다.
터미널 창에서 Python 명령만으로 쉽게 실행할 수 있지만 Windows에서는 Python을 따로 설치해주어야 합니다.

 

 

파이썬 웹사이트 접속

  -  www.python.org

 

 

파이썬 다운로드

 

 

해당 사이트에 들어가서 Quick Links (2.7.8) – Windows Installer 선택하여 python-2.7.8.msi 다운로드 후 실행하여 설치합니다.
특별히 원하는 버전이 있을 때에는 DOWNLOAD – Releases에서 버전별로 설치파일을 다운로드 할 수 있습니다.

 

 

설치 완료

Python의 기본 설치 경로는 C:\Python27 설치 완료 후 환경변수를 등록해야 합니다.

 

 

윈도우 환경변수 등록

- 내컴퓨터(마우스 오른쪽 버튼 클릭) – 속성(시스템 등록 정보) – 고급 – 환경 변수 클릭
- 시스템 변수 – Path 선택 후 편집 클릭
- 변수 값에 맨 뒤에 C:\Python27;C:\Python27\Scripts; 입력 후, 확인 버튼을 눌러 시스템에 적용
- 변수 값은 각각 ; (세미콜론) 으로 구분

 

 

 

 

 

Python의 패키지 설치 방법 - 패키지 관리 도구 설치하기

 

파이썬 라이브러리 설치에는 easy_install과 pip가 사용된다.

 

easy_install

 

easy_install은 아래 링크에서 다운받아 설치하자

 

 https://pypi.python.org/pypi/setuptools#windows-powershell-3-or-later 

 

 

 

 

 

설치 후 C:Python27 폴더 아래에 Scripts라는 폴더가 생긴다.

 

 

 

 

그 다음 easy_install pip 명령으로 pip를 설치해줍니다.

 

 C:\Python27\Scripts\easy_install.exe pip 

 

 

 

 

pip 명령의 사용법

- pip install packageName 명령 : 최신버전으로 설치
- pip install packageName==0.x.x 명령 : 0.x.x버전으로 설치
- 패키지 설치 경로 : C:\Python27\Lib\site-packages
- pip uninstall packageName 명령 : package 제거
- pip freeze 명령 : 현재 환경에 설치된 package 이름과 버전 목록

 

 

easy_install과 pip가 설치 완료된 화면

 

 

 

 

iPython 설치하기

 

pip를 이용하여 iPython을 설치해보자.
iPython은 명령창에서 소스 컬러를 지원하고 편리한 도움말을 제공해준다.
가볍고, 편하고, 강력하다.

 

 

 pip install "ipython[all]"
 or
 pip install "ipython[notebook]"

 

 

 

 

환경변수 PATH에 C:\Python27\Scripts 추가

 

 

C:\Python27\Scripts\; 

 

 

iPython 실행 화면

 

 

 

 

개발환경 만들기

 

1. 이클립스 + PyDev 플러그인
2. Python 기본 REPL
3. PyCharm
4. iPython + Notebook

 

 

The IPython Notebook

 

The IPython Notebook is a web-based interactive computational environment where you can combine code execution, text, mathematics,
plots and rich media into a single document

 

http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Notebook/Index.ipynb

 

 

 

 

 

 

iPython Command Example

 

 

Examples
--------
ipython --matplotlib # enable matplotlib integration
ipython --matplotlib=qt # enable matplotlib integration with qt4 backend
ipython --log-level=DEBUG # set logging to DEBUG
ipython --profile=foo # start with profile foo
ipython qtconsole # start the qtconsole GUI application
ipython help qtconsole # show the help for the qtconsole subcmd
ipython console # start the terminal-based console application
ipython help console # show the help for the console subcmd
ipython notebook # start the IPython notebook
ipython help notebook # show the help for the notebook subcmd
ipython profile create foo # create profile foo w/ default config files
ipython help profile # show the help for the profile subcmd
ipython locate # print the path to the IPython directory
ipython locate profile foo # print the path to the directory for profile `foo`
ipython nbconvert # convert notebooks to/from other formats 

 

 

iPython Notebook Example

 

 

Examples
--------
ipython notebook # start the notebook
ipython notebook --profile=sympy # use the sympy profile
ipython notebook --certfile=mycert.pem # use SSL/TLS certificate 

 

 

iPython Notebook 실행화면

 

 

C:\>ipython notebook 

 

 

posted by laputa12312