hi
I think this already a closed topic since you figure it out yourself.
but you can always try to fetch data from Google docs (first make the
spreadsheet public) and then writing this snippet:
library(RCurl)
Thanks
--- On Fri, 1/7/11, David Winsemius dwinsem...@comcast.net wrote:
From: David Winsemius dwinsem...@comcast.net
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: Henrique Dallazuanna www...@gmail.com, r-help@r-project.org, Dieter
Menne dieter.me...@menne
On 07.01.2011 19:18, John Kane wrote:
--- On Fri, 1/7/11, Prof Brian Ripleyrip...@stats.ox.ac.uk wrote:
From: Prof Brian Ripleyrip...@stats.ox.ac.uk
Subject: Re: [R] Accessing data via url
?read.table says
‘file’
can also be a complete URL.
This is implemented by url
Just for the record, you don't need to manually find the
URL to which your are being redirected by using the followlocation
option in any of the RCurl functions:
tt =
getURLContent(https://sites.google.com/site/jrkrideau/home/general-stores/duplicates.csv;,
followlocation
?read.table says
‘file’ can also be a complete URL.
This is implemented by url(): see the section on URLs on its help
page. You haven't followed the posting guide and told us your OS, and
what the section says does depend on the OS.
On Thu, 6 Jan 2011, John Kane wrote:
# Can
John Kane-2 wrote:
# 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 -
Date: Fri, 7 Jan 2011 00:24:19 -0800
From: dieter.me...@menne-biomed.de
To: r-help@r-project.org
Subject: Re: [R] Accessing data via url
John Kane-2 wrote:
# Can anyone suggest why this works
datafilename -
http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data
With the ssl.verifypeer = FALSE argument it works:
x = getBinaryURL(dd, ssl.verifypeer = FALSE)
On Fri, Jan 7, 2011 at 6:24 AM, Dieter Menne
dieter.me...@menne-biomed.dewrote:
John Kane-2 wrote:
# Can anyone suggest why this works
datafilename -
Henrique Dallazuanna wrote:
With the ssl.verifypeer = FALSE argument it works:
x = getBinaryURL(dd, ssl.verifypeer = FALSE)
Thank, good to know. It's only in the examples of ..., but is looks like a
parameter important enough to be included in the docs of getBinaryURL.
Digging
Dallazuanna www...@gmail.com
Subject: Re: [R] Accessing data via url
To: Dieter Menne dieter.me...@menne-biomed.de
Cc: r-help@r-project.org
Received: Friday, January 7, 2011, 7:07 AM
With the ssl.verifypeer = FALSE
argument it works:
x = getBinaryURL(dd, ssl.verifypeer = FALSE)
On Fri, Jan 7
--- On Fri, 1/7/11, Dieter Menne dieter.me...@menne-biomed.de wrote:
From: Dieter Menne dieter.me...@menne-biomed.de
Your original file is no longer there, but when I try RCurl
with a png file
that is present, I get a certificate error:
Dieter
Since replaced with
dd -
--- On Fri, 1/7/11, Prof Brian Ripley rip...@stats.ox.ac.uk wrote:
From: Prof Brian Ripley rip...@stats.ox.ac.uk
Subject: Re: [R] Accessing data via url
?read.table says
‘file’
can also be a complete URL.
This is implemented by url(): see the section on URLs on
its help
Take a look on the return of:
rawToChar(x)
On Fri, Jan 7, 2011 at 4:13 PM, John Kane jrkrid...@yahoo.ca wrote:
--- On Fri, 1/7/11, Dieter Menne dieter.me...@menne-biomed.de wrote:
From: Dieter Menne dieter.me...@menne-biomed.de
Your original file is no longer there, but when I try
had not realised there was something like rawToChar(). Amazing what R does.
Thank ,
--- On Fri, 1/7/11, Henrique Dallazuanna www...@gmail.com wrote:
From: Henrique Dallazuanna www...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: r-help@r-project.org
Great, but how did you do that?
--- On Fri, 1/7/11, Henrique Dallazuanna www...@gmail.com wrote:
From: Henrique Dallazuanna www...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: r-help@r-project.org, Dieter Menne dieter.me...@menne-biomed.de
Received
--
David.
On Jan 7, 2011, at 1:35 PM, John Kane wrote:
Great, but how did you do that?
--- On Fri, 1/7/11, Henrique Dallazuanna www...@gmail.com wrote:
From: Henrique Dallazuanna www...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: r-help@r-project.org, Dieter
,
--- On *Fri, 1/7/11, Henrique Dallazuanna www...@gmail.com* wrote:
From: Henrique Dallazuanna www...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: r-help@r-project.org, Dieter Menne dieter.me...@menne-biomed.de
Received: Friday, January 7, 2011, 1:21 PM
...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: r-help@r-project.org, Dieter Menne dieter.me...@menne-biomed.de
Received: Friday, January 7, 2011, 1:31 PM
Google redirect to:
https://6326258883408400442-a-1802744773732722657-s-sites.googlegroups.com/site
# 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,
results. It currently is
not all that important but it's definately annoying.
--- On Thu, 1/6/11, Alberto Negron albertoneg...@gmail.com wrote:
From: Alberto Negron albertoneg...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: R R-help r-h
--- On Thu, 1/6/11, Alberto Negron albertoneg...@gmail.com wrote:
From: Alberto Negron albertoneg...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: R R-help r-h...@stat.math.ethz.ch
Received: Thursday, January 6, 2011, 4:20 PM
there is an option
https
your second link is an https
that's not supported as I recall.
?url
On Thu, Jan 6, 2011 at 11:53 AM, John Kane jrkrid...@yahoo.ca wrote:
# Can anyone suggest why this works
datafilename -
http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data;
person.data -
Here John,
from the manual
URLs
A note on file:// URLs. The most general form (from RFC1738) is
file://host/path/to/file, but R only accepts the form with an empty host
field referring to the local machine. This is then file:///path/to/file,
where path/to/file is relative to /. So although
The only difference I see is the http vs https, perhaps you require a sort
of auth to access that file.
On 6 January 2011 19:53, John Kane jrkrid...@yahoo.ca wrote:
# Can anyone suggest why this works
datafilename -
http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data;
but it's definately annoying.
--- On *Thu, 1/6/11, Alberto Negron albertoneg...@gmail.com* wrote:
From: Alberto Negron albertoneg...@gmail.com
Subject: Re: [R] Accessing data via url
To: John Kane jrkrid...@yahoo.ca
Cc: R R-help r-h...@stat.math.ethz.ch
Received: Thursday, January 6, 2011, 3
25 matches
Mail list logo