similar to: Large loops in R

Displaying 20 results from an estimated 600 matches similar to: "Large loops in R"

2013 Jan 02
2
In which column and in which row a number is in a matrix
Dear all, Happy New Year for all of you! I hope we have an year of essential freedom for everyone! I am trying to manipulate a matrix in order to know in which column and in which row a number is allocated. But, when we use the function "which" it returns the position of the number in the "vector representation of the matrix". For example: >
2010 Oct 27
1
"non-numeric argument to binary operator" error while reading ncdf file
Hi everyone, I am a newbie in R and in this discussion list. I am trying to use R package "ncdf" to read values of temperature from a NCDF file. I did it before to another file using the function "get.var.ncdf", but now there is an error that I can not solve, and I would really appreciate if you could help me. I am using R version 2.11.1 (2010-05-31) in a machine with Linux
2015 Feb 02
3
A good way to debug a c++ library embedded to R code
Dear all, I am using R CMD SHLIB to compile a c++ code into a library (.so) and dyn.load to load this library into a R code. I am facing some problems in the c++ code that I can not figure out how to solve. Do you recomend any good way to debug this R + C++ program? If I was programming only in C++ I would use GDB. I would much appreciate any help or suggestion! Best regards, Charles -- Um
2015 Feb 02
1
A good way to debug a c++ library embedded to R code
----- Original Message ----- > From: "Gabriel Becker" <gmbecker at ucdavis.edu> > To: "Charles Novaes de Santana" <charles.santana at gmail.com> > Cc: "r-devel" <r-devel at r-project.org> > Sent: Monday, February 2, 2015 12:02:27 PM > Subject: Re: [Rd] A good way to debug a c++ library embedded to R code > > Charles, > >
2013 Oct 16
2
Plot time series data irregularly hourly-spaced
Dear all, I have a time series of data that I would like to represent in a plot. But I am facing some problems to do it because the time is represented in "hours", it can start in one day and end in another day, and it is not regularly spaced. My problem is that when I plot my data, my X-axis always starts from the lower values of my time data. For example, I would like to plot data
2008 Dec 28
1
Random coefficients model with a covariate: coxme function
Dear R users: I'm new to R and am trying to fit a mixed model Cox regression model with coxme function. I have one two-level factor (treat) and one covariate (covar) and 32 different groups (centers). I'd like to fit a random coefficients model, with treat and covar as fixed factors and a random intercept, random treat effect and random covar slope per center. I haver a couple of
2011 Jun 03
1
R and DBSCAN
Hello everyone, When looking for information about clustering of spatial data in R I was directed towards DBSCAN. I've read some docs about it and theb new questions have arisen. DBSCAN requires some parameters, one of them is "distance". As my data are three dimensional, longitude, latitude and temperature, which "distance" should I use? which dimension is related to
2007 Oct 14
5
Ruby/Informix 0.6.1 released
This is a maintenance release to fix a bug triggered while working with Ruby on Rails and Informix. Web site: http://ruby-informix.rubyforge.org Changelog: 0.6.1 13/10/2007 ------------------ Bugs fixed: * Database#columns was returning an empty array from within the Informix ActiveRecord adapter (ActiveRecord::ConnectionAdapters::InformixAdapter#columns) if
2012 Oct 12
3
Columns and rows
Hi, Could you please advice some easy way to do the following for a dataframe (header=F) having unequal column- & row- length. 1. Combine/stack/join contents from - a) multiple rows into one column. b) multiple columns into one row. 2. Stack contents from multiple columns (or, rows) into one column (or, row). Thank you. Cheers, Santana [[alternative HTML
2013 Apr 16
7
puppet-cleaner: makes puppet DSL code comply with a subset of the style guide
FWIW, I''ve wrote puppet-cleaner to help me make comply thousands of lines of puppet 2.6 DSL code to puppet 2.7 style guide and expectations. I''m uploading it to github today for anyone to use. https://github.com/santana/puppet-cleaner Externally, you run puppet-clean file.pp and it can transform this: /* multiline comment trailing white space here -> */ class
2009 Jul 29
5
etc passwd and groups file
Hi, I need to maintain a same user/group list on multiples systems. Can we just copy the same passwd and groups file on all machines? If we create a new user on one system then I will need to copy this to all other systems. This is quite cumbersome. Any suggestions? - CS.
2009 Oct 13
5
timekeeping on VMware guests
Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. - CS. ------------------- # For EL5 virtual machines, Append the
2009 Mar 09
4
undefined method `symbol_path'
I am getting following error while creating a new topic using RESTful design. But, everything works fine when I use <% form_tag :action => :create do %> . ActionView::TemplateError (undefined method `symbol_path'' for #<ActionView::Base:0xb72a2e40>) on line #3 of topics/new.rhtml: 1: <h1>New Topic</h1> 2: 3: <% form_tag :topic, :url => topics_path do %>
2010 Mar 26
3
non-root access to log files
Hi, I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir? -- CS.
2012 Aug 20
5
Some kind of inverse of "names"
I wonder if there exists some kind of inverse of the "names" primitive in R. Let me explain what do I mean: If I create a list: -> li <- list(a=1, b=2, c=3, d=4) then I can have: -> names(li) [1] "a" "b" "c" "d" which is, I guess, some kind of vector, since -> typeof(names(li)) [1] "character" however, I haven't
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.
2012 Sep 12
4
Trying to use pipes in R
Hi, I'm trying to use pipes in R. By now, I could launch the linux command "wc" (to count words from a text), but I don't know how to capture the results, say in a vector of chars... Here is the R code I'm trying: :> f <- pipe("wc", open="w") :> writeLines(c("uno dos tres", "cuatro cinco", "seis"), f) :> close(f)
2010 Jan 18
3
iptables default configuration
Hi, I would like to get some inputs on how to configure iptables. I have referred to CentOS wiki http://wiki.centos.org/HowTos/Network/IPTables and it has been very helpful. I have configured iptables with the help of this tutorial, but I haven't understood few things about default firewall config. - What does 'RH-Firewall-1-INPUT' chain means? This also seems to be a predefined
2009 Mar 14
9
null object pattern
I am trying to create a null object in my application. I would like to assigned a null user object for anonymous/ mot-logged-in user, i.e. if session variable has nil data. In my User model, I have created a subclass like this: class UnassignedUser < User def save false end def update false end def username "Unassigned" end def county_id
2009 Jul 20
3
kickstart install using url location
Hi, I am working on a kickstart install method and it works fine with cdrom as installation media. I would like change this media to an online resource. I saw option as - 'url --url http://<server>/<dir>'. I am not sure what should be the directory contents? Should we put all ISOs in that directory or what? Any insights? Thanks, CS.