[r-node-users] R-Node ExtJS revamp is completed.

28 views
Skip to first unread message

Jamie Love

unread,
Apr 22, 2010, 7:04:27 AM4/22/10
to r-node...@googlegroups.com
Hi all,

I've completed the conversion to using ExtJS for R-Node. All features
that were working prior to these changes work again.

You can see the new UI at:

http://www.squirelove.net:2904/

All code is checked into the R-Node repository on gitorious:
http://gitorious.org/r-node

Next up, data upload!

Jamie


--
Subscription settings: http://groups.google.com/group/r-node-users/subscribe?hl=en

Vinh Nguyen

unread,
Apr 22, 2010, 6:25:26 PM4/22/10
to r-node...@googlegroups.com
Did a pull and make (even cloned the repository again) and got after I
pasting the url in the browser:

22 Apr 15:17:01 - (local): R-Node Listening on port: '2903', interface: 'all'
22 Apr 15:17:04 - 173.51.43.228: Getting file: 'htdocs/index.html'
TypeError: Object #<a ServerResponse> has no method 'end'
at /home/vinh/Downloads/r-node/deploy/r-node.js:331:26
at fs:51:23
at node.js:813:9

Also, what's the proper way to close Rserve? I always get .so still
runing after quitting with q().

Jamie Love

unread,
Apr 22, 2010, 10:59:20 PM4/22/10
to r-node...@googlegroups.com
I think I updated to the latest R-Node:

http://github.com/ry/node

codebase to fix a crash problem (it kept crashing on the demo system),
and that necessitated a change.

To make it easier for you, I'll be a little more careful in future and
when I upgrade anything like Nodejs I'll let you know via this list.

Sorry for the bother,
Jamie

Vinh Nguyen

unread,
Apr 23, 2010, 10:30:00 AM4/23/10
to r-node...@googlegroups.com
On Thu, Apr 22, 2010 at 7:59 PM, Jamie Love <drj...@gmail.com> wrote:
> I think I updated to the latest R-Node:
>
> http://github.com/ry/node
>
> codebase to fix a crash problem (it kept crashing on the demo system),
> and that necessitated a change.
>
> To make it easier for you, I'll be a little more careful in future and
> when I upgrade anything like Nodejs I'll let you know via this list.
>
> Sorry for the bother,
> Jamie

OK, did this and used your config files and the server now works with
users. However, trying to use it, I get:

Try running the command:
x <- rnorm(100); y <- rnorm(100); plot (x,y, type='o')


> x <- rnorm(100); y <- rnorm(100); plot (x,y, type='o')

> x

> y

unknown unknown (-1: transaction aborted)

unknown unknown (-1: transaction aborted)

> 1:4

> x <- rnorm(100)

> x

unknown unknown (-1: transaction aborted)

unknown unknown (-1: transaction aborted)

Not plot did not show up.

Jamie Love

unread,
Apr 25, 2010, 4:35:50 AM4/25/10
to r-node...@googlegroups.com
Hi Vinh,

Never seen those errors before. Is that on the server or client side?

If on the client side, does anything show up on the server side?

After logging in, do you get the blurb correctly showing up (the one
that states the R version number and the copyright information)?

If the blurb shows up, what does the command:

R.version.string

return? anything at all?

Ta

Vinh Nguyen

unread,
Apr 26, 2010, 10:27:47 PM4/26/10
to r-node...@googlegroups.com
On Sun, Apr 25, 2010 at 1:35 AM, Jamie Love <drj...@gmail.com> wrote:
> Hi Vinh,
>
> Never seen those errors before. Is that on the server or client side?
>

that was in the web side of thing, so client.

> If on the client side, does anything show up on the server side?
>

26 Apr 19:23:14 - (local): Loaded Users from 'etc/users.js'
26 Apr 19:23:14 - (local): RServe requires login. Using information from config.
26 Apr 19:23:14 - (local): Logged into R via RServe: true

nothing after this when I type in in client side.

> After logging in, do you get the blurb correctly showing up (the one
> that states the R version number and the copyright information)?
>

yes it does, but that's there even before i punch in login information.

> If the blurb shows up, what does the command:
>
> R.version.string
>
> return? anything at all?
>

same as before.

> Ta

Jamie Love

unread,
Apr 27, 2010, 3:22:20 AM4/27/10
to r-node...@googlegroups.com
What sort of web browser are you using?

If I run a R command from the web interface, I get something like this
in my server output:

27 Apr 19:19:21 - 127.0.0.1: Executing R command: 'R.version.string'
27 Apr 19:19:21 - 127.0.0.1: Result of R command: 'R.version.string' received.


So if you're not seeing anything like that, maybe the request isn't
reaching the server.

Are there any javascript errors in the web browser?

I mostly test with FireFox, with a little bit of Chrome as well
(running Linux), so no IE at the moment.
Reply all
Reply to author
Forward
0 new messages