Re: [R] R C API resize matrice

2019-06-14 Thread King Jiefei
Hi, I don't think there is a native R API to do what you want here, but if the matrix is only used by you and not be exported to the other user, you can hack R data structure to achieve that goal. Because there is not too much context of your question, I will assume the whole point of resizing a

Re: [R] plotting an isosurface on a 3d plot

2019-06-14 Thread Duncan Murdoch
On 14/06/2019 9:14 a.m., ravi wrote: Hi Duncan, Thanks a lot for your help. You have really opened up a road for me to to pursue further. Your later solution with cylinder3d is interesting. However, in my real application, I have several parallel planes and very irregular contours in each of

[R] Help with a third ggplot error

2019-06-14 Thread Bill Poling
#RStudio Version 1.2.1335 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) Hello I am fitting an Arima model and all appears to go well until I get to the ggplot, (again, lots of laughs). Deja Vu all over again! (

Re: [R] R C API resize matrice

2019-06-14 Thread Bert Gunter
Please do not re-post -- you have asked this before here. As this list is about R programming help, it is perhaps not surprising that you did not receive a reply. You might try R-devel instead where " Questions likely to prompt discussion unintelligible to non-programmers or topics that are too te

Re: [R] [Rd] Open a file which name contains a tilde

2019-06-14 Thread Serguei Sokol
On 14/06/2019 14:43, Frank Schwidom wrote: Hi John, First, the unix and linux filesystem allows the use of any nonzero character in its filesystem filenames Well, even it's not the central point of the discussion let make this assertion more correct. It depends on file system. E.g. JFS (https

[R] R C API resize matrice

2019-06-14 Thread Morgan Morgan
Hi, Is there a way to resize a matrix defined as follows: SEXP a = PROTECT(allocMatrix(INTSXP, 10, 2)); int *pa = INTEGER(a) To row = 5 and col = 1 or do I have to allocate a second matrix "b" with pointer *pb and do a "for" loop to transfer the value of a to b? Thank you Best regards Morgan

Re: [R] Editing an R source code

2019-06-14 Thread PIKAL Petr
Hi I do not use this package but this is written in manual: Custom splitting: All families except unsupervised are available for user defined custom splitting. Some basic C-programming skills are required. The harness for defining these rules is in splitCustom.c. In this file we give examples o

Re: [R] Editing an R source code

2019-06-14 Thread Bert Gunter
Google it! "Where is R source code for functions?" Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Jun 14, 2019 at 7:12 AM Justine Nasejje wrote: > I wou

[R] Editing an R source code

2019-06-14 Thread Justine Nasejje
I would love to use my own split-rule in the existing R package for random survival forests (randomForestSRC). Unfortunately, I have failed to locate the file where the splitting rules where coded in the source file. Is there anybody with an idea of how to find this specific file? Thank you! Dr Jus

Re: [R] plotting an isosurface on a 3d plot

2019-06-14 Thread ravi via R-help
Hi Duncan,Thanks a lot for your help. You have really opened up a road for me to to pursue further. Your later solution with cylinder3d is interesting. However, in my real application, I have several parallel planes and very irregular contours in each of them. So the quad3d command is more usef

Re: [R] Open a file which name contains a tilde

2019-06-14 Thread Frank Schwidom
Hi John, First, the unix and linux filesystem allows the use of any nonzero character in its filesystem filenames and the c functions open / fopen, symlink. rename, chdir and so on don't care about any tilde. If the open systemcall gets a file which begins with a tilde then it will try to open

[R] R 3.6.1 scheduled for July 5

2019-06-14 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __