Re: [Rd] Could unit.list() from grid package be made an exported function?

2016-03-08 Thread Paul Murrell
Hi On 09/03/16 09:54, Wilke, Claus O wrote: Paul, Subassignment for units has been committed to r-devel. You should now be able to do things like ... x <- unit(1:3, "mm") x[2] <- unit(.5, "npc") (see grid/tests/units.R for more complex examples) Yes, I just tried the latest R devel and it

Re: [Rd] Could unit.list() from grid package be made an exported function?

2016-03-08 Thread Wilke, Claus O
Paul, Subassignment for units has been committed to r-devel. You should now be able to do things like ... x <- unit(1:3, "mm") x[2] <- unit(.5, "npc") (see grid/tests/units.R for more complex examples) Yes, I just tried the latest R devel and it works for me. However: This works for me for the

Re: [Rd] ALLOCATE in a FORTRAN subroutine

2016-03-08 Thread MAURICE Jean - externe
>> You can call (some) R functionality from C > You can call *all* R functionality from C. I'll dig that (I mean I'll read more in the help to be sure) > FWIW it's not related to OLE which is IPC and much more limited It was an example of what I was trying to say with "driving R from within FORTR

Re: [Rd] ALLOCATE in a FORTRAN subroutine

2016-03-08 Thread Simon Urbanek
On Mar 8, 2016, at 6:57 AM, MAURICE Jean - externe wrote: >> You can call (some) R functionality from C > When I read about 'R api' I thought that we could call all the functionality > of R. I think that in the windows world, this is called OLE automation. From > a pure programmer point of vi

Re: [Rd] ALLOCATE in a FORTRAN subroutine

2016-03-08 Thread MAURICE Jean - externe
> You can call (some) R functionality from C When I read about 'R api' I thought that we could call all the functionality of R. I think that in the windows world, this is called OLE automation. From a pure programmer point of view, it is very convenient and my customer is creating a team of prog