Displaying 20 results from an estimated 20 matches for "urldecode".
Did you mean:
url_decode
2009 Aug 29
2
RFE: vectorize URLdecode
In R 2.9.2,
> URLdecode(c("a%20b", "b%20c"))
[1] "a b"
Warning message:
In charToRaw(URL) : argument should be a character vector of length 1
all but the first element will be ignored
Could URLdecode be modified to actually process all elements of the vector, not
just the first?
Thanks in a...
2010 Jun 23
1
is there a Decode HTML function somewhere (similar to URLdecode)?
Dear all,
I am aware of the URLdecode(..) function and was wondering if there
was something similar for HTML?
For example, I would like to convert strings like this:
> x <- "isn't"
into this:
> "isn't"
Many thanks for your time,
Tony Breyal
# O/S: Windows Vista 32 bit
# R version 2.11.0 (...
2018 May 04
2
download.file does not process gz files correctly (truncates them?)
...II code for the dot instead of the dot itself. That's
general practice in a lot of links.
Hence I propose to change the line in download.file() that does this check
to:
if (missing(mode) && length(grep("\\.(gz|bz2|xz|tgz|zip|rda|RData)$",
URLdecode(url))))
using URLdecode() ensures that .gz, .RData etc will be detected correctly
in an encoded URL.
Cheers
Joris
--
Joris Meys
Statistical consultant
Department of Data Analysis and Mathematical Modelling
Ghent University
Coupure Links 653, B-9000 Gent (Belgium)
<https://maps.google.com/?q...
2018 May 04
0
download.file does not process gz files correctly (truncates them?)
...dot instead of the dot
> itself. That's general practice in a lot of links.
> Hence I propose to change the line in download.file() that
> does this check to:
> if (missing(mode) && length(grep("\\.(gz|bz2|xz|tgz|zip|rda|RData)$",
> URLdecode(url))))
> using URLdecode() ensures that .gz, .RData etc will be
> detected correctly in an encoded URL.
> Cheers Joris
Makes sense to me and I plan to add it when also adding '.rds'
{ OTOH, after reading the thread about this: Shouldn't you make
your code mor...
2007 Feb 05
1
Build error with last R-devel tarball
...0-bioc\R\src\gnuwin32> make
...
...
---------- Making package utils ------------
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
installing R files
Error in namespaceExport(ns, exports) : undefined exports :?, CRAN.packages,
Rprof, Rprofmem, RShowDo
c, RSiteSearch, URLdecode, URLencode, alarm, apropos, argsAnywhere,
assignInNamespace, as.roman, as.p
erson, as.personList, available.packages, browseEnv, browseURL, bug.report,
capture.output, checkCRAN
, chooseCRANmirror, citation, citEntry, citHeader, citFooter, close.socket,
combn, compareVersion, co
ntrib.url, count.fi...
2007 Aug 01
4
Extracting a website text content using R
Dear useR,
Just wandering whether it is possible that there is any function in R could
let me get the text contents for a certain website.
Thanks a lot!
Best,
Leon
[[alternative HTML version deleted]]
2018 May 07
2
download.file does not process gz files correctly (truncates them?)
...gt; itself. That's general practice in a lot of links.
>
> > Hence I propose to change the line in download.file() that
> > does this check to:
>
> > if (missing(mode) && length(grep("\\.(gz|bz2|xz|tgz|zip|rda|RData)$",
> > URLdecode(url))))
>
> > using URLdecode() ensures that .gz, .RData etc will be
> > detected correctly in an encoded URL.
>
> > Cheers Joris
>
> Makes sense to me and I plan to add it when also adding '.rds'
>
> { OTOH, after reading the thread about thi...
2007 Nov 03
1
a couple of swfdec patches.
...rl...
Maybe this one is not ok, but the current code is too strict (and fails
on sites like http://www.kanal5.se flash in upper right corner, and
others):
http://www.fatal.se/tmp/swf/swfdec-nonstrict-variable-parsing.diff
(attached).
(... and can't the url formdata encoded string be UTF-8? the urldecode
helpers can't handle utf-8 if I read them correctly.)
Have a nice weekend!
--
Regards,
Andreas Henriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swfdec-use-after-free.diff
Type: text/x-patch
Size: 664 bytes
Desc: not available
Url : http://lists.f...
2004 Aug 06
3
get status.xml's variable using a php file
...e("</$loop[$y]>.*", "", $pageed); //finish extracting data
if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE) //if for code clean-up (if you have problems with variables with URL encoding (i.e. %20 for space put them in this loop)
$$phpname = urldecode($$phpname); // replace URL code with regular text (i.e. %20 = space)
##More stuff that prints##
echo ('$'.$phpname.' = '.$$phpname.' <BR>');
##Stop here. Your server will be upset if you comment out the next line of code ($y++;).##
$y++; //update dummy variable...
2018 May 03
4
download.file does not process gz files correctly (truncates them?)
Also, as mentioned in my
https://stat.ethz.ch/pipermail/r-devel/2012-August/064739.html, when
not specifying the mode argument, the default on Windows is mode = "w"
*except* for certain, case-sensitive, filename extensions:
if(missing(mode) && length(grep("\\.(gz|bz2|xz|tgz|zip|rda|RData)$", url)))
mode <- "wb"
Just like the need for mode =
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
...s by their name prefixed by C_
useDynLib(utils, .registration = TRUE, .fixes = "C_")
-export("?", .DollarNames, CRAN.packages, Rprof, Rprofmem, RShowDoc,
+export("?", .DollarNames, CRAN.packages, Rcov_start, Rcov_stop, Rprof, Rprofmem, RShowDoc,
RSiteSearch, URLdecode, URLencode, View, adist, alarm, apropos,
aregexec, argsAnywhere, assignInMyNamespace, assignInNamespace,
as.roman, as.person, as.personList, as.relistable, aspell,
diff -ruN R-devel/src/library/utils/R/Rcov.R R-devel-cov/src/library/utils/R/Rcov.R
--- R-devel/src/library/utils/R/Rco...
2011 Jan 06
8
Accessing data via url
# 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)
2009 Sep 01
1
Logistic Politomic Regression in R
...est R text editors? (Liviu Andronic)
17. Change the Order of a Cluster Topology (Rodrigo Aluizio)
18. Best R text editors? (Rodrigo Aluizio)
19. RConsole processing crashes Rgui.exe (Jack Tanner)
20. Re: correlation between two 2D point patterns? (Charles C. Berry)
21. Re: RFE: vectorize URLdecode (Jack Tanner)
22. Re: about isoMDS method (stephen sefick)
23. abline does not show on plot if slope differs from 0
(G?bor Pozsgai)
24. Re: lrm in Design (Gabor Grothendieck)
25. Re: abline does not show on plot if slope differs from 0
(jim holtman)
26. Re: abline does not sho...
2004 Dec 27
4
Found security expliot in port phpBB 2.0.8 FreeBSD4.10
I think, there is a neat exploit in the phpbb2.0.8 because I found my home
page defaced one dark morning. The patch for phpBB is here.
http://www.phpbb.com/downloads.php
The excerpt of the log is attached.
I believe the link to the described exploit is here.
http://secunia.com/advisories/13239
The defacement braggen page is here filter to show the exploited FreeBSD
machines that aneurysm.inc
2005 Oct 06
0
R-2.2.0 is released
...ans3d(), the 3D -> 2D utility from persp()'s
example, and extendrange(), both in package 'grDevices'.
o TukeyHSD() now returns p-values adjusted for multiple comparisons
(based on a patch contributed by Fernando Henrique Ferraz P. da Rosa).
o New functions URLencode() and URLdecode(), particularly for use
with file:// URLs. These are used by e.g. browse.env(),
download.file(), download.packages() and various help() print
methods.
o Functions utf8ToInt() and intToUtf8() to work with UTF-8
encoded character strings (irrespective of locale or OS-level
UTF-8 support)....
2005 Oct 06
0
R-2.2.0 is released
...ans3d(), the 3D -> 2D utility from persp()'s
example, and extendrange(), both in package 'grDevices'.
o TukeyHSD() now returns p-values adjusted for multiple comparisons
(based on a patch contributed by Fernando Henrique Ferraz P. da Rosa).
o New functions URLencode() and URLdecode(), particularly for use
with file:// URLs. These are used by e.g. browse.env(),
download.file(), download.packages() and various help() print
methods.
o Functions utf8ToInt() and intToUtf8() to work with UTF-8
encoded character strings (irrespective of locale or OS-level
UTF-8 support)....
2019 Apr 26
0
R 3.6.0 is released
...ass2) looks for class2 in the calling namespace
after looking in the namespace of class(object).
* extendrange(.., f) with a length-2 f now extends separately to
the left and the right.
* lengths() dispatches internally to S4 methods.
* download.file() on Windows now uses URLdecode() to determine the
file extension, and uses binary transfer (mode = "wb") also for
file extension .rds.
The help page for download.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL...
2019 Apr 26
0
R 3.6.0 is released
...ass2) looks for class2 in the calling namespace
after looking in the namespace of class(object).
* extendrange(.., f) with a length-2 f now extends separately to
the left and the right.
* lengths() dispatches internally to S4 methods.
* download.file() on Windows now uses URLdecode() to determine the
file extension, and uses binary transfer (mode = "wb") also for
file extension .rds.
The help page for download.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL...
2019 Apr 26
0
R 3.6.0 is released
...ass2) looks for class2 in the calling namespace
after looking in the namespace of class(object).
* extendrange(.., f) with a length-2 f now extends separately to
the left and the right.
* lengths() dispatches internally to S4 methods.
* download.file() on Windows now uses URLdecode() to determine the
file extension, and uses binary transfer (mode = "wb") also for
file extension .rds.
The help page for download.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...t; convert these entities within R. It's not the same as converting between
> character encodings, otherwise iconv() might offer a solution.
>
> I'll have a look around to find a solution, and I hope others will too.
> My first idea is to check RCurl, XML, and the related utils::URLdecode.
> If there really is no existing solution, I think it might be worthwhile
> to look at how PHP and Python do it (and maybe borrow some code :) ).
>
> -Matt
>
>
> On Thu, 2010-12-09 at 14:27 -0500, Tal Galili wrote:
> > Hi Matt,
> > Thanks for having a look at this....