[R] Problem in Starting R Server - object of type 'closure' is not subsettable

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Tue Nov 27 09:10:39 CET 2012


On Tue, Nov 27, 2012 at 6:33 AM, Manoj G <manoj.g at isim.net.in> wrote:
> Hi All,
>
> I am trying to start R Server to run some Java Script in my local machine
> using the library, 'Rook'. I use Windows 7.
>
> And my codes are following,
>
>> library(Rook)
>
>> myD3dir <- 'D:\\STUDIES\\Java script\\d3-master'
>> s <- Rhttpd$new
>> s$start(quiet=TRUE)

Have you read help(Rhttpd)?

 s <- Rhttpd$new()
 s$start(quiet=TRUE)

 - there is a subtle difference between that and what you did! Can you spot it!?

Barry




More information about the R-help mailing list