[R] Accessing data via url
    John Kane 
    jrkrideau at yahoo.ca
       
    Thu Jan  6 20:53:43 CET 2011
    
    
  
#   Can anyone suggest why this works
datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data"
person.data  <- read.table(datafilename,header=TRUE)
# but this does not?
dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/trees.txt"
treedata <- read.table(dd, header=TRUE)
===================================================================
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : unsupported URL scheme
# I can access both through a hyperlink in OOO Calc. t
#  Thanks
    
    
More information about the R-help
mailing list