Skip to content

Running R on a Local Area Network

5 messages · Henri Tourneur, Jesus Frias, Uwe Ligges +2 more

#
A couple of months ago I downloaded R 1.6.0's binary for Windows, which I have 
since been using without any particular problem, that is  on one machine running 
Windows 98.

Last week I set up a local network and have since tried to use R remotely, i.e. 
R is installed on the previous machine and nowhere else.  On the client's side, 
the GUI opens correctly and allows me to do simple computations such as 
x<-1:20
y<-1:20
plot(x,y)

So far, so good. Problem  is with packages which I don't seem to be able to 
access on the server (locally, I repeat, this works fine)

i.e. when I try library()
I get 

no packages found
Warning message: 
libraries `//ServerComputer/c/Program Files/R/rw1060/library', 
`//SERVERCOMPUTER/C/PROGRA~1/R/RW1060/library' contain no packages in: library() 

Does that ring any bell to one of you  ?  Am I trying to do something R was 
never designed to do in the first place ?


Henri
#
Dear R-helpers,

	Would anybody have a compiled binary version (for Windows) of the Dopt
library that is in the development site?.

best regards,

IOsu

--------------------------------------------------------------
Jes?s Mar?a Fr?as Celayeta
Dublin Institute of Technology
School of Food Sci. and Env. Health.
Cathal Bruha St., Dublin 1. Ireland
Phone: +353 1 4024459 Fax: +353 1 4024495
http://www.dit.ie/DIT/tourismfood/science/staff/frias.html
--------------------------------------------------------------
#
Henri Tourneur wrote:
We are running R completely from a server (all machines, both server and 
clients, are NT-based, i.e. WinNT, WinXP), and it works without any 
problems.

But you should consider the following points:

- Use a sensible network share (i.e. regularly it's not a good idea to 
share the whole drive).
- Don't use any blanks in the paths. (e.g., we have installed R at the 
following UNC path: "\\server\software\R")
- Assign a drive letter to the UNC path at the client side, e.g. with a 
startup script that includes the line:
  net use s: \\server\software
So you can create a shortcut that starts R at the following location: 
s:\R\bin\RGui.exe

Uwe Ligges
#
You should try mapping your remote files to a local drive. It's absolutely
normal to do so.  I have no idea why this is not working, as all the I/O
is done via normal Windows API calls.  Once mapped it certainly works:
our lab has R on the N: drive, which is served from a remote Linux Samba
server.

By the way, I am sure you are not trying to run R remotely: R is running
on the local machine but using files served from a remote machine without
being mounted.  This is equivalent to expecting server:/usr/local/bin/R
syntax to work on a Unix box (which it will not).
On Wed, 18 Dec 2002, Henri Tourneur wrote:

            

  
    
#
I''ll send you one tomorrow.

Kjetil Halvorsen
Jesus Frias wrote: