'분류 전체보기'에 해당되는 글 7건
- 2013.08.17 Changing the Font size
- 2013.08.09 How to set up ODBC for RODBC
- 2013.01.24 How to start R with package "rqpd"
- 2012.08.23 test
- 2012.08.12 [한글2007] 편집 화면의 내용을 복사하여 수식으로 붙이는 스크립트 매크로 1
- 2012.07.30 Boot a USB flash drive in VirtualBox
- 2007.02.13 공지
- Download a connector / ODBC for your platform & Install it
- Add "MySQL ODBC 5.2w Driver" (or yours installed) on Control Panel >> Administrator Tool >> Data Sources (ODBC).
- Put Connection Parameters. Last Parameters 'Database' would be listed if all inputs are correct.
- Test example below.
library(RODBC) con <- odbcConnect("RODBC", uid="myid", pwd="mypw") raw <- sqlQuery(con, "SELECT * FROM table1");
'BIG WORKS, Plz' 카테고리의 다른 글
How to start R with package "rqpd" (0) | 2013.01.24 |
---|---|
Boot a USB flash drive in VirtualBox (0) | 2012.07.30 |
R package rqpd: Regression Quantiles for Panel Data
- Install the package by typing "install.package("rqpd", repos="http://R-forge.R-project.org")" in R.
Install other packages for dependencies - 'quantreg', 'SparseM', 'MatrixModels'.
You can install those packages by typing "units:::menuInstallPkgs()" or using Menu>>Package>>Install Package(s).
Load rqpd by using Menu>>Package>>Load Package or typing "local({pkg <- select.list(sort(.packages(all.available = TRUE)),graphics=TRUE) if(nchar(pkg)) library(pkg, character.only=TRUE)})
data(bwd) ### A fixed-effects model : # formula is specified model : fe.form <- dbitwt ~ smoke + dmage +agesq + novisit + pretri2 + pretri3 | as.factor(momid3) # estimate the model : fe.fit <- rqpd(fe.form, panel(lambda=0.5), data=bwd) ### A CRE model : # formula is specified as cre.form <- dbirwt ~ smoke + dmage + agesq + novisit + pretri2 + pretri3 | momid3 | smoke + dmage + agesq # estimate the model : cre.fit <- rqpd(cre.form, panel(method="cre"), data=bwd)
'BIG WORKS, Plz' 카테고리의 다른 글
How to set up ODBC for RODBC (0) | 2013.08.09 |
---|---|
Boot a USB flash drive in VirtualBox (0) | 2012.07.30 |
일부를 복사하여 수식에 붙이는 스크립트 매크로 방식.
동작하는 방식은 원하는 부분을 복사하여 수식편집기에 변수로 집어 넣어 수식을 만들어 낸다.
일반적으로 스크립트 매크로를 생성하게 되면 수식편집기에는 클립보드의 내용이 들어가지 않고
수식(2)가 String = 고정된 값이 되어 원하는 값을 집어 넣을 수 없다.
다음과 같이 수식1로 블럭설정된 원하는 값을 변수text에 받고, 수식2에서 text값을 수식 중간에 넣어주게 되면
원하는 값으로 수식을 완성할 수 있다.
function OnScriptMacro_수식바꾸기()
{
HAction.Run("MoveLineBegin");
HAction.Run("MoveSelRight");
HAction.Run("MoveSelRight");
HAction.Run("MoveSelRight");
HAction.Run("Delete");
HAction.Run("MoveSelRight");
HAction.Run("MoveSelRight");
var text = GetTextFile("TEXT","saveblock"); ---- 수식(1)
HAction.GetDefault("EquationCreate", HParameterSet.HEqEdit.HSet);
with (HParameterSet.HEqEdit)
{
String = "beta _{" + text + "} ^{DELTAP}"; ---- 수식(2)
BaseUnit = PointToHwpUnit(8.0);
Width = 1350;
Height = 1105;
}
HAction.Execute("EquationCreate", HParameterSet.HEqEdit.HSet);
HAction.Run("MoveSelRight");
HAction.Run("MoveSelRight");
HAction.Run("Delete");
HAction.Run("MoveDown");
HAction.Run("MoveLineEnd");
}
1. Download & Install Oracle VM VirualBox (https://www.virtualbox.org/wiki/Downloads)
2. How to boot from a USB Flash Drive in VirtualBox
- Click Start > Run Type diskmgmt.msc and click OK (Start > Search Box in Win7).
- Find the USB Disk number.
- Open a command prompt cmd.exe
- Type cd %programfiles%\oracle\virtualbox
- Type the following (replace # with your USB Disk number from step 2 and you can find your %USERPROFILE% by typing set at cmd.exe) VBoxManage internalcommands createrawvmdk -filename %USERPROFILE%\.VirtualBox\usb.vmdk -rawdisk \\.\PhysicalDrive#
- Start VirtualBox and create a New Virtual Machine.
- When prompted for a Virtual Hard Disk, tick use existing hard disk and select usb.vmdk.
- Once you have finished creating your New Virtual Machine, click Start.
'BIG WORKS, Plz' 카테고리의 다른 글
How to set up ODBC for RODBC (0) | 2013.08.09 |
---|---|
How to start R with package "rqpd" (0) | 2013.01.24 |