Displaying 20 results from an estimated 2000 matches similar to: "possible minor doc clarification?"
2003 Oct 15
3
r-ish ? how can i improve my code?
Hi Folks,
I'm trying to learn R. One of my intentions is to do some Monte-Carlo
type modelling of road "accidents".
Below, to simplify things, I've appended a little program which does a
'monte-carlo' type simulation. However, it is written in a way which
seems a bit un-natural in R. Could someone help me make this a bit more
R-ish please?
Or is there a
2012 Mar 14
2
Moore-Penrose Generalized determinant?
Is there a function in R to calculate the generalized determinant of a
singular matrix? - similar to the ginv() used to compute the generalized
inverse.
I can't seem to find any R related posts at all.
Thanks in advance,
Sean O'Riordain
Trinity College Dublin
--
View this message in context: http://r.789695.n4.nabble.com/Moore-Penrose-Generalized-determinant-tp4471629p4471629.html
Sent
2013 Sep 04
4
Comments requested on "changedFiles" function
In a number of places internal to R, we need to know which files have
changed (e.g. after building a vignette). I've just written a general
purpose function "changedFiles" that I'll probably commit to R-devel.
Comments on the design (or bug reports) would be appreciated.
The source for the function and the Rd page for it are inline below.
----- changedFiles.R:
changedFiles
2008 Dec 01
1
trivial spelling correction
Good evening,
Spotted a very minor spelling mistake in the source for the grep help.
And thanks to R-Core for all their work - it's a tribute to R-Core,
that these sort of "problems" are rare indeed.
Best regards,
Sean O'Riordain
Dublin
sean at sean7:~/R/RSVN/R/trunk/src/library/base/man$ svn diff
Index: grep.Rd
2008 Mar 28
1
cpu usage high with windows change dir / winDialogString (PR#11045)
Good afternoon,
This is possibly a windows only bug, definitely of comparatively low
importance - but for the sake of completeness here we go. I've
searched http://bugs.R-project.org/ etc., but can find no mention.
For RGui.exe, the CPU usage goes to 100% for certain dialog boxes for
the duration that the dialog box is visible, e.g.
* check CPU usage is low
* On the RGui.exe menu chose
2006 May 11
4
data input strategy - lots of csv files
Good morning,
I have currently 63 .csv files most of which have lines which look like
01/06/05,23445
Though some files have two numbers beside each date. There are
missing values, and currently the longest file has 318 rows.
(merge() is losing the head and doing runaway memory allocation - but
thats another question - I'm still trying to pin that issue down and
make a small repeatable
2017 Jun 22
2
Missing dependencies in pkg installs
Duncan Murdoch writes:
> On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote:
> > I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable.
>
> I don't know what is causing this bug. Perhaps a Linux user can
2008 Mar 19
1
running balance down a dataframe referring back to previous row
Good morning, I've searched high and low and I've tried many different ways
of doing this, but I can't seem to get it to work.
I'm looking for a way of vectorising a "running balance"; i.e. the value in
the first row of the dataframe is zero, and following rows add to this
running balance. This is easy to write in a loop, but I can't seem to get
it working in
2017 Jun 23
0
Missing dependencies in pkg installs
I had the same thought in the shower this morning but I was disappointed to find that SElinux was disabled on the system. My next step will be to install a previous version of R on the system. My problem is that I am planning a shiny server installation and at least half of the apps on the current system depend on these libraries that will not install.
--
W. Michael Conklin
EVP Marketing &
2015 Apr 25
2
vs_fruit - can't write to share
Hi,
i'm running Samba 4.2.1 compiled from source on an Ubuntu 10.04.4 LTS Server. ACL/XATTR is active and working. I tried to activate the vfs_fruite module and added the sample code:
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native
to the share. In addition i tried the following share definition:
vfs
2010 Jan 07
2
table() and setting useNA to be there by default?
Good morning,
Is there a way to get table() to default to including NAs - as in...
table(..., useNA='ifany') or table(..., useNA='always') or table(...,
exclude=NULL) ?
I can't see a way under table() or options() or searching the archives
(probably using the wrong keyword?).
> t1 <- c(1,2,3,3,3,2,NA,NA,NA,NA)
> table(t1)
t1
1 2 3
1 2 3
I keep forgetting to
2017 Jun 22
2
Missing dependencies in pkg installs
I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable.
[1] "/tmp/RtmpMM6iC1/R.INSTALLc5ca415e4310/stringi"
Browse[2]> dir(new)
[1] "DESCRIPTION" "INSTALL" "LICENSE"
2005 Jul 05
2
finding out more about an object, e.g. lm
Hi!
I'm trying to use lm(y~x) amongst others in an automated way; I've
gone through the section on indexing in R-lang and I've looked MASS4.
How do I find out more about the structure of the returned object? In
perl I can look at object structure pretty-printed in the debugger -
is there an R equivalent?
I've used coef(lm(y~x))[[1]] and coef(lm(y~x))[[2]] to extract the
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote:
> I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable.
I don't know what is causing this bug. Perhaps a Linux user can
reproduce it and fix it.
Here's what I see:
2012 Jul 17
8
How to override $::operatingsystem fact
Hi,
I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
> setcode do
> ...
> elsif
2013 Apr 10
1
Issue with Control-Z in a text file on Windows - readLines() appears to truncate
Working on Windows I have had to deal with CSV files that,
unfortunately, contain embedded Control-Zs, i.e. ASCII character 26 in
decimal, and the readLines() function in R on Windows (2.15.2 and
3.0.0) appears to truncate at the control-Z. There is no problem at
all on Ubuntu Linux with R 3.0.0.
Am I mistaken or is this genuine?
# Create a small file with embedded Control-Z
h3 <-
1997 Jun 02
1
R-alpha: S doc -> R doc
Attached is the current version of my sd2rd perl script. It has passed
tests by Martin, Fritz and myself, and seems to work reasonably well (it
should get the arguments lists right, distinguish between VALUE and
VALUES, and know about REFERENCES and SEEALSO).
Any comments etc are most welcome.
-k
************************************************************************
#!/usr/bin/perl -w
$\ =
2011 Mar 13
2
Problems getting html files out of R CMD check
Hi,
I'm trying to R CMD check a package, however I have hit a snag. There seems
to be a problem with the creation of the /html files (the only file that's
constructed here is the 00Index.html). I've tested each of the .Rd files
independently with R CMD Rdconv, they all happily create html files without
complaint.
R CMD check <package> gives the no warnings. I'm therefore
2006 May 02
4
Indexing Speed?
Hi all,
Have been looking at lucene and ferret.
Have noticed that ferret takes ~463 seconds to index 200Mb of docs,
whereas lucene takes ~60 seconds.
I''m using the standard "get you started" sort of code provided by both
libraries.
My ruby code is: (abridged)
@index = Index::Index.new(:path => inIndexPath)
def createIndex(inRepositoryPath)
2012 Dec 27
1
Doc patch for Sys.time and system.time
Here?s a patch that adds ?seealso? entries to Sys.time and system.time
docs, to help people who forget what the distinction is between them.
Patch was made against https://svn.r-project.org/R/trunk at 61454 .
-Ken