An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090301/3ca3b5c9/attachment.ksh>
R tools help
8 messages · Gabor Grothendieck, Dirk Eddelbuettel, Duncan Murdoch +1 more
If you use Rcmd.bat from batchfiles (its a self-contained batch file that you place anywhere on your path which will find out where R is by looking in the registry and then run it and will also add MiKTeX and Rtools to your path temporarily as well): http://batchfiles.googlecode.com then you won't have to change your path in the first place. There is also some relevant info there if you do want to change it anyways and info on packages.
On Sun, Mar 1, 2009 at 12:24 PM, Ajay ohri <ohri2007 at gmail.com> wrote:
Dear List, I am trying to create a R package and having some issues with setting the path on a Windows XP . Could you point me to a tutorial that helps in creating R packages ......... Also I tried installing Linux using the Windows installer wubi but it failed repeatedly and everytime it resets my system clock . Do you have any tools etc for easy Linux installations for a Windows user.. Regards, Ajay www.decisionstats.com ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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.
On 1 March 2009 at 22:54, Ajay ohri wrote:
| Dear List, | I am trying to create a R package and having some issues with setting the | path on a Windows XP . | | Could you point me to a tutorial that helps in creating R packages ......... http://lmgtfy.com/?q=create+a+R+package Seriously, there is one entire manual dedicated to 'Writing R extensions', and there are a number of tutorials floating around on the web, for example Peter Rossi (at U of Chicago's Booth Business school) has one. | Also I tried installing Linux using the Windows installer wubi but it failed | repeatedly and everytime it resets my system clock . Do you have any tools | etc for easy Linux installations for a Windows user.. http://lmgtfy.com/?q=installing+linux+for+windows+user There is also an entire manual on 'R installation and administration', and there must be a gazillion tutorials on the web. Ubuntu seems to have a large market and mind share, its installation cdrom is a live cdrom you can test fist, and it has very good R support via binaries on CRAN. Good luck, Dirk
Three out of two people have difficulties with fractions.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090301/49f3c1c2/attachment-0002.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090301/335fa82c/attachment-0002.pl>
On 01/03/2009 12:24 PM, Ajay ohri wrote:
Dear List, I am trying to create a R package and having some issues with setting the path on a Windows XP . Could you point me to a tutorial that helps in creating R packages .........
I gave a tutorial on this at last year's useR meeting: the slides are online. Here's a link to all the online material from that meeting: http://www.statistik.uni-dortmund.de/useR-2008/abstracts/AbstractsByAuthor.html Duncan Murdoch
Also I tried installing Linux using the Windows installer wubi but it failed repeatedly and everytime it resets my system clock . Do you have any tools etc for easy Linux installations for a Windows user.. Regards, Ajay www.decisionstats.com [[alternative HTML version deleted]]
______________________________________________ R-help at 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.
On Sun, Mar 1, 2009 at 1:05 PM, Ajay ohri <ohri2007 at gmail.com> wrote:
Hi, I ran it . I placed it in C:\Rtools it ran for a sec and vanished
Do you mean you placed Rcmd.bat in C:\Rtools? What you want to do is issue the command PATH from the Windows console and put it somewhere on the path shown. I keep a C:\bin directory that I put my executables in and I have that on my PATH so in my case that's where I put Rcmd.bat .
Previously I have compiled R source code from command prompt and changed the path files already ----- do I need to change the path files back
That won't be a problem with R. Rcmd.bat temporarily modifies your path by placing the correct items ahead of all the others; however, if you have put rtools\bin on your path note that you could be making problems for yourself with other programs since rtools\bin includes find.exe whose name conflicts with the native find that comes with Windows. This was driving me crazy as some Windows batch scripts would not run properly until I finally discovered what was going on.
my path is this c:\rtools\bin
That may be what you added to your path but its unlikely to be your path. Type: path at the windows console to find out what your path is.
I used this text for reference already and have been doing this for the whole weekend now.. http://faculty.chicagobooth.edu/peter.rossi/research/bayes%20book/bayesm/Making%20R%20Packages%20Under%20Windows.pdf
Your main source should be the R Administration and Installation manual (available on the Help menu from within R) and then you can use other sources as adjuncts if you wish. If there are conflicts in the instructions the R manual will likely be the one that is correct.
On Sun, Mar 1, 2009 at 11:07 PM, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
If you use Rcmd.bat from batchfiles (its a self-contained batch file that you place anywhere on your path which will find out where R is by looking in the registry and then run it and will also add MiKTeX and Rtools to your path temporarily as well): http://batchfiles.googlecode.com then you won't have to change your path in the first place. ?There is also some relevant info there if you do want to change it anyways and info on packages. On Sun, Mar 1, 2009 at 12:24 PM, Ajay ohri <ohri2007 at gmail.com> wrote:
Dear List, I am trying to create a R package and having some issues with setting the path on a Windows XP . Could you point me to a tutorial that helps in creating R packages ......... Also I tried installing Linux using the Windows installer wubi but it failed repeatedly and everytime it resets my system clock . Do you have any tools etc for easy Linux installations for a Windows user.. Regards, Ajay www.decisionstats.com ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090302/7acc484f/attachment-0002.pl>