Re: [Rd] strange value in .Last.value

2013-06-04 Thread Winston Chang
This is the result of the withVisible() function, which is called by source(). This should illustrate what it does: > withVisible(1+1) $value [1] 2 $visible [1] TRUE > withVisible(invisible(1+1)) $value [1] 2 $visible [1] FALSE -Winston On Tue, Jun 4, 2013 at 3:25 PM, Andreas Leha wrote: >

[Rd] strange value in .Last.value

2013-06-04 Thread Andreas Leha
Hi all, the .Last.value sometimes contains a strange $visible FALSE value. This poses problems when using R with ESS (and ess-developer-mode) from within org-mode. >From http://permalink.gmane.org/gmane.emacs.ess.general/7299: --8<---cut here---start->8--- H

[Rd] bug in package.skeleton(), and doc typo.

2013-06-04 Thread Karl Forner
Hi all, I think there's a bug in package.skeleton(), when using the environment argument: Example: env <- new.env() env$hello <- function() { print('hello') } package.skeleton(name='mypkg', environment=env) ==> does not create any source in mypkg/R/* By the way, package.skeleton(name='mypkg',

Re: [Rd] Error during R CMD check

2013-06-04 Thread Prof Brian Ripley
Looks like your locale settings are wrong: see ?Sys.setlocale. Does the package declare an encoding? If so, see what 'Writing R Extensions' has to say about that. On 04/06/2013 11:06, Kamal wrote: Hi All, I am encountering the following error while performing check on the R package we built

Re: [Rd] Error during R CMD check

2013-06-04 Thread Duncan Murdoch
On 13-06-04 6:06 AM, Kamal wrote: Hi All, I am encountering the following error while performing check on the R package we built: R CMD check packagename_0.99.0.tar.gz During startup - Warning message: Setting LC_CTYPE failed, using "C" * using R Under development (unstable) (2013-05-14 r6274

[Rd] Error during R CMD check

2013-06-04 Thread Kamal
Hi All, I am encountering the following error while performing check on the R package we built: R CMD check packagename_0.99.0.tar.gz During startup - Warning message: Setting LC_CTYPE failed, using "C" * using R Under development (unstable) (2013-05-14 r62742) * using platform: x86_64-unknown-