[Rd] Errors in manpage of bs() (splines) (PR#13912)

2009-08-26 Thread benjamin . hofner
Full_Name: Benjamin Hofner Version: 2.9.1 OS: Ubuntu Submission from: (NULL) (92.229.82.215) Hi I found some mistakes in the documentation of function bs() in package splines (I use R 2.9.1 but it also holds for the latest SVN Version https://svn.r-project.org/R/trunk/src/library/splines/man/bs.

Re: [Rd] Clarifications please.

2009-08-26 Thread Simon Urbanek
On Aug 26, 2009, at 12:55 , Martin Morgan wrote: Hi Abhijit -- Abhijit Bera wrote: Hi Martin Thanks. I think I got it! Read the R extensions documentation again. I don't even need to convert to a list. This is what I did (just a demo): #include #include #include #include int main

Re: [Rd] Problem with correct usage of formula environment

2009-08-26 Thread Ulrike Groemping
I have found a fix now - I define the variable "center" (that takes the role of the !iscube below) within the function formula.design, and then using "formula" instead of "as.formula" solves the issue, because it preserves the calling environment - first time I get an idea what this is good for ..

Re: [Rd] header containing (PR#13834)

2009-08-26 Thread Michael Gutteridge
On Fri, 21 Aug 2009, Prof Brian Ripley wrote: ... nor is it described on man -s2 mkdir on my Solaris 10 system, so it is not surprising that we didn't know about it. Yep- I see the lack of documentation reported as a bug on opensolaris: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_

Re: [Rd] Clarifications please.

2009-08-26 Thread Martin Morgan
Hi Abhijit -- Abhijit Bera wrote: > Hi Martin > > Thanks. I think I got it! Read the R extensions documentation again. I > don't even need to convert to a list. This is what I did (just a demo): > > #include > #include > #include > #include > > int main (int argc, char** argv) { > >

Re: [Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

2009-08-26 Thread Simon Urbanek
On Aug 26, 2009, at 10:43 , pleyd...@supagro.inra.fr wrote: ^^-- this is really bad form - you should never build/compile software as root. The location of the build directory is irrelevant so use /tmp or you home or something like that ... (usualy the fastest disk ;)) OK, thanks for

Re: [Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

2009-08-26 Thread pleydell
^^-- this is really bad form - you should never build/compile software as root. The location of the build directory is irrelevant so use /tmp or you home or something like that ... (usualy the fastest disk ;)) OK, thanks for the tip, although I don't understand the configure - make - insta

Re: [Rd] Clarifications please.

2009-08-26 Thread Abhijit Bera
Hi Martin Thanks. I think I got it! Read the R extensions documentation again. I don't even need to convert to a list. This is what I did (just a demo): #include #include #include #include int main (int argc, char** argv) { SEXP e,t1,t2,val; int errorOccurred,nx,ny,i,j; double

Re: [Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

2009-08-26 Thread Simon Urbanek
On Aug 26, 2009, at 6:47 , pleyd...@supagro.inra.fr wrote: You're confusing rhome and arch - the above makes no sense. Let rhome alone and you should be fine. (And make sure you're not building in the source tree - you should be using something like mkdir obj_vg0 && cd obj_vg0 && ../R-2

Re: [Rd] improving ?RweaveLatex

2009-08-26 Thread Marc Schwartz
On Aug 26, 2009, at 7:59 AM, Friedrich Leisch wrote: On Sat, 22 Aug 2009 16:51:31 -0500, Marc Schwartz (MS) wrote: On Aug 22, 2009, at 4:30 PM, Marc Schwartz wrote: I have some proposed modifications to RweaveLatex.Rd which I include here as a patch against the R-devel version of the file

Re: [Rd] improving ?RweaveLatex

2009-08-26 Thread Friedrich Leisch
> On Sat, 22 Aug 2009 16:51:31 -0500, > Marc Schwartz (MS) wrote: > > On Aug 22, 2009, at 4:30 PM, Marc Schwartz wrote: >> >> I have some proposed modifications to RweaveLatex.Rd which I include >> here as a patch against the R-devel version of the file from svn. I >> hav

Re: [Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

2009-08-26 Thread pleydell
is suspect installing to seperate _vg0, _vg1 and _vg2 directories could be the problem. I'll retry and post the results. Well, the following script didn't work cd /usr/local/lib sudo mkdir R cd /usr/local/lib/R sudo /usr/local/src/R-2.9.2/configure --enable-memory-profiling --with-valgrind-inst

Re: [Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

2009-08-26 Thread pleydell
You're confusing rhome and arch - the above makes no sense. Let rhome alone and you should be fine. (And make sure you're not building in the source tree - you should be using something like mkdir obj_vg0 && cd obj_vg0 && ../R-2.9.1/configure ...) Thanks Simon. I'd already tried various var

[Rd] Problem with standard generic methods in Matrix package

2009-08-26 Thread sloiseau
I have posted this message on r-lang, but it is perhaps more appropriate on r-devel: --- Hello, I'm puzzled by a problem with call to diag(), rowSums(), rownames() on objects of class "dgtMatrix", created by sparseMatrix() or spMatrix(). I use Matrix 0.999375-30. The weird thing is t

Re: [Rd] Problems opening R (PR#13908)

2009-08-26 Thread Prof Brian Ripley
Please use R-sig-mac to ask questions about Mac OS X. In particular do not use R-bugs to ask questions. There may be a bug here, but there is nothing to reproduce and it may not be in R (it may be in R.app, the GUI). How about uninstalling R (not re-installing)? See the R-MacOS FAQ, e.g.

Re: [Rd] R CMD on windows 7

2009-08-26 Thread Prof Brian Ripley
On Wed, 26 Aug 2009, Uwe Ligges wrote: As far as I know, nobody of the developers who also work under Windows has access to Windows 7 these days. Patches are welcome, of course! But the described behaviour seems identical to Vista, and the workarounds the same as those in the rw-FAQ. I've n

Re: [Rd] improving ?RweaveLatex

2009-08-26 Thread Martin Maechler
> Marc Schwartz > on Sat, 22 Aug 2009 16:51:31 -0500 writes: > > On Aug 22, 2009, at 4:30 PM, Marc Schwartz wrote: >> >> I have some proposed modifications to RweaveLatex.Rd which I include >> here as a patch against the R-devel version of the file from svn. I

Re: [Rd] R CMD on windows 7

2009-08-26 Thread Uwe Ligges
As far as I know, nobody of the developers who also work under Windows has access to Windows 7 these days. Patches are welcome, of course! Best wishes, Uwe Ligges Robert J. Hijmans wrote: I had difficulties running R CMD check and build on windows 7. The problem seems to be that the script

[Rd] Problems opening R (PR#13908)

2009-08-26 Thread lisazang
Hi, I'm having problems opening R on MAC OSX. It was working fine, then I tried using the fix() command on one of my data sources. R froze, so I re-started it. R would not open, the icon kept bouncing in the dock. I have tried reinstalling the program, but every time the installer says it

[Rd] Tk question

2009-08-26 Thread bappai
Hello I have 2 problems which I am facing and not sure how to solve them in tk of R. Let me first insert the image. http://www.nabble.com/file/p25123066/nabble1.doc nabble1.doc When the file is opened then u will see the right hand side has gray areas. This happened immediately after I put in t