Hi All? I am new to R. To import data with .asc ending from the web into R, I have tried many functions for importing data but it came out not well. The problem may seem to be very basic but unfortunately I haven?t found any useful information somehow. Which command should I use for that purpose? Here ist the url of the data: https://moodle.lmu.de/pluginfile.php/218819/mod_resource/content/1/nba.asc Thanks in advance! Best regards, Yiting [[alternative HTML version deleted]]
Have you tried that url in a web browser? I encountered an access permission error. If you also encountered an error, then so would R. You need to download the file using appropriate access credentials (typ. through a web browser) and read it from disk. FWIW the ".asc" extension is very nearly meaningless as to identifying the format of the data inside the file. The only useful information imparted by that extension is that you can use a text editor to view it and judge by inspection what the layout is. Originally that extension was used for storing the readable output of a program, which could be laid out in any form deemed readable by a human, with little regard for whether it would be machine-readable. On June 3, 2018 7:52:58 AM MDT, Qian Yiting <yellowbanana27 at hotmail.com> wrote:>Hi All? > >I am new to R. To import data with .asc ending from the web into R, I >have tried many functions for importing data but it came out not well. >The problem may seem to be very basic but unfortunately I haven?t >found any useful information somehow. Which command should I use for >that purpose? > >Here ist the url of the data: >https://moodle.lmu.de/pluginfile.php/218819/mod_resource/content/1/nba.asc > >Thanks in advance! > >Best regards, >Yiting > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >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.-- Sent from my phone. Please excuse my brevity.
> On Jun 3, 2018, at 6:52 AM, Qian Yiting <yellowbanana27 at hotmail.com> wrote: > > Hi All? > > I am new to R. To import data with .asc ending from the web into R, I have tried many functions for importing data but it came out not well. The problem may seem to be very basic but unfortunately I haven?t found any useful information somehow. Which command should I use for that purpose? > > Here ist the url of the data: > https://moodle.lmu.de/pluginfile.php/218819/mod_resource/content/1/nba.ascThis URL requires authorization. You probably need to sign in with your username and password and download with a browser or FTP client. The instructions should be somewhere in their website (which is in German).> > Thanks in advance! > > Best regards, > Yiting > > [[alternative HTML version deleted]]R-help is a plain text mailing list. Please read these instructions as well as the instructions at https://moodle.lmu.de/> > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.-- David.