[R] remote database queries

2009-07-18 Thread David Lubbers
With good and faithful python remote database queries look something like this: url.urlopen("username/pssw...@host",query) where query is something like "select * from table where " Does R support queries on remote hosts with username and password? What does a simple example look like? Tha

[R] Porting Custom Packages from Linux to Windows

2009-10-27 Thread David Lubbers
On my linux workstation I have a nice, very little project in a directory called "mystuff" I installed "mystuff" into site-library with R CMD build, R CMD check and R CMD install. This was all with the file mystuff.tar.gz. Now I want to install "mystuff" on my windows workstation. Can I use the

Re: [R] Porting Custom Packages from Linux to Windows

2009-10-27 Thread David Lubbers
You guys are awesome, thanks! On Tue, 2009-10-27 at 20:40 -0500, Marc Schwartz wrote: > On Oct 27, 2009, at 8:32 PM, Duncan Murdoch wrote: > > > Marc Schwartz wrote: > >> On Oct 27, 2009, at 6:20 PM, David Lubbers wrote: > >> > >> > >>> On my l

[R] header files for R packages

2010-01-23 Thread David Lubbers
I have 6 or 7 nice constants (for example 1852 meters per nautical mile) I would like to have available to 4 or 5 functions in an R package. In C this would just be a header .h file and I would just "include" I am stuck trying to figure out how to create something like a C header file for an R p

[R] adding / modifiying functions in a site-library package ????

2010-01-26 Thread David Lubbers
I want to add just one more function to an already installed, locally developed site-library package. Is there a good tutorial on this laying about? From what I see the new function would touch several files and directories in the existing package. Tools to automate that ? _