Displaying 10 results from an estimated 10 matches for "dsamperi".
Did you mean:
samperi
2006 Jul 24
1
% symbol in .Rd files?
Hello,
I am encountering problems when there is a '%' character in
package .Rd files. More precisely, CRAN is having problems
with these characters when running check, whereas I am not
seeing any problems under Linux and Windows. I did see
these problems, and found that escaping the %'s fixes the
problem in my testing, but apparently this does not fix the
problem when check is run at
2006 Feb 24
2
Rcpp, best method for linking to
Dear all,
After a bit of reading I came across the Rcpp example package. There
are a few classes that I would like to use and I am not sure how best to
include them in my own package. Is it best to compile it as an
independent library and link to it? Or is there some way to `require` it
for my own package? Re-write using the code as an example (unsure how
best to do this at this moment, as
2005 Oct 11
1
MiKTeX/yap/Ghostcript issues with R-generated postscript
Hello,
I wonder if anybody has encountered this problem?
While MiKTeX/yap/Ghostscript seems to work fine on most TeX files that I
have
tested (including a great deal of postscript graphics), there is one
file where the
graphics works ok for all postscript files except one, the only one that
is generated
by R. I get an error "Some postscript specials could not be rendered",
and the
2005 Oct 25
1
Small issue with R's C API
Consider the R code:
mat <- matrix(seq(1,20),4,5)
is.matrix(mat) # gives TRUE
is.vector(mat) # gives FALSE
On the other hand, if mat is passed through the .Call interface the
corresponding SEXP (call it smat) satisfies
isMatrix(smat) // TRUE
isVector(smat) // TRUE
Consequently, you cannot distinguish matrices from vectors. Looking
at the dim attribute of a vector doesn't help because
2006 Apr 27
1
Minor issue building 2.3.0 under Red Hat Linux 9
Building R 2.3.0 fails under Red Hat 9.0 because
ssize_t is not defined in src/modules/internet/sock.h.
Inserting #include <sys/types.h> at the top of this
file fixes the problem.
2006 Sep 14
1
demo names with spaces?
Does R support demo names with spaces?
I tried placing a file like "My Demo Name.R" in
the demo subdirectory, and placing a line that
begins with "My Demo Name" in 00Index, but
R CMD check does not like this. It reads the
line in 00Index as "My, and it doesn't think there
is a 00Index entry for "My Demo Name".
I have no problem going back to MyDemoName.R,
2006 Sep 22
2
NAMESPACE
Hello,
I just tried to use NAMESPACE to prevent name conflicts between
packages and it appears that once a name is exported it will clash
with the same name if it is exported from another package, in
particular, if that other package does not use NAMESPACE.
Is there a way to "export" a name so that the current package
user can see it, but other packages cannot see it? My working
2006 Sep 23
1
Regular expressions
When I type
ls("package:base", pattern="log*")
functions with names like "floor" and
"Sys.setlocale" are included. I don't
think this is how "*" is supposed to work.
To get the desired response I have to use:
ls("packge:base", pattern="logg*")
I thought "log*" means "log" followed by
anything?
Thanks
2009 Nov 12
2
Problems building package at CRAN
Hello,
I submitted the package RcppTemplate to CRAN a couple of weeks ago but
the Mac OS X binary has not appeared, and the person in charge of that
process
(Simon) suspects that the problem may be due to a
"nested DESCRIPTION file" so that "Package:" becomes
RcppTemplateRcppTemplate, or something like this.
Can somebody explain what a nested DESCRIPTION file is so I can
2006 Jun 22
2
.Call and data frames
Hello,
I'm trying to fetch a data frame through the C API,
and have no problem doing this when all columns
are numbers, but when there is a column of
strings I have a problem. On the C-side the
function looks like:
SEXP myfunc(SEXP df),
and it is called with a dataframe from
the R side with:
.Call("myfunc", somedataframe)
On the C side (actually C++ side) I use code
like this: