Re: [R] PCA
Hi, see tutorial for Adegenet, http://adegenet.r-forge.r-project.org/ | Documents | adegenet-basics.pdf | section 6. It should help You. Vojtěch - Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://trapa.cz/ -- View this message in context: http://r.789695.n4.nabble.com/PCA-tp4676674p4676691.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R in Linux (Ubuntu)
Hello, I can recommend Rkward. I use it and I'm fully satisfied with it. There is nice menu (You can click most of needed functions, load packages, ...), sheets with Your data, terminal with debugger and so on... Really good tool. Best regards, Vojtěch - Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ -- View this message in context: http://r.789695.n4.nabble.com/R-in-Linux-Ubuntu-tp3703329p3707810.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] (OT) Change of email address
Hello, go to https://stat.ethz.ch/mailman/options/r-help/y...@email and if You do not remember Your password, use Password reminder (down) to mail it to Your address. Then login and do all needed changes. You can replace r-hep in link above with r-sig-phylo, r-announce and so on. And of course replace y...@email above with probable ted.hard...@wlandres.net. Have a nice day! Vojtěch Dne St 29. září 2010 10:58:22 ted.hard...@wlandres.net napsal(a): Apologies for bothering anyone who may not be interested in this, but some of you will, for instance, have my current email address in your address books, etc. As result of a new policy by Manchester University, retired former staff who no longer contribute actively to research in their former departments are to have their email accounts closed. The address from which I have been mailing to R-help (etc.): ted.hard...@manchester.ac.uk will therefore soon be closed down. I have set up (and subscribed to R-help, R-devel, R-announce) a new email address: ted.hard...@wlandres.net If you have kept a record of my current (manchester.ac.uk) address, please modify this to the new address. Messages sent to the current address will continue to arrive, for another week or two. With thanks, and best wishes to all, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 29-Sep-10 Time: 16:58:18 -- XFMail -- __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Web forum - should I make one?
Hello, this might be little off-topic, but still... I have not found any official web forum for R users. Did I look good? If not, I'm sorry and shame on me! :-) Such forums are very probably the most common way to share information about all sorts of problems, to ask and get answer. See http://forums.opensuse.org/ as an example. Admins, developers, users, do You think to have such forum would be useful? If yes, I can create and manage it. If You have any idea about its possible functionality and content, let me know. If it would help R community, I will invest my time and energy to it. :-) Best regards, -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Web forum - should I make one?
Hello Dne Út 21. září 2010 11:55:02 Marc Schwartz napsal(a): Before creating yet another R discussion venue, you may wish to look at: http://stackoverflow.com/questions/tagged/r My idea was about something like this, but more complex, with categories and tools. And only for R. :-) This looks like general developers discussion. When I go to front page, it is hard to find anything about R... And also I aimed to make it an official part of R's infrastructure (after talking to responsible people, of course). Well, if You think the niche is filled, never mind, but I think R should have an official web forum. It can be stackoverflow (then I'd expect links from main R pages to it) or I (or someone else) can create it. Still, I think it is good idea to create one... More opinions? The R-* e-mail lists are the official venues and you can read/post via e-mail. There are also other means of interacting with the e-mail lists using Gmane and Nabble. Mailman is very good tool, but not for everything. And IMHO many people are more used to search, ask and work on forums than on mailinglists. However, the Stack Overflow R forum has evolved as an independent online presence in the recent past, as an alternative for folks who prefer that mode of interaction. HTH, Marc Schwartz On Sep 21, 2010, at 11:40 AM, Kjetil Halvorsen wrote: Did you look at: http://rwiki.sciviews.org/doku.php ? Wiki is not tool I mean. Well, I found there only one not working link and one link to mostly Chinese forum... So nothing useful, I thing. Kjetil Best regards, Vojtěch Zeisek 2010/9/21 Vojtěch Zeisek vojtech.zei...@opensuse.org: Hello, this might be little off-topic, but still... I have not found any official web forum for R users. Did I look good? If not, I'm sorry and shame on me! :-) Such forums are very probably the most common way to share information about all sorts of problems, to ask and get answer. See http://forums.opensuse.org/ as an example. Admins, developers, users, do You think to have such forum would be useful? If yes, I can create and manage it. If You have any idea about its possible functionality and content, let me know. If it would help R community, I will invest my time and energy to it. :-) Best regards, -- Vojtěch Zeisek -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Web forum - should I make one?
Hello Dne St 22. září 2010 00:30:26 Yihui Xie napsal(a): Ahh... I have almost forgotten the forum links I put in the R Wiki four years ago! Thanks for reminding me! As many Chinese users know, the Chinese R forum at http://cos.name/cn/ is pretty mature now. From my experience in maintaining this forum, I can fully understand Vojtěch's proposal, and in fact I also considered this years ago (see my failure at http://cos.name/en/). Mailing lists are easier to post messages, but I really believe they have too many disadvantages, e.g. (relatively) difficult to search, dull interface, HTML not welcome (I don't like HTML in emails, though), no lively images, no code highlighting, attachments often get chopped off, no RSS to subscribe, admins are still fighting with spams somehow manually (?), and imagine how painful it is for us to read the threaded web archives... Yes! That's where I point to. IMHO the best would be if whole R site would be running some modern content management system (Adnen mentioned some of them). I personally like Drupal (http://drupal.org/) - easy, user friendly, secure and tons of great functions. In all, we don't have to refuse technologies, and I totally agree with an official web forum for R. I am also willing to help if the R core members decide to start such a project. I'm not professional web developer, but I maintain several webs running Drupal and I think I can maintain one more. :-) And if someone else would work on it with me, it would be great. How does the R core members decision happens? Should I ask someone from there directly? P. S. I was really surprised quite a few weeks ago when I noticed the Omegahat project had set up a blog site (http://omegahat.wordpress.com)! Welcome to the web of the 21st century! was what I thought to myself. Current R's main web is really not example of good web... But to remake whole R's web is much more bigger task... Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA All the best, Vojtěch 2010/9/21 Vojtěch Zeisek vojtech.zei...@opensuse.org: Hello On Sep 21, 2010, at 11:40 AM, Kjetil Halvorsen wrote: Did you look at: http://rwiki.sciviews.org/doku.php ? Wiki is not tool I mean. Well, I found there only one not working link and one link to mostly Chinese forum... So nothing useful, I thing. Kjetil Best regards, Vojtěch Zeisek -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux http://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] support for caron (hacek) symbol
Hello Dne Po 20. září 2010 10:28:54 Jonathan Callahan napsal(a): I am creating a Slovak translation of an interactive website ( http://mazamascience.com/OilExport/index_sk.html ) and am running into problems with R's lack of support for the caron found in the following letters: Ä/Ä, Å /Å¡ and Ž/ž. I work on Linux (openSUSE) in Chech language using same characters and I have no problem. R IMHO uses UTF-8 (default for Linux) which contains support for all European languages and when You use UTF-8 also for Your website (highly recommended), it should work. I have no problem to load file encoded with UTF-8. Well, in this way, it works for me. I see Your page with correct characters (the browser has autodetection of character set and the web page uses UTF-8). I am using R 2.6.1 running on a recent version of CentOS. Any information about whether these characters are supported or any possible workarounds would be greatly appreciated. Thanks in advance. Jon Best regards, -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] The future of R - Ross Ihaka stirs discussions around the web
Hello Dne Po 13. září 2010 14:51:39 Tal Galili napsal(a): Hello all, There is currently a (very !) lively discussions happening around the web, surrounding the following topics: 1) Is R efficient? (scripting wise, and performance wise) 2) Should R be written from scratch? 3) What should be the license of R (if it was made a new)? Very serious people have taken part in the debates so far. I hope to let you know of the places I came by, so you might be able to follow/participate in these (IMHO) important discussions. The discussions started in the response for the following blog post on Xi'An's blog: http://xianblog.wordpress.com/2010/09/06/insane/ Followed by the (short) response post by Ross Ihaka: http://xianblog.wordpress.com/2010/09/13/simply-start-over-and-build-something- better/ Other discussions started to appear on Andrew Gelman's blog: http://www.stat.columbia.edu/~cook/movabletype/archives/2010/09/ ross_ihaka_to_r. html And (many) more responses started to appear in the hackers news website: http://news.ycombinator.com/item?id=1687054 I hope these discussions will have fruitful results for our community, Tal I'm not computer expert so I do not know if it is easyer to fix all bugs in R or start from scratch. But starting from zero is VERY difficult. Those, who know Linux little bit will propably remember example of KDE4. Very hard, paniful and after almost 3 years still not fully fixed. Another problem is keeping compatibility with thousands of contributed modules and scripts. Yes, it is very important part of R ecosystem. For licence I like GPL v.3, and also any licence accpeted by Free Software Foundation is good. :-) But here, I wish point out one issue, which can be fixed relatively easily: R would deserve much more better web running some good open-source CMS. I have very good experince with Drupal (IMHO the best available CMS) and Plone. Current state is one big dissaster. Web with all modern features, user forum and so on. It would be really helpful. Best regards, -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux http://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ pgpJ84YAztiBf.pgp Description: PGP digitální podpis __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Using Ubuntu as a Server
Hi Dne Sat 10. of July 2010 20:46:33 Leandro Marino napsal(a): *Hi, I want to know how can I configure R in a Ubuntu to be a server. I am planning to use R in a Windows machine with Tinn-R, but I want R running at an Ubuntu Lucid machine. How can i do this? Install Ubuntu and set network and firewall (should it be available only from inner network or from whole internet? etc). Decide if it is enough to login via SSH (command line), You can also allow SSH X fowarding (enabling of launching of graphical applications). Or, You can allow VNC to allow users to login via remote desktop. It is good only for small network with few clients, otherwise You need very good network infrastructure and strong server. Install R and all needed applications around (stuff to compile, editors, LaTEX, ...). You can restricted resources for each user using PAM or another tool like that. Set user accounts, rights, ... For steps how to set Linux server I'd ask somewhere else - ask someone experienced with it, on Ubuntu forums etc. You need only SSH server (with or without X forwarding) and/or VNC server. You install R as ordinary application - the R does not require any special care to serve as server. *Atenciosamente, Leandro Marino http://est.leandromarino.com.br/Blog (Estatístico) Cel.: + 55 21 9845-7707 Cel.: + 55 21 8777-7907 I hope it help little bit. :-) Best regards, -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux http://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Using Ubuntu as a Server
Hello, well, if You wish, You can always write scripts in R and then send it to Ubuntu server, but it is too complicated. Tinn-R is Windows only, but Rkward is IMHO much more better. You can not work in Windows in Tinn-R and send it directly to R running on remote Linux server. Best regards, Vojtěch Zeisek Dne Sat 10. of July 2010 21:30:57 Cedrick W. Johnson napsal(a): You can do that, as well as install RKWard if you want a gui front end and use ssh/x11 forwarding. If I think what you want to do is control a remote ubuntu instance via windows using Tinn, I don't think that is possible. You could look into Rserve/etc and possibly try to go that route as well. -c On 7/10/2010 3:03 PM, stephen sefick wrote: Do you mean just installing R on a server? I have R installed onto a server. I ssh -X ... and everything works just fine. On Sat, Jul 10, 2010 at 1:46 PM, Leandro Marino leandromar...@leandromarino.com.br wrote: *Hi, I want to know how can I configure R in a Ubuntu to be a server. I am planning to use R in a Windows machine with Tinn-R, but I want R running at an Ubuntu Lucid machine. How can i do this? *Atenciosamente, Leandro Marino http://est.leandromarino.com.br/Blog (Estatístico) Cel.: + 55 21 9845-7707 Cel.: + 55 21 8777-7907 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Rcmdr installation under Unbuntu installatiion errors
Hello, 1) Try Rkward, it is much more better, 2) You can install Rcmdr directly via r-cran-rcmdr (generaly, search r-cran-*; You can also add special repository, see http://cran.r- project.org/bin/linux/ubuntu/) and/or 3) if You wish to install normal packages from source (that is IMHO what install.packages() does in Linux), You need development packages for R as well as kernel header, compiler for Fortran, C and so on. I do not know how are those packages named in Ubuntu, but it should be no problem to find it via Synaptics. But I'd prefer solution 2. :-) Best regards, Vojtěch Zeisek Dne Út 6. července 2010 18:29:47 John Sorkin napsal(a): Unbuntu 10.04 R 2.10 I am trying to install Rcmdr and receive the following messages: The downloaded packages are in ‘/tmp/RtmpzhjDZG/downloaded_packages’ Warning messages: 1: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'Rmpi' had non-zero exit status 2: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'rpvm' had non-zero exit status 3: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'rsprng' had non-zero exit status 4: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'tkrplot' had non-zero exit status 5: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'rgl' had non-zero exit status 6: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'RODBC' had non-zero exit status 7: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'shapes' had non-zero exit status 8: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'latentnet' had non-zero exit status 9: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'VIM' had non-zero exit status 10: In install.packages(Rcmdr, dependencies = TRUE) : installation of package 'statnet' had non-zero exit status Do I need to be concerned? Do I need to take any action? Thank you, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke of Excellence University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing) jsor...@grecc.umaryland.edu Confidentiality Statement: This email message, including any attachments, is for th...{{dropped:6}} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Department of Botany, Faculty of Science, Charles Uni., Prague, CZ Institute of Botany, Academy of Science, Czech Republic Community of the openSUSE GNU/Linux https://www.natur.cuni.cz/faculty-en?set_language=en http://www.ibot.cas.cz/?p=indexamp;site=en http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Kate terminal window
Dne Čt 20. května 2010 17:50:42 Luc Villandre napsal(a): Dear R-users, I've recently switched to Ubuntu and I've decided to use Kate to edit my R code. I really like how Kate allows one to simply pipe their code to the terminal. However, I would find it even better if I could actually get the Kate console to display error messages (or any console outputs in fact) in red and my input in a different color. The instance of xterm that Ubuntu seems to run by default supports color coding. Can the Kate console be set up to do just the same? Hello, I do not know how it is in Kate, but You can use Rkward (the package is in Ubuntu's repositories). It is GUI for R. It uses Kate part as integrated text editor (so it behaves as Kate and it shares its configuration) and it has log, error console and all needed stuff... Well, might be, it is not what You wished to hear, but it works and I hope it helps little bit. :-) Best regards, Vojtěch Zeisek Although this is clearly an issue related to Kate, I was thinking that some people on this list might also use Kate in conjunction with R and might have already inquired about this. I thank you very much for your help. Luc Villandré __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] installing a package in linux
There are a lot of R packages available in Ubuntu's repositories. Just search for R-* or r-cran-* within Your favorite package manager. It it the easiest way. :-) Best regards, Vojtěch Zeisek Dne St 5. května 2010 17:03:22 Tengfei Yin napsal(a): Hi The weird part in this case is that, if you didn't run sudo R, and install the package, it will create a library in your home directory, you should also be able to use the package next time. Regards Tengfei On Wed, May 5, 2010 at 1:53 AM, Ruihong Huang ruihong.busin...@googlemail.com wrote: On 05/05/2010 02:44 AM, Tengfei Yin wrote: Hi R basic packages always works fine in my laptop (also ubuntu), you don't need to reinstall anything once you installed the package, did you do that in your terminal like $R (enter R session) install.packages('package name') q() then everytime you enter the R session, you just library('package name'), that should work... I don't know if it is sth about user privilege , do you use R on your own computer or on other servers? Regards Tengfei On Tue, May 4, 2010 at 2:25 PM, Fahim Mdfahim...@gmail.com wrote: I recently started using ubuntu 9.10 and I am using gedit editor and R plugin for writing R code. To install any package I need to do: $ install.packages() //window pop-up for mirror selection //then another window pop up for package selection. After this as long as I am not exiting, the function of the newly installed packages are available. After I exit (i use to put 'no' in 'save workspace' option) from R, if I want to again work in R, I have to repeat the process of package install. This reintallation problem was not there in windows(I was using Tinn-R as editor, I just need to put require('package-name') to use its function). There is nothing to do with the editor. I guess, you should run sudo R (you shouldn't use this to run a normal R session) in Ubuntu, which will give you the right to write into the R directory typically in /usr/lib. And then using install.packages('package.name') inside this R session. To load a library at beginning of each R session, you might consider the .First function like, .First - function(){ library('package.name') invisible() } and then quite R session with work space saved. Best, Ruihong Is there anyway so that reinstallation of the package is avoided??? thanks --Fahim [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R GUI
Dne Po 12. dubna 2010 22:00:21 Amitoj S. Chopra napsal(a): I am really new with R Graphical user interfacefunctions. I am developing a software package to calculate pKa (biochemistry) but I want to make it look aesthetically pleasing and make it user friendly. I have heard that R has some GUI (Graphical user interface) and you can do some really cool stuff out there. What are the limitations and what are some resources for help. I have found a couple of sources but I was wondering someone with more experience in the subject can guide me. Thanks! Hello, especially if You are Linux / Unix user, You can use Rkward GUI (http://rkward.sourceforge.net/). It is written using KDE libraries (http://www.kde.org/) using Nokia Qt (http://qt.nokia.com/) - it is powerful multiplatform developer tool. Tons of programs are written in it. Although I'm not developer, I'd recommend it. Another way is to write it in Java (I do not like the language), which is very popular and nice looking language :-) or in scripting languages lake Python (excellent tool) or Perl, which are usable on all platforms and have a lot of supporting libraries and functions. I hope it helps little bit. :-) Best regards, Vojtěch Zeisek -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R on Linux - a primer
Dne Ne 14. března 2010 23:04:02 Axel Urbiz napsal(a): Hi, I'm looking to move from Windows into a 64-bit Linux environment. Which is the best Linux Flavor to use within R? To install R on this environment, do I need to do any compiling? IMHO distributions like Ubuntu, openSUSE or Mandriva are very good for beginners. There are R packages and everything You need. Do not forget to install Rkward - comfortable GUI for R. You do not need any compiling unless You wish to play with it. :-) Best regards, Vojtěch Thanks all! Axel. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] how to make R plot under Linux
Dne Po 22. února 2010 18:53:55 xin wei napsal(a): hi, Kevin and K.Elo: thank you for the suggestion. Can you be more specific on these? (like how exactly get into x-switch or man ssh). I am totally ignorant about linux Hello, in Linux You can plot as in Windows, for example using hist(x). But not over remote connection using SSH. Connect with command similar to ssh -X your_usern...@remote.server.com Then You can launch applications making windows. Normally, over SSH You can use only text-based applications. But there is one big but: the remote server has to support the -X switch. If it is not permitted in configuration of server's SSH daemon, You can not use it and You will not have windows with Your graphs. Then You would have to ask admin of the server or run R on Your own computer. For more information type man ssh. Best regards, Vojtěch Zeisek and SSH:( Memory limitation forces me to switch from windows to Linux cluster. Xin -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] how to make R plot under Linux
Dne Po 22. února 2010 19:33:45 Kevin E. Thorpe napsal(a): K. Elo wrote: Hi! 22.02.2010 19:53, xin wei wrote: hi, Kevin and K.Elo: thank you for the suggestion. Can you be more specific on these? (like how exactly get into x-switch or man ssh). I am totally ignorant about linux and SSH:( Memory limitation forces me to switch from windows to Linux cluster. Could you provide us with more information about the software you use for establishing the ssh connection (i.e. your ssh client). I suppose you are connecting a linux server (having R on it) from a windows system, aren't you? And you use a ssh client software, right? There should be an enable X11 forwarding (or something similar) option in your ssh client application. You should look e.g. in connection settings. When I have to work from Windows (i do not like it:-), I use Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/ - there is possibility to enable X11 forwarding enabling using also applications with windows. But here I can not help - see documentation. Another possibility should be exporting the graphs to files without viewing and then downloading using SCP or SFTP. Or it might be possible to use some VNC client and to connect to the server with full-featured remote desktop. But here more information would provide local admin. Best regards, Vojtěch Zeisek Kind regards, Kimmo Agree. Sounds like you are using a client on Windows. Also, Vojtech Zeisek's reply is pertinent too. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] how to make R plot under Linux
On Linux You can use Rkward http://rkward.sourceforge.net/ - very nice and good graphical user interface for R. Dne Pá 19. února 2010 19:39:53 xin...@stat.psu.edu napsal(a): Hi, I am using R in Linux environment. How can i make plot in Linux just like in windows? thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] how to execute R script piece by piece on SSH terminal
Hello, if You run R in terminal, You can type R to start the R software, then use command source(/path/to/your/script) to load the script and then You call functions from the script as usual. Optionally, You can move to the directory with script with command setwd(/path/to/the/directory). Or, I would recommend to install Rkward (http://rkward.sourceforge.net/), what is excellent graphical user interface for R. Best regards, Vojtěch Zeisek Dne Čt 18. února 2010 21:36:34 xin...@stat.psu.edu napsal(a): hi, I am new to Linux and R environment. I have a existing R script. I wonder how to open my R script on Linux platform and execute selected written R command? thanks Xin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu / Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://web.natur.cuni.cz/~zeisek/ signature.asc Description: This is a digitally signed message part. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.