Description Usage Arguments Value Author(s) See Also Examples
View source: R/utils.xmlRead.R
Read XML Data From Type 'xmlReadData_image' as R Variable
1 | xmlReadData_image(xmlItem)
|
xmlItem |
( |
(vector
)
Matthias Pfeifer matthias.pfeifer@roche.com
1 2 3 4 5 6 7 8 | location <- find.package("RTest")
data <- paste0(
'<variable name="myvar" value="',location,
'/images/Roche_Logo.png" type="character" image="TRUE"/>'
)
item <- XML::xmlRoot(XML::xmlParse(data,asText=TRUE))
value <- RTest::xmlReadData_image(item)
stopifnot(grepl("png",value$address))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.