Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. library(RCurl)
  2. x = "/mypath/thefile.txt"
  3.  
  4.  
  5. y = read.fwf(scp(host = 'myhost.place', path = q,
  6. user= "myusername", password = "mypass", binary = FALSE),
  7. widths = c(-1, 9, -42, 4), colClasses = c("character", "character"),
  8. col.names = c("Var1", "Var2"))
  9.  
  10. a = "/myotherpath/someSASfile.sas7bdat"
  11.  
  12. b = read_sas(scp(host = 'myhost.place, path = a,
  13. user= "myusername", password = "mypass", binary = TRUE))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement