[Rcpp-commits] r3877 - pkg/Rcpp/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Oct 31 21:39:37 CET 2012
Author: jjallaire
Date: 2012-10-31 21:39:37 +0100 (Wed, 31 Oct 2012)
New Revision: 3877
Modified:
pkg/Rcpp/man/sourceCpp.Rd
Log:
sourceCpp.Rd: update title and remedy out of sync usage
Modified: pkg/Rcpp/man/sourceCpp.Rd
===================================================================
--- pkg/Rcpp/man/sourceCpp.Rd 2012-10-31 18:38:10 UTC (rev 3876)
+++ pkg/Rcpp/man/sourceCpp.Rd 2012-10-31 20:39:37 UTC (rev 3877)
@@ -1,14 +1,14 @@
\name{sourceCpp}
\alias{sourceCpp}
\title{
-Source C++ Code from a File
+Source C++ Code from a File or String
}
\description{
\code{sourceCpp} parses the specified C++ file or source code and looks for functions marked with the \code{\link[=exportAttribute]{Rcpp::export}} attribute. A shared library is then built and its exported functions are made available as R functions in the specified environment.
}
\usage{
-sourceCpp(file, code = NULL, envir = globalenv(), rebuild = FALSE,
- showOutput = verbose, verbose = getOption("verbose"), code)
+sourceCpp(file = "", code = NULL, envir = globalenv(), rebuild = FALSE,
+ showOutput = verbose, verbose = getOption("verbose"))
}
%- maybe also 'usage' for other objects documented here.
\arguments{
More information about the Rcpp-commits
mailing list