Displaying 1 result from an estimated 1 matches for "kasam".
Did you mean:
kasan
2012 Apr 21
1
how to write html output (webscraped using RCurl package) into file?
...e/?id=d1fjgc2&output=html",showing
information in webpage to be written in .txt file as it is(i don't want any
html tag)
i am using "RCurl" package
>marathi<-htmlTreeParse("http://scop.berkeley.edu/astral/pdbstyle/?id=d1fjgc2&output=html")
>marathi
>kasam<-marathi$children$html[["body"]][["pre"]][["text"]]
>kasam
> write(kasam,"papita.txt")
Error in cat(list(...), file, sep, fill, labels, append) :
argument 1 (type 'list') cannot be handled by 'cat
i want to write kasam, as shown on co...