Displaying 20 results from an estimated 40000 matches similar to: "What command lists everything in a package?"
2009 Jul 09
3
'scan' in a script?
When I use the scan function in the Rgui console it works as expected.
However it seems that when I put the same command in a script file it
doesn't wait for input.
Is there an option to scan to make it wait for input when used in a
script? Or is there possibly a different function that will do in a
script the same sort of thing as scan does in the console?
Thanks,
Mark
2009 Jul 24
4
Include files?
Hi,
I have 15 or 20 functions I've written to convert the sort of data
I'm working with. They are currently in their own R file which I load
by hand in Rgui before loading and running my main programs.
Is there any way to have this file included in my R program like
#include might in C?
If not is there a simple newbie-type example of how to create a
package so I could just say
2005 Apr 28
4
wine-20050419 - where to set audio driver type?
Hi,
In a completely clean account that's never run Wine before I run
wine --version. Wine installs a new .wine directory but this Wine
directory has no config file. I looked in the 3 obvious files but none
of them seem to have an option for changing between OSS, Alsa and
JAck. where do I make this setting change now?
Thanks,
Mark
2009 Sep 09
3
lag a data.frame column?
Sometimes it's the simple things...
Why doesn't this lag X$x by 3 and place it in X$x1? (i.e. - Na's in
the first 3 rows and then values showing up...)
The help page does talk about time series. If lag doesn't work on
data.frame columns then what would be the right function to use to lag
by a variable amount?
Thanks,
Mark
X=data.frame(x=seq(1:10))
X$x1=lag(X$x, 3)
X
2009 Jul 02
2
Need to study and learn about better plots
Hi,
So far my plotting needs have been sort of ignored as I got
acquainted with R this week, but now that I have the basics in place
for the program I wanted to write it's time for me to start learning
about how to make output that better suits my needs. I think I have
two sort of charts I need to concentrate on learning how to produce:
1) Probably a trivial request - a single chart that
2009 Jul 11
2
Date conversions
Hi all,
I'm having a little bit of trouble with some date conversions and
am hoping someone can help me out. Thanks in advance.
OK, I have two sources of data that provide date info in a csv file
differently. I've attached a small zipped file with two text files
that illustrate both. (Is it ok to send attachments to this list? Not
sure. It's very small.) I need to be able to
2009 Oct 29
3
"The system cannot find the file specified"
What is the problem here? I did an install package from the Rgui menu.
Windows Vista
<SNIP>
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/mvtnorm_0.9-8.zip'
Content type 'application/zip' length 236089 bytes (230 Kb)
opened URL
downloaded 230 Kb
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/QRMlib_1.4.4.zip'
Content type
2005 Oct 23
1
Re: winebuild problems - wine-20050930 [SOLVED]
Sorry for the noise.
On 10/23/05, Mark Knecht <markknecht@gmail.com> wrote:
> On 10/23/05, Mark Knecht <markknecht@gmail.com> wrote:
> > Hi,
> > Does anyone know what happened to the --debug option in winebuild?
> > It seems to have disappeared in more recent versions of Wine.
> >
> > I am attempting to build a program that uses winebuild with
2009 Jul 22
5
Multi-line comments?
Hi,
I looked in the language definition and was surprised. Is there
really no multi-line/block comment defined in R?
I wanted to comment out 20 lines that I'm moving to a function but
didn't want to delete them. Is there no defined way to get around
using a # on each of the 20 lines?
Thanks,
Mark
2009 Jul 10
2
ReShape/cast question - sum of value in table
Hi,
I've tried to capture the basics of this problem I'm having. Been
working on this for a couple of days and just cannot get past it. As a
test of this list software I've attached is a small text file zipped
up. I hope it gets through but if it doesn't I'll post the actual text
which is only 26 lines. Put it somewhere sensible and change the first
line in the code to point
2008 Jan 02
2
Windows Shell Command under Vista
Dear R2008,
In Windows 2000, I used the following shell extension to allow right-click
rgui start in a directory (assuming rgui.exe is on the path:
-----
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Run R]
[HKEY_CLASSES_ROOT\Directory\shell\Run R\command]
@="Rgui.exe --no-restore --no-save --internet2"
----
I switched to Vista this year. For reasons I don't understand, I have
2009 Jul 02
2
Plot two graphs with different ranges in one
Hi, I'm trying to plot two variables in one graph. One ranges between 0 and
1, while the other ranges between 50 and 500. Can I plot them in one graph
with similar scale?
Thanks
Harry
[[alternative HTML version deleted]]
2009 Jul 26
2
More complicated multi-plot layouts?
Hi,
I made the attached picture by mocking up three separate plots sort
of like how I'd like to make a new plot. Hopefully it will get through
to the list.
Is there a way to do this directly using par somehow? Or one of the
other plotting packages? Basically, multiple larger plot above
multiple groups of smaller plots? The smaller plots are just
par(mrow=c(2,3)) things, and I can
2006 Jul 11
2
detach
We try the following:
search()
as.Date(1)
zoo:::as.Date.numeric
under three circumstances:
1. on a fresh session
2. after issuing library(zoo) noting that as.Date.numeric is provided by zoo
3. after detaching zoo
as.Date(1) fails on #1 but succeeds in #2 and #3. Should it not fail in #3
since zoo was detached? Is this how its supposed to work?
(Note that entering zoo:::as.Date.numeric at
2008 Jan 25
2
TradeStation under Wine - install failure
Hi,
I haven't attempted to use Wine in at least a couple of years so
I'm VERY out of date with how to really set it up and install an
application. However I'm using TradeStation on Windows Vista and not
enjoying Vista at all so I'm motivated to at least see if TS would
work under Wine. My initial attempts didn't go so well so I'm checking
in to see what the real users
2010 Jul 21
3
Problem with invoking R from the command line (Windows Vista)
Dear all
I am running in a problem when trying to run R from Windows command line.
I am runnning Windows Vista, R-2.10.1.
I have a script I would like to run remotely from another program. As it did
not work, I thought I would test the script from the Windows command line
which highlighted a problem.
When I open the command line and type R at the prompt (or any other variant
(R CMD BATCH,
2009 Jul 05
2
OK - I got the data - now what? :-)
OK, I guess I'm getting better at the data part of R. I wrote a
program outside of R this morning to dump a bunch of experimental
data. It's a sort of ragged array - about 700 rows and 400 columns,
but the amount of data in each column varies based on the length of
the experiment. The real data ends with a 0 following some non-zero
value. It might be as short as 5 to 10 columns or as many
2009 Jul 06
2
ReShape chicks example - line plots
Hi,
In the examples from the ReShape package there is a simple example
of using melt followed by cast that produces a smallish amount of
output about the chicks database. Here's the code:
library(reshape)
names(ChickWeight) <- tolower(names(ChickWeight))
chick_m <- melt(ChickWeight, id=2:4, na.rm=TRUE)
DietResults <- cast(chick_m, diet + chick ~ time)
DietResults
My challenge
2008 Dec 16
2
"could not find function" error in "R CMD check"
Hi, All:
What might cause "R CMD check" to report, "could not find
function" for a function that has long been in the 'fda' package?
Both Jim Ramsay in Ottawa, Canada, and I in San Jose, CA, get this
same error. I replicated it with a fresh, anonymous checkout from
R-Forge (svn checkout svn://svn.r-forge.r-project.org/svnroot/fda).
With this, I did
2009 Sep 20
2
Date/Time to date & time
Hi,
Can strptime (or some other function) help me turn the following
column of a data.frame into two new columns, one as date and the other
as time, preserving the AM/PM value?
Thanks,
Mark
> B
ENTRY DATE
1 3/23/2009 6:30:00 AM
2 3/23/2009 6:30:00 AM
3 3/23/2009 6:39:00 AM
4 3/23/2009 6:39:00 AM
5 3/23/2009 6:48:00 AM
6 3/23/2009 6:48:00 AM
7 3/23/2009 7:00:00 AM