Displaying 20 results from an estimated 20000 matches similar to: "update to posting guide: use 'sessionInfo()' instead of 'version'"
2005 Dec 29
2
'sessionInfo()' instead of 'version'
In a private response to Tony Plate's suggestion to replace version()
output with sessionInfo() in R-help requests,
> roger koenker wrote:
>> Thanks for this, it would seem useful to have version numbers for
>> the packages too?
and Tony replied,
>
> Sounds sensible to me! If I were you I'd send a message to R-devel
> suggesting this. AFAIK, some changes to
2006 Aug 03
4
meta characters in file path
Hi,
I need to read in some files. The file names contain come meta characters such as @, #, and white spaces etc, In read.csv, file= option, is there any way that one can make the function to recognize a file path with those characters?
Thanks
Johnny
[[alternative HTML version deleted]]
2007 Mar 26
4
a very small query
Hi All
what is the command to give me the listing of the loaded packages. I mean
which are active and not the listing of all the installed packages as
given by library()
thanks in advance
-gaurav
============================================================================================
DISCLAIMER AND CONFIDENTIALITY CAUTION:\ \ This message and ...{{dropped}}
2015 Jan 08
4
unloadNamespace
In the documentation the closed thing I see to an explanation of this is
that ?detach says "Unloading some namespaces has undesirable side effects"
Can anyone explain why unloading tseries will load zoo? I don't think
this behavior is specific to tseries, it's just an example. I realize
one would not usually unload something that is not loaded, but I would
expect it to do
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes:
>
> Since the virtue and reliability of Wikis was brought up, I created a R
> Wiki page for this at
>
http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs
>
>
> Anyone: please correct errors and improve it!
>
> Tony Plate
>
OK, now I have another question:
I see a wiki at
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes:
>
> Since the virtue and reliability of Wikis was brought up, I created a R
> Wiki page for this at
>
http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs
>
>
> Anyone: please correct errors and improve it!
>
> Tony Plate
>
OK, now I have another question:
I see a wiki at
2007 Nov 01
1
daylight saving / time zone issues with as.POSIXlt/as.POSIXct (PR#10392)
Running under Windows XP 64 bit, as.POSIXlt()/as.POSIXct() seem
to think that US time zones (EST5EDT, MST7MDT) switched from daylight
savings back to standard time on Oct 28, 2007, whereas the switch
is actually on Sun Nov 04, 2007.
Examples:
> Sys.timezone()
[1] "Mountain Daylight Time"
> as.POSIXct("2007-10-30 12:38:47")
[1] "2007-10-30 12:38:47 Mountain
2004 Jan 14
2
automatic "paste" filter to paste only the commands from a transcript on the clipboard
Just for fun (and actually because I would use it too) I wrote a
version of the "paste" menu command that assumes the clipboard
contains a transcript, and just pastes the commands from it into
the R console window (Windows GUI only).
So, if something like this:
> foo <-
+ 33
> foo * 3
[1] 99
> foo
[1] 33
is on the clipboard, then the "paste commands" menu
2004 Sep 24
1
algorithm reference for sample() - Knuth
Thank you for the reference to Knuth. Indeed in vol. 2 he has a
> -----Original Message-----
> From: Tony Plate [mailto:tplate@blackmesacapital.com]
> Sent: Friday, September 24, 2004 8:05 AM
> To: Vadim Ogranovich
> Subject: Re: [Rd] algorithm reference for sample()
>
> Have you tried looking in Knuth's books on computer
> algorithms? (They are classics for good
2005 Apr 22
2
pointer to comments re Paul Murrell's new book, R, & SAS on Andrew Gelman's blog
There are some interesting comments re Paul Murrell's new book, R, & SAS
on Andrew Gelman's blog:
http://www.stat.columbia.edu/~cook/movabletype/archives/2005/04/a_new_book_on_r.html
-- Tony Plate
2009 Apr 09
1
Error in saveLog(currentLogFileName
Hello, very basic question from a user who is baffled by the workings of computers in general
When logging off R, a dialog box asked if I wanted to save my log, I chose yes. Then I noticed that the following message appeared in the Command Window
Error in saveLog(currentLogFileName) :
unused argument(s) ("C:/Documents and Settings/prewpj/My Documents/Data/Analyses/Healthcare/Hand Care
2009 Apr 22
1
RFC: Ability to suppress 'locale' from sessionInfo
The printing of the locale information from sessionInfo is not very tidy.
Using toLatex(sessionInfo) pretty much guarantees "badness" from breaking
the margin boundary (though my version of TeX no longer reports such
errors). A random example is here:
http://cran.r-project.org/web/packages/Matrix/vignettes/Design-issues.pdf
I find the locale information unnecessary and right now I hack
2003 Oct 23
3
what's going on here with substitute() ?
I was trying to create a function with a value computed at creation time,
using substitute(), but I got results I don't understand:
> this.is.R
Error: Object "this.is.R" not found
> substitute(this.is.R <- function() X,
list(X=!is.null(options("CRAN")[[1]])))
this.is.R <- function() TRUE
> # the above expression as printed is what I want for the
2003 Dec 20
6
draft of posting guide
Here is a first draft of a guide for posters to r-help and
r-devel. Suggestions on how to improve any aspect of it are
most welcome. Suggestions on ways to make it more concise
are especially welcome. Comments on which parts you like
or don't like are welcome. Rather than clutter up R-help with
lots of small corrections etc, please send them to me, and I
will try to incorporate and
2007 Apr 13
1
how to control which version of a package library() installs?
library() seems to remember the location of a package when I give it a
lib.loc, and then use that version thereafter, even if I don't supply
lib.loc again. Is there any way I can load different versions of a
package in one R session? -- I don't seem to able to simply detach the
package and then load a different version from a different library location.
$ R
[...startup info...]
>
2023 Jun 01
1
error in arfima...
>>>>> akshay kulkarni
>>>>> on Wed, 31 May 2023 20:55:33 +0000 writes:
> dear members,
> I am using arfima() from forecast package to model a time
> series. The following is the code:
>> LYGH[[202]]
> [1] 45.40 3.25 6.50 2.15
>> arfima(LYGH[[202]])
> Error in .fdcov(x, fdf$d, h, nar = nar, nma = nma,
2005 Jun 09
1
single assignment affecting multiple sub-structures (PR#7924)
I'm trying to create a language structure that is a call to a function
with a number of arguments that is only known at run time. I do this by
using repeated indices to expand out a call with a single argument.
However, when I change one of the arguments, all are changed.
I don't see the same behavior when I initially create a call with
multiple arguments.
Even more strangely,
2009 Sep 03
1
Suggestion: Allow packages to add additional information to sessionInfo()
Hi,
sessionInfo() has been proven really useful, but you still often have
to ask for additional information in order to help troubleshooting.
For instance, for troubleshooting the aroma.affymetrix, it is very
helpful to know what the current working directory is, for other
packages certain system environment variables might be useful and so
on.
One solution could be to provide support for hook
2012 May 04
1
add sessionInfo() option to "save"
Hi All,
I was wondering if there would be any interest in adding an option to the
"save" function in R that I think would be useful. I was thinking that it
might be useful to have an option that would generate a ".sessionInfo"
variable that contains the output of "sessionInfo()", and adds it to the
list of objects to be saved. This way, whenever an RData object is
2003 Dec 23
0
revision of posting guide
I've placed a revision of the posting guide at http://pws.prserv.net/tap/posting-guide-draft2.html. (Posted there to make the HTML formatting easy to read.) I've tried to incorporate the suggestions people posted and mailed to me. Quite a few were of the form "too long, but you should add this..." :-)
Brian Ripley, Jason Turner, Peter Dalgard, Patrick Burns, Frank Harrell,