I try to use R through the Unix server in my university. When I want to install an R package, I don't have the permission to change the R library. So I installed another version of R under my user's folder on the server, which seems successful. However, when I try to run it, the default R on the server is the one installed by the administrator. How can I change the default R to the one I newly installed, so I have the permission to r/w/x and add the R package I need? Thanks a lot!
Looks like something you can change in your .profile no?
Mind you, not sure I understood: Is it you installed a new version but when you launch its the old one that is being called?
If so its your PATH you need to correct with other specific variables I presume...
If you have succeeded in your installation (I know nothing about R.. is it good? Here we pay $$$ to SAS...) look where your binaries are (executable files...) usually in a ~/bin directory. go there and type pwd, this will give you the path you are to enter or set in PATH variable.
Now where things get more tricky is where is set the PATH to the old binaries:
First type which <your executable R>, it will give you the path.
Next, find where that path was set:
If global (as default for all users...) it will be certainly in /etc/profile and you cannot change it unless you have sufficent priviledge else in your .profile (in your home directory) in which case you edit it with vi and correct the PATH variable.
if it is global and you cant change it. Then in your .profile you may see something like:
PATH=$PATH:<newpath>:<etc...>
Be sure to set the new before $PATH (the content of /etc/profile) so it is found first.
The other option is to customise your profile for the new R, in a new profile file you call for example profiile_R. Here you set all you need for this enivronment
and you source to it by executing it in this way:
Hi,
I have two unix servers i need to move files from one server to another.
For example:
i have some files in Server1 and i want to run script in server2 to move files from server1.
Any suggestion
Thanks in advance (1 Reply)
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
There is a unix server where the time zone has been changed from EST to CST.Can we get any kind of log when it was changed anywhere in the unix machine. Also the path for the same.
If there is any other way to know this please let me know (3 Replies)
Hi everyone:
I have a server running AIX 6.1, I've upgraded the TL from 6100-0100 to 6100-04-02-1007, however since then all the executables I compile are 32-bit mode by default, how can I solve this?
I'm using VisualAge C/C++ 10.0
thanks in advance (4 Replies)
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
I am getting the fallowing error when i am trying to execute the scp commomd in shell script
warning: You have no controlling tty. Cannot read confirmation.
warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.).
scp2: warning: ssh2... (1 Reply)
what command do you use to change a unix server name.
i've tried hostname, but when the unix server is rebooted, it reverts back to the old server name.
regards
venhart (3 Replies)
Hi,
I would like to connect UNIX server to UNIX server through shell scripts
and i have some concepts . But i am totally confused how to connect UNIX
server to UNIX server throuth running a script. It will be greatful to me if
any buddy will help me.
with simple example please.
Thanks in... (2 Replies)
Hi,
I would like to connect UNIX server to UNIX server through shell scripts
and i have some concepts . But i am totally confused how to connect UNIX
server to UNIX server throuth running a script. It will be greatful to me if
any buddy will help me.
Thanks in advance.
Phatan:) (2 Replies)