Skip to content
Snippets Groups Projects
Commit f703d2e6 authored by Walmes Zeviani's avatar Walmes Zeviani
Browse files

Add wgpigs.txt to upload to public folder.

parent f8d4656c
No related branches found
No related tags found
No related merge requests found
......@@ -21,3 +21,18 @@ rm(list=ls())
load("../data/wgpigs.RData")
ls()
str(wgpigs)
##----------------------------------------------------------------------
write.table(x=wgpigs, file="wgpigs.txt",
sep="\t", quote=FALSE, row.names=FALSE)
## Port and IP.
u <- scan(n=2, what=character())
cmd <- paste0("scp -P ", u[1], " wgpigs.txt leg@", u[2],
":/home/leg/public_html/legTools/dataset")
system(cmd)
url <- "http://blog.leg.ufpr.br/~leg/legTools/dataset/wgpigs.txt"
browseURL(url)
wgpigs <- read.table(file=url, header=TRUE, sep="\t")
ft wg
A 35
A 19
A 31
A 15
A 30
B 40
B 35
B 46
B 41
B 33
C 39
C 27
C 20
C 29
C 45
D 27
D 12
D 13
D 28
D 30
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment