On Jun 30, 2011, at 22:37 , Hadley Wickham wrote:
> Hi all,
>
> Is there any easy way to tell if a string is a syntactically valid name?
>
> e.g.
>
> is.syntactic("X123")
> # TRUE
> is.syntactic("[[")
> # FALSE
>
> One implementation would be:
>
> is.syntactic <- function(x) x == make.names(
Hi all,
Is there any easy way to tell if a string is a syntactically valid name?
e.g.
is.syntactic("X123")
# TRUE
is.syntactic("[[")
# FALSE
One implementation would be:
is.syntactic <- function(x) x == make.names(x)
but I wonder if there's a more elegant way.
Thanks!
Hadley
--
Assistant
Under Details, the documentation says "[if Rowv or Colv] is 'NULL',
_no reordering_ will be done for the corresponding side." In fact, as
explained elsewhere in the documentation, 'NA' is required, not
'NULL'.
An anonymous expert suggested that I should attach an svn diff file to
this report, so
On 29/06/2011 9:09 PM, Michael Lawrence wrote:
Hi guys,
Looks like mkCLOSXP cannot handle external pointers as the function body.
Work around is obvious, but I guess it's a bug nonetheless.
I don't know if it's a bug. The mkCLOSXP code has a list of types that
it accepts; external pointers a
Done.
On 30/06/2011 10:38 AM, Stephen Eglen wrote:
Here is a patch against
https://svn.r-project.org/R/trunk/src/library/grDevices/man/pdf.Rd
to make description of defaults more consistent.
Stephen
--- pdf.Rd~ 2011-06-30 15:24:30.0 +0100
+++ pdf.Rd 2011-06-30 15:35:18.000
Here is a patch against
https://svn.r-project.org/R/trunk/src/library/grDevices/man/pdf.Rd
to make description of defaults more consistent.
Stephen
--- pdf.Rd~ 2011-06-30 15:24:30.0 +0100
+++ pdf.Rd 2011-06-30 15:35:18.0 +0100
@@ -64,7 +64,7 @@
points. Defaults to