Displaying 20 results from an estimated 2000 matches similar to: "Using download.file() to grab information from a Password Protected Website"
2004 Jan 12
1
ReadLines does not give results with urls
Hello,
I am using R version 1.8.1 on a linux machine (Suse 8.2.).
I have problems to use readLines() with urls.
This seems to be a problem with our proxy-server.
Downloading files work with download.file() with wget but not without:
> download.file(url = "http://cran.r-project.org/src/contrib/PACKAGES", destfile = "test.txt", method = "wget", cacheOK = FALSE)
2007 May 22
1
Segfault?
Hello everyone,
I get (reproducible) segfaults when I try to update my packages, and
was wondering whether anyone knows why this might be happening.
I am trying to update my packages:
1. I start R via sudo in a terminal
2. I type update.packages() - a Tcl/Tk list pops up, I select a mirror
3. R segfaults.
Maybe I need to update to a newer version of R or something?
Slightly OT, but does anyone
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
The patch below adds support for custom HTTP headers in
download.file() and url().
My main motivation for this is performing basic http authentication.
Some web sites do not support embedding the credentials into the URI
itself, they only work if the username and password are sent in the
HTTP headers. In fact specifying the username and password in the URI
has been
2008 Nov 14
1
Problems when I try to download.file pdfs
Hello,
I have been trying to download a pdf file but I only receive
a blank sheets.
I used the option internet2 in windows:
Rgui.exe --internet2
but I recieved the same result.
I use the next command:
ulr2 <- "http://cran.r-project.org/doc/manuals/R-intro.pdf"
download.file(url = ulr2, destfile = "D:\\users2\\r-intro.pdf",cacheOK =
FALSE)
Any ideas how I can resolve
2010 Jul 12
2
Accessing files on password-protected FTP sites
Hello everyone,
Is it possible to download data from password-protected ftp sites? I saw
another thread with instructions for uploading files using RCurl, but I
could not find information for downloading them in the RCurl documentation.
I am using R 2.11 on a Windows XP 32-bit machine.
Thanks in advance,
Cliff
--
View this message in context:
2006 Jun 15
2
download.file() yields incomplete files with method="internal"
Dear all,
as the bug # 7991 is flagged not-reproducible, let me give you some pieces
of code, as I have the same or similar problem. The problem always shows up
with the first example (a small text file) and only sometimes (but without
obvious pattern) with the second example, which is a binary file.
> download.file("ftp://ftp.nhc.noaa.gov/pub/atcf/btk/bal012006.dat",
2011 Aug 26
1
issue with available.packages() and download.file()
Dear R-Users,
I think I have encountered a potential bug (or at least unwanted behavior),
but I'm not sure so I wanted to post here first. Lately I've been
encountering an error when running a package I put together. I have my
package set up to check for updates when it loads but this error occurs and
stops the package from loading:
Error : .onLoad failed in loadNamespace() for
2012 Sep 17
1
download truncating large files
Hi there,
I have had a problem with loading the package XLConnectJars_0.2-0.zip from the CRAN mirrors. The problem occurs when executing
utils:::menuInstallPkgs()
I have traced the problem down to the "download" internal command. It appears that files over approx 15 MB are being truncated. The exact point of truncation varies slightly but the truncation is on a 4096-byte boundary.
I
2006 Aug 31
0
Data Download Probelm from Yahoo
Hi All,
I'm trying to download data using following code.
require(UsingR) ## This is the R-package you need
to run command yahoo.get.hist.quote
#Initialize empty table
closing <-NULL
#Downalod consituents since I don't have it on my comp
download.file("http://www2.standardandpoors.com/spf/csv/index/sp500.csv",
"Z:/BETA PROJECT/DATA DOWNLOAD FROM
2017 Jun 06
0
Error in readRDS(dest) SOLVED
On Wed, 31-May-2017 at 10:05AM -0400, Martin Morgan wrote:
|> On 05/31/2017 04:38 AM, Patrick Connolly wrote:
|> >When I check out those directories in a terminal, there's a big diffrence:
|> >
|> >With R-3.4.0
|> >~ > ll /tmp/RtmpFUhtpY
|> >total 4
|> >drwxr-xr-x 2 hrapgc hrapgc 4096 May 31 10:45 downloaded_packages/
|> >-rw-r--r-- 1 hrapgc
2009 Jul 22
0
download.file() help! setting the proxy for user /passw0rd
I would like to download climate data files from PCMDI website using R. I
tried this line below and I was not able to get the file mainly due to user
name and password requirements. I am looking for help for setting up the
user and password within R (or somewhere). I have read the FAQ but
unfortunately I am a newbie on R and couldnt figure out how to do it. Many
thanks in advance
2005 May 12
2
Batch mode problem: figure margins too large (code corrected for word wrap)
First of all, I apologize for the triple post, but I did not see that the
word wrap on the r-help list site would render my code unusable. So here it
is again. Hoping that this time it will work if you cut and paste it in
your Rgui.
I have a program that works well in Rgui but that does not work in a batch
file (Execution halted).
Here's the code (it will work on your R, but you need
2013 Feb 01
1
stable/9: Force ada1 to UDMA-33
Hello,
I've got a (P)ATA disk in a special frame. The disk itself
supports UDMA-100 (and has an 80-ribbon cable), but the
frame isn't compatible with that. By default, FreeBSD
negotiates UDMA-100, and the console starts to fill with
ICRC errors.
In the past, I used a patch to ata-all.c that enabled the
following entry in loader.conf to force the disk to UDMA-33,
so it worked fine:
2007 May 08
1
the website ban me when I use mechanize to grab its content, how to solve it?
Dear all,
I keep grab photos from one website.
At first I show them the default user agent (WWW-Mechanize). But
obviously they don''t like this behavior and ban the user agent
WWW-Mechanize. So I have to forge an IE user agent. It works for some
time. But the website administrator seemed to detect my behavior and
banned me again. This time I can not bypass it by simply modifying the
user
2005 Nov 16
2
X11 error in png
Hi all,
When I ran a script containing the following codes:
png(paste(savepath,"a_rnaplot.png",sep = ""),width = fwidth, height = fheight,pointsize = fpointsize);
data_deg <- AffyRNAdeg(data_cel)
plotAffyRNAdeg(data_deg,col=cols,lty=1,lwd = "2")
#a <- par("fin")
legend("bottomright",sampleNames(data_cel),col=cols,lty=1)
2006 May 09
1
Seg fault when installing package from bad repository
> install.packages("rggobi", repos="http://ggobi.org/r/")
Warning in install.packages("rggobi", repos = "http://ggobi.org/r/") :
argument 'lib' is missing: using /Users/hadley/Library/R/library/
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at
2006 Aug 09
1
Displaying data from multiple models in a single view
I''m new to Ruby on Rails and I''m working on a simple app that manages
serial numbers/product keys for software.
I have three models and database tables setup:
Categories
Products
Serials
I''ve setup a view that shows each category on its own page. On a
category page, I''d like to have listed all of the products that belong
to that category along with all of
2008 Jan 29
8
Sending file from mobile phone to Rails app
Hi guys,
So I''m trying to add the ability to send files (pictures) from mobile
phones to my Rails app using an SMS number, NOT an email address.
Can anyone share how this is done?
Thanks,
Adeel
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
1999 Jul 01
2
Samba shares accessible from Win98 but not WinNT
The subject line says it all really. I'm running Samba 2.0.4.b on FreeBSD,
sharing a tree as I normally do (we use samba on about a dozen machines so
I'm reasonably familiar with it). This one particular machine is not
accessible from Windows NT Workstation 4.0 clients. It works fine for
Windows 95 and Windows 98 clients.
The machine does not show up in the Network Neighborhood for
2020 Sep 07
4
No DNS domain configured
See below, basicly what now happend is.
This one line :
> 127.0.1.1 gaia.rompen.local gaia <<<< CHANGE THIS
Is what is your problem.
Read throught the settings, you need a few changes.
Its mostly good.
After the changes, reboot the AD-DC.
Then after its rebooted and after the changes for the member, reboot that also.
Then is should be ok.
Greetz,
Louis
>