there is an option in google doc to make public that file providing and http url, try Share -> Public as a web page... it may work if google does not mess up the txt too bad
Alberto On 6 January 2011 20:59, John Kane <[email protected]> wrote: > I don't know. I can access it from within OOo Calc so it might be an > authority problem but it seems unlikely or would Google sites have some > strange restrictions ? > > I did discover that the trees.txt file was rather messed up so I tried > again with a clean csv file and I'm still getting the same results. It > currently is not all that important but it's definately annoying. > > --- On *Thu, 1/6/11, Alberto Negron <[email protected]>* wrote: > > > From: Alberto Negron <[email protected]> > Subject: Re: [R] Accessing data via url > To: "John Kane" <[email protected]> > Cc: "R R-help" <[email protected]> > Received: Thursday, January 6, 2011, 3:38 PM > > > 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 > <[email protected]<http://mc/[email protected]> > > 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 <- " > 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 > > ______________________________________________ > [email protected] <http://mc/[email protected]> mailing > list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

