Displaying 20 results from an estimated 9000 matches similar to: "Feature request: Limiting output of installed.packages()"
2008 May 07
2
How do I increase the fd limit on OS X?
Hi All,
I just upgraded to the new 1.1rc5 from 1.0 that I had been using and it
advised me to increase the file descriptor limit. I'm not sure how to
do this. There is a command built into tcsh that allows me to do this
called limit, but sudo limit 4224 doesn't work, and usually dovecot is
started from the rc.local file if I recall right, and I'm not sure how
to set this up from
2017 Jun 12
4
Apple Mac slave
On Jun 11, 2017, at 7:15 AM, Robbie van der Walle <rvanderwalle at gmail.com> wrote:
>
> I see only a reboot. Not a shutdown. But is this normal because shutdown -u -h +0 is used?
>
To be honest, I haven't experimented much with this, but I saw a normal shutdown/reboot when I just tried this from the command line (10.12):
reboot ~ Mon Jun 12 08:36
2008 Sep 10
1
Computation of contour values - Speeding up computation
Dear R useRs,
i have the following code to compute values needed for a contour plot
############################################################
"myContour" <- function(a, b, plist, veca, vecb, dim)
{
tmpb <- seq(0.5 * b, 1.5 * b, length=dim)
tmpa <- seq(0.5 * a, 1.5 * a, length=dim)
z <- matrix(0, nrow=dim, ncol=dim)
for(i in 1:dim)
{
for(j in 1:dim)
2012 Apr 24
1
Just installed wine, cannot open any applications. Help!
I am on my Mac, in Snow leopard, 10.6.8. Whenever I try to use wine to open a program or and application this message comes up in terminal:
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
err:process:__wine_kernel_init boot event wait timed out
I have no idea what this means and I cannot find anything
2009 Oct 05
6
Mac OS X plist resource type spec
Nigel Kersten and I had previously worked on a plist provider spec for Mac
OS X. Attached is a PDF of the current state. I would appreciate any input
and criticisms.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To
2007 Nov 28
4
Replacing values job
Hallo,
I have two vectors of different lengths which contain the same set of
values:
X < -c(2,6,1,7,4,3,5)
Y <- c(1,1,6,4,6,1,4,1,2,3,6,6,1,2,4,4,5,4,1,7,6,6,4,4,7,1,2)
How can I replace the values in Y with the index (!) of the corresponding
values in X. So 2 appears in X in the first coordinate, so all 2’s in Y
should be replaced by 1, etc.
Thank you for your help,
Serguei
2012 Jul 10
2
Refresh not working with launchd service provider?
Hi,
Refresh doesn''t seem to be working with the launched service provider on OS X Lion (10.7.4).
I''ve come up with a simple "service" script, plist file and puppet script to apply to demonstrate. The problem.
Here''s the shell script which logs an initial starting message and then just loops logging a "Still running…" message.
2006 Dec 14
3
Delete all dimnames
Hello, how can I get rid of all dimnames so that:
$amat
Var3 Var2 Var1
8 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0
7 1 1 1 0 1 0 0 0 1 0 0 0 0 0 0
6 1 1 0 1 0 1 0 0 0 1 0 0 0 0 0
5 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0
4 1 0 1 1 0 0 1 0 0 0 0 1 0 0 0
3 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0
2 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0
1 1 0 0 0 0 0 0 0 0 0 0 0 0
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi,
Can anyone help me out re how I change the startup options for mysql (v5.0)
running on my Mac? (I just want to add the "--log" option is about it). I
tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however
this started a 2nd instances of mysql & mysqld.
Here is what I see start after Mac startup if this helps:
$ ps aux | grep mysql
_mysql 137 0.0
2013 Jul 20
1
BH correction with p.adjust
Dear List,
I have been trying to use p.adjust() to do BH multiple test correction and have gotten some unexpected results. I thought that the equation for this was:
pBH = p*n/i
where p is the original p value, n is the number of tests and i is the rank of the p value. However when I try and recreate the corrected p from my most significant value it does not match up to the one computed by the
2008 Sep 02
2
two lattice graphs in one object
When I create a lattice/Trellis type graph, I typically write a function that returns the graph, as in
do.graph <- function(x, y, ...)
{
require(lattice)
return(xyplot(y~x, ...))
}
My question today is this:
If I want two graphs on one page, one way of achieving it is to print the objects into defined areas, as in
gr1 <- xyplot(rnorm(111) ~ runif(111))
gr2 <-
2016 Jan 07
3
Troubleshooting on OS X
I've got tinc running happily on a couple linux and win computers, but no
luck on OS X. I'm on Yosemite 10.10.5, and I think I followed the OS X
tutorial exactly, but no luck.
Here's my error message:
> sudo tincd -n dpsf -D -d3
tincd 1.0.21 (Feb 3 2015 20:09:36) starting, debug level 3
Could not open /dev/tun0: No such file or directory
Terminating
And here's the contents
2005 Nov 23
2
vector of permutated products
Given an x-vector with, say, 3 elements, I would like to compute the
following vector of permutated products
(1-x1)*(1-x2)*(1-x3)
(1-x1)*(1-x2)*x3
(1-x1)*x2*(1-x3)
x1*(1-x2)*(1-x3)
(1-x1)*x2*x3
x1*(1-x2)*x3
x1*x2*(1-x3)
x1*x2*x3
Now, I already have the correctly sorted matrix of permutations! So, the
input looks something like:
#input
x<-c(0.3,0.1,0.2)
Nx<-length(x)
Ncomb<-2^Nx
2007 Feb 22
4
Sorting rows of a binary matrix
Hallo,
The command:
x <- 3
mat <- as.matrix(expand.grid(rep(list(0:1), x)))
generates a matrix with 2^x columns containing the binary representations
of the decimals from 0 to (2^x-1), here from 0 to 7. But the rows are not
sorted in this order.
How can sort the rows the ascending order of the decimals they represent,
preferably without a function which converts binaries to decimals
2009 Apr 18
5
Dummy (factor) based on a pair of variables
Dear All!
my data is on pairs of countries, i and j, e.g.:
y,i,j
1,AUT,BEL
2,AUT,GER
3,BEL,GER
I would like to create a dummy (indicator) variable for use in regression
(using factor?), such that it takes the value of 1 if the country is in the
pair (i.e. EITHER an i-country OR an j-country).
Thank you for your help,
Serguei
________________________________________
Austrian Institute of
2005 Dec 04
4
Construct a data.frame in a FOR-loop
Say I have a FOR-loop for computing powers (just a trivial example)
for(i in 1:5)
{
x<-i^2
y<-i^3
}
How can I create a data.frame and a 3D plot of (i,x(i),y(i)), i.e. for
each iteration
Thanks,
Serguei Kaniovski
--
___________________________________________________________________
??sterreichisches Institut f??r Wirtschaftsforschung (WIFO)
Name: Serguei Kaniovski
2009 Jan 24
2
nginx and mongrel, more info
Hello,
Where I can find more info on how to nginx and mongrel boot when the
machine reboots ?
In os x, please. In Linux world I found some scripts but they don''t work
and don''t go in the same place as OS X.
thanks,
r.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2007 Dec 04
3
Inserting a subsequence between values of a vector
Hallo,
suppose I have a vector:
x <- c(1,1,1,2,2,3,3,3,3,3,4)
How can I generate a vector/sequence in which a fixed number of zeroes (say
3) is inserted between the consecutive values, so I get
1,1,1,0,0,0,2,2,0,0,0,3,3,3,3,3,0,0,0,4
thanks a lot,
Serguei
[[alternative HTML version deleted]]
2020 Apr 16
6
suggestion: "." in [lsv]apply()
Hi,
I would like to make a suggestion for a small syntactic modification of
FUN argument in the family of functions [lsv]apply(). The idea is to
allow one-liner expressions without typing "function(item) {...}" to
surround them. The argument to the anonymous function is simply referred
as ".". Let take an example. With this new feature, the following call
2020 Apr 17
2
suggestion: "." in [lsv]apply()
Thanks Simon,
Now, I see better your argument.
Le 16/04/2020 ? 22:48, Simon Urbanek a ?crit?:
> ... I'm not arguing against the principle, I'm arguing about your
> particular proposal as it is inconsistent and not general.
This sounds promising for me. May be in a (new?) future, R core will
come with a correct proposal for this principle?
Meanwhile, to avoid substitute(),