Displaying 20 results from an estimated 900 matches similar to: "Using objectname in function"
2006 Mar 30
1
Passing values to a Partial
Hi,
I cannot seem to find out how to pass in a value to a partial. Can
anyone help me?
What I am doing(in the code below) is calling a function in my
controller called setobject. This function just redraws the partial. I
want to be able to change the value @objectname, redraw my partial and
have it be able to use that value. The first the page is drawn it works,
but when i call setobject it
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
Context: I'm relatively new to R and am working with very large datasets.
General problem: If working on a dataset requires that I produce more than
two objects of roughly the size of the dataset, R quickly uses up its
available memory and slows to a virtual halt.
My tentative solution: To save and remove objects as they're created, and
load them when I need them. To do this I'm
2008 Dec 12
2
Extracting the name of an object into a character string and vice versa
I am still struggling to map a character string to an object name and
vice versa in R.
I thought the as.name() function might work, but observe the following
behaviour ...
> attach(warpbreaks)
> levels(tension)
[1] "L" "M" "H"
> levels(as.name("tension"))
NULL
> objectname<-as.name("tension")
> objectname
tension
>
2007 Mar 08
3
Problem loading data from database
Hello, I get this error trying to load some data from DB. I''m using
Rails 1.2.2 on Fedora Core 6 and Sybase adapter.
This worked fine when application run under Rails 1.1.6 but now I''m
migrating to 1.2.2 and have some problems.
At browser I got:
SQL Command for table_structure for tplib_bckps failed
Message: schema_info not found. Specify owner.objectname or use
sp_help to
2010 Nov 24
1
diverting output from nested loops
Dear List,
I have a series of nested loops with the structure shown below, and I am
struggling to figure out how to divert output to folders created with
dir.create() within the loops.
What I need is for the output to end up as topNameK/subNameL/objNameM.pdf;
what I get instead is a series of directories topNameK/, directories
subNameL/, and files objNameM.pdf, all in the working directory. Any
2013 Mar 20
3
summarize dataframe based on multiple cols, not their combinations
Hi folks,
I'm trying to figure out how to get summarized data based on multiple
columns. However, instead of giving summaries for every combination of
categorical columns, I want it for each value of each categorical column
regardless of the other columns. I could do this with three different
commands, but i'm wondering if there's a more elegant way that I'm
missing. Thanks!
2009 Nov 05
4
MySQL installation problem
Hi;
It's been a while since I controlled my own server and I'm rusty. Trying to
install mysql
yum install mysql
All looks well. Here's what happens:
[root at 13gems www]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[root at 13gems www]# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to
2010 Aug 12
2
Linear regression on several groups
I have a simple dataset of a numerical dependent Y, a numerical independent X
and a categorial variable Z with three levels. I want to do linear
regression Y~X for each level of Z. How can I do this in a single command
that is without using lm() applied three isolated times?
--
View this message in context: http://r.789695.n4.nabble.com/Linear-regression-on-several-groups-tp2322835p2322835.html
2011 Sep 07
1
Weight in Function RM
Dear all,
I am trying to do weighted regression using lm function in R. However, I have a question why the results from
1) lm(formula = Y~aX, weight = w)
2) lm(formula = wY~waX)
are different. Aren't they supposed to have the exactly same result?
Below are the R code to see difference in regression results
MatY <- c(0.15,0.42,0.31,0.22)
MatX <-
2009 Nov 06
2
Apache Not Serving, But Is Serving?
Hi;
I installed
yum install mod_python
and all went well. So I thought it would be appropriate to reboot apache
apachectl -k restart
and it appeared well but the pages don't load (they hang). Nevertheless,
# ps wax|grep httpd
12179 ? Ss 0:00 /usr/sbin/httpd
17698 ? Z 0:00 [httpd] <defunct>
17703 pts/0 S+ 0:00 grep httpd
So what gives? Please advise.
Victor
2011 Oct 20
1
Don't Know Where Emails Are Or What's Happening
Hi;
I'm new to Dovecot and Postfix.
I'm trying to enable these with MySQL support and postfixadmin. I've
got all those services up and running (finally!); however, I can't
figure out if the emails are being received and/or stored. I'm pretty
sure Postfix is receiving them because I dealt with certain errors
and they're now gone. Here's some data:
Dovecot ver.
0.91
2003 Mar 11
1
objectname completion
Dear R users,
is there any possibility to get an object-name completion within the R
command line (UNIX-version of R). As I got to know from the FAQ that
this is possible from within Emacs (ESS), but without using Emacs?
Thank's
Ingo
--
-----------------------------------------------------------------
Ingo Roeder
Institute for Medical Informatics, Statistics and Epidemiology
2015 Oct 19
5
Can I force yum to only use http.
Our outsourced IT department has decided to use white listing on the firewalls for outbound ftp. I was given a list of sites our lab had accessed via ftp and eventually tracked them down to Linux machines running yum. They are all CentOS 5 or 6 with a smattering of 7. It is impractical to list all the possibilities since they change on a regular basis. Also any 3rd party repos we need are
2014 Jun 12
1
do.call Error for Function Not Present When Manually Called
Hello,
The e1071 function naiveBayes gives an error when called by do.call, although it doesn't give any error if I call it manually.
Browse[1]> trainParams at classifier
function (x, ...)
UseMethod("naiveBayes")
<environment: namespace:e1071>
Browse[1]> trained <- do.call(trainParams at classifier, paramList)
Error in names(dimnames(tables[[i]])) <- c(Yname,
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
Thanks to everyone who responded to my first set of questions. Not only did I
get my questions answered but I improved my code and learned a couple new
things.
I think I prefer the mailing list over IRC... easier to follow :-)
I have some more questions if you don''t mind. Some are Rails related and some
are Ruby related.
1) This is concerning displaying error messages. I am assuming
2012 Oct 15
1
Can't Start Dovecot
Hi;
I just installed dovecot from yum on CentOS5.
ps wax grep "dovecot" only brings up the grep
The command "dovecot" is not recognized.
# ls /usr/local/bin/dove*
doveadm doveconf
No dovecot. What up?
TIA,
John
2015 Feb 09
2
[LLVMdev] [cfe-dev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk
On Mon, Feb 9, 2015 at 8:36 AM, Greg Bedwell <gregbedwell at gmail.com> wrote:
> We've just encountered an issue with ninja and VS2013 when using versions of
> CMake prior to 2.8.12.1. This isn't a combination that we typically use so
> we've not run into it previously in our own builds. It isn't specifically
> tied to upgrading the minimum version as it's a
2005 Feb 21
1
is.matrix(), as.matrix, & as(,"matrix")
Under help(matrix) it is written:
'is.matrix' tests if its argument is a (strict) matrix. It is
generic: you can write methods to handle specific classes of
objects, see InternalMethods.
Further down, under "Details", the meaning of "strict" is explained
more explicitly:
'is.matrix' returns 'TRUE' if 'x' is a matrix
2016 Mar 23
2
Error in Second Samba Domain Controller
So a little background, in my domain we have 2 domain controllers, the main
(A Windows Server 2008 R2), and a secondary that is was recently migrated
from Server 2003 R2 to Samba. Both domain controllers are offsite so we use
OpenVpn to connect them, dns is set to the samba domain controller then the
Windows server, this is due that the samba domain controller is up 24/7
while the Windows is only
2012 Jun 10
1
HELP: ff package
I use the ff-package for large data and have good success in session. To
ensure my data is available for the next R session, I save my workspace and
use the /ffsave/ command to archive my large data objects. Syntax is
simple:
> ffsave(file="~/path/archiveName", list="objectName")
when I have multiple files to save, the list is expanded using c(). When I
start a new R