Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
R-exts.pdf dosen't list many types that are supported in C++, for example, long. Are there storage.mode corresponds to those extra types?
I don't find print.list. Could somebody let me know which method is called when I run command print(a_list), where a_list is a list? Is 'print.default' used for printing a list?
> a) restriction of representable integers. Today's platforms use 32-bit integers, but on 16-bit platforms is used to be 16-bit hence the "almost". Just to make sure if I understand you correctly. So there are no 64...
x=list(a=1,b=NULL) is.null(x$b) is.null(x$c) Both the above two commands give me TRUE, but in the first one, b is NULL, in the second one, c doesn't exist. Are there...
R-ints.pdf mentions pairlist with the reference to mit-scheme. However, it is not clear to me what 'pairlist' exactly refers to, as I don't find the definition for it. Does a 'pairlist' in R equivalent to a...
x=10 f=function() {print('in f')} g=function() {f(); print(x)} g() Suppose I have the above code, I want to know what functions and variables have been used in the function g (in this case, f and x...
> f=function(){ print('in f')} > attr(f, 'source') [1] "function(){ print('in f')}" I have the above simple function. I can use the variable f to refer to the function and get the function source. Suppose that I have 'f...
> x=3 > `class<-`(x,'something')#this command prints [1] 3 attr(,"class") [1] "something" > x=3 > class(x)='something'#this command doesn't print anything The first of the above two commands print the content of 'x' but the second...
Suppose some environment variable (say MY_R_INC) has a number of paths. I want to source some file relative to some path in $MY_R_INC (just as #include in C++ does, which looks for header file in a...
'get' can give me the source code for a function. Is there a way to get the source code for a variable? In the following example, the source code for x is 'y*y'. Is there a way to get...
I made the following example to see what are the difference between expression and quote. But I don't see any difference when they are used with eval()? Could somebody let me know what the difference is between expression and...
I don't find rbind, cbind or other bind that bind in other dimesions for multidimension array while keeping the result of the same dimension. For example, say, dim(x)=c(2,3,4), dim(y)=c(3,3,4...
R-exts.pdf discribes S3method a little bit. But I want to understand more on how it is called, implemented and when to use it. I don't find it in an R session. But I see S3method() in some...
I have contacted the author of the contrast package, but received no reply. Could somebody that I have the experience on this package give me some hint. In the vignette of the package, I only see example to compute contrasts...
On Fri, Feb 12, 2010 at 1:36 PM, Sharpie <chuck at sharpsteen.net> wrote: > > > blue sky wrote: >> >> x=10 >> f=function() {print('in f')} >> g=function() {f(); print(x)} >> g() >> >> Suppose I have the above code, I want to...
S Programming by Venables and Ripley (page 78) has the example listed at the end of this email. However, I get the following error when I try the example. I don't understand the descriptions of NextMethod on its help...
?'`' shows the following: "Single and double quotes delimit character constants. They can be used interchangeably but double quotes are *preferred* (and character constants are printed using double quotes), so single quotes are normally only used to delimit character constants containing...
According to R-exts.pdf (page 3): For maximal portability filenames should only contain only ASCII characters not excluded already (that is A-Za-z0-9._!#$%&+,;=@^(){}?[] I have some files with special characters like '[' and '%' e.g. '[.set.R'. I...
My interpretation of the relation between 1-way ANOVA and Wilcoxon's test (wilcox.test() in R) is the following. 1-way ANOVA is to test if two or multiple distributions are the same, assuming all the distributions are normal...
On Fri, Feb 12, 2010 at 12:06 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote: > > On Feb 12, 2010, at 12:33 , blue sky wrote: > >> R-exts.pdf dosen't list many types that are supported in...
Can't find what you're looking for? Try searching with Google .