Thanks Michael. I tried with  NULL - It throws Type mismatch error and same 
error while passing c() or defining a<- c() and then passing a as parameter 
Also tried with not passing any parameter, then it says 'Parameter not 
optional'. I am afarid no joy. Thanks  Regards,lmDate: Sun, 29 Apr 2012 
07:37:53 -0700
From: ml-node+s789695n4596446...@n4.nabble.com
To: shinilku...@hotmail.com
Subject: Re: Equivalent of Nothing (in VBA) or [] in Matlab in R



        Perhaps NULL? Or maybe a vector of length 0....you can also just leave 
arguments missing in R thanks to lazy evaluation so there's not a single 
equivalent to "nothing"


Hth,

Michael


On Apr 28, 2012, at 6:04 PM, lm <[hidden email]> wrote:


> Hi, I am very new to R so please excuse me if I am asking very obvious

> questions.

> 

> I am trying to call a blackbox api function implemented in as a COM object

> from R. The function definition says that 

> 

> 1. if calling from VBA, the first parameter should be set to "Nothing"

> 2. if calling from matlab, the first parameter should be set to []

> 

> What should be the equivalent for above in R?.

> 

> Thanks

> lm 

> 

> --

> View this message in context: 
> http://r.789695.n4.nabble.com/Equivalent-of-Nothing-in-VBA-or-in-Matlab-in-R-tp4595385p4595385.html
> Sent from the R help mailing list archive at Nabble.com.

> 

> ______________________________________________

> [hidden email] 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.

______________________________________________

[hidden email] 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.


        
        

        

        
        
                If you reply to this email, your message will be added to the 
discussion below:
                
http://r.789695.n4.nabble.com/Equivalent-of-Nothing-in-VBA-or-in-Matlab-in-R-tp4595385p4596446.html
        
        
                
                To unsubscribe from Equivalent of Nothing (in VBA) or [] in 
Matlab in R, click here.

                NAML
                                                  

--
View this message in context: 
http://r.789695.n4.nabble.com/Equivalent-of-Nothing-in-VBA-or-in-Matlab-in-R-tp4595385p4597115.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to