Learn R Programming

seqinr (version 4.2-36)

parser.socket: Utility function to parse answers from an ACNUC server

Description

Answers from server looks like : "code=0&lrank=2&count=150513&type=SQ&locus=F".

Usage

parser.socket(onelinefromserver, verbose = FALSE)

Value

A vector of mode character or NULL if onelinefromserver is NULL or if its length is 0.

Arguments

onelinefromserver

a string

verbose

logical, if TRUE mode verbose is on

Author

J.R. Lobry

References

citation("seqinr")

See Also

choosebank, query

Examples

Run this code
stopifnot(all(parser.socket("code=0&lrank=2&count=150513&type=SQ&locus=F") 
                                     == c("0", "2", "150513", "SQ", "F")))

Run the code above in your browser using DataLab