## Chunk 1
![]() |
|||
getwd()
|
|||
## Chunk 2
![]() |
|||
fp = system.file("extdata/test1", package="RBioinf")
|
|||
## Chunk 3
![]() |
|||
scan(fp, what="")
|
|||
## Chunk 4
![]() |
|||
file.path(R.home(), "doc")
|
|||
## Chunk 5
![]() |
|||
cd = setwd(R.home())
|
|||
## Chunk 6
![]() |
|||
setwd("doc")
|
|||
## Chunk 7
![]() |
|||
x = list.files()
|
|||
## Chunk 8
![]() |
|||
head.file = function(x, n=6, ...) readLines(x, n)
|
|||
## Chunk 9
![]() |
|||
tempdir()
|
|||
## Chunk 10
![]() |
|||
tmp1 = tempfile()
|
|||
## Chunk 11
![]() |
|||
myhome = path.expand("~")
|
|||
## Chunk 12
![]() |
|||
basename(toR)
|
|||
## Chunk 13
![]() |
|||
z = file.path(tempdir(),"foo")
|
|||
## Chunk 14
![]() |
|||
newDir = file.path(tempdir(),"newDir")
|
|||
## Chunk 15
![]() |
|||
showConnections(all=TRUE)
|
|||
## Chunk 16
![]() |
|||
capabilities()
|
|||
## Chunk 17
![]() |
|||
zz = textConnection(LETTERS)
|
|||
## Chunk 18
![]() |
|||
savedOut = textConnection("foo", "w")
|
|||
## Chunk 19
![]() |
|||
p1 = pipe("cal 1 2006")
|
|||
## Chunk 20
![]() |
|||
library("RBioinf")
|
|||
## Chunk 21
![]() |
|||
ww = system("ls -1", intern=T)
|
|||
## Chunk 22
![]() |
|||
fName = file.path(tempdir(), "test1")
|
|||
## Chunk 23
![]() |
|||
a = readLines(con=system.file("CONTENTS", package = "base"),n=2)
|
|||
## Chunk 24
![]() |
|||
mydir = tempdir()
|
|||
## Chunk 25
![]() |
|||
## cat("10 2005", file="|cal")
|
|||
## Chunk 26
![]() |
|||
x = read.dcf(file = system.file("CONTENTS", package = "base"),
|
|||
## Chunk 27
![]() |
|||
## postForm("http://www.speakeasy.net/main.php",
|
|||
## Chunk 28
![]() |
|||
library("RCurl")
|
|||
## Chunk 29
![]() |
|||
fileNames[1]
|
|||