Dear Dr. Bernhard
Thank you very much for quick reply. One good news is that i can connect
with Neos server. I appreciate your suggestion to change 'protocols' to
'proxy'. after assigning proxy, i can connect with my desired website.
Thankyou very much
With best regards
Rubel
On Thu, Dec 6, 2012 at 3:32 AM, Bernhard Pfaff
<bernhard@pfaffikus.de>wrote:
> Hello Rubel,
>
> many thanks for your email. Diagnosing your problem is a bit hard
> without further information, hence I can only provide you with some
> pointers for further checking/testing:
>
> 1) You specify implictly a port for the proxy. Is this the correct one?
> 2) Specify, 'proxy' as a list element for your proxy. See
> listCurlOptions() on what is available and can be included in your list
> object for 'curlopts'.
> 3) Can you establish a connection to some other site by means of the
> provided functions in RCurl and your chosen setting?
>
> Best,
> Bernhard
>
>
> Am Mittwoch, den 05.12.2012, 19:15 +0900 schrieb Rubel Das:
> > Dear Dr. bernhard
> > cc. r-help
> > Thank you very much for deverlopping rneos package. I read the
> > document of rneos.
> > however, due to my inability, i could not figure-out how to connect
> > with neos server from R environment.
> >
> >
> > let me explain the steps, i took. my laptop is using wireless of my
> > laboratory. to connect the internet, i need proxy address and specific
> > port (that i have mentioned in protocols in CreateNeosComm). However,
> > the proxy server does not have any password though to access wifi i
> > need password.
> > After inserting the protocols as shown in Input (below), i have go the
> > output as shown in below.
> >
> >
> >
> >
> >
> > input
> > library (rneos)
> >
NC<-CreateNeosComm(curlopts=list(httpheader=c('content-type'="text/xml",
> 'User-Agent'="R"), protocols=proxy.noc.titech.ac.jp:3128,
> port=3332),curlhandle=getCurlHandle())
> > #to check the neos server is active"NeosServer is alive" is
returned
> > Nping(convert=T, nc=NC)
> >
> >
> > output
> > > library (rneos)
> > >
> >
NC<-CreateNeosComm(curlopts=list(httpheader=c('content-type'="text/xml",
> 'User-Agent'="R"), protocols=proxy.noc.titech.ac.jp:3128,
> port=3332),curlhandle=getCurlHandle())
> > Error in match(x, table, nomatch = 0L) :
> > object 'proxy.noc.titech.ac.jp' not found
> > > #to check the neos server is active"NeosServer is
alive" is returned
> > > Nping(convert=T, nc=NC)
> > Error in .postForm(curl, .opts, .params, style) :
> > Stale CURL handle being passed to libcurl
> > Error in curlSetOpt(writefunction = NULL, curl = curl) :
> > Stale CURL handle being passed to libcurl
> >
> >
> >
> >
> > Since this procedure is not working, would you suggest me how can i
> > fix the problem?
> > i appreciate your help.
> >
> >
> >
> >
> > --
> > With best Regards
> > Rubel Das
> >
> >
> > Hanaoka Research Group/Transport Planning
> > Dept. of International Development Engineering
> > Tokyo Institute of Technology
> > 2-12-1-I4-12, O-okayama, Meguro-ku, Tokyo, 152-8550, Japan
> >
> >
> > email: rubeldas2013@gmail.com
> > rubeldas@tp.ide.titech.ac.jp
> >
> >
>
>
>
--
With best Regards
Rubel Das
Hanaoka Research Group/Transport Planning
Dept. of International Development Engineering
Tokyo Institute of Technology
2-12-1-I4-12, O-okayama, Meguro-ku, Tokyo, 152-8550, Japan
email: rubeldas2013@gmail.com
rubeldas@tp.ide.titech.ac.jp
[[alternative HTML version deleted]]