Question

I'm trying to use postForm to log in to a website. The form requires a field called "next". postForm takes the form fields as a list called .params. But R cannot have a list where one of the names is "next":

> list(next="hi")
Error: unexpected '=' in "list(next="

Any suggestions?

Was it helpful?

Solution

Did you try quotes:

list('next'="hi")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top